add global copyright and governed agreement

This commit is contained in:
lion 2022-07-14 10:37:55 +08:00
parent 97b837bc81
commit 811ffa1dce
4 changed files with 15 additions and 11 deletions

View File

@ -1,6 +1,6 @@
# # Copyright 2022 The Ip2Region Authors. All rights reserved.
# bench_test.py # Use of this source code is governed by a Apache2.0-style
# bench_test # license that can be found in the LICENSE file.
# #
# Created by luckydog on 2022/7/1. # Created by luckydog on 2022/7/1.
# Copyright © 2022年 luckydog. All rights reserved. # Copyright © 2022年 luckydog. All rights reserved.

View File

@ -1,3 +1,7 @@
# Copyright 2022 The Ip2Region Authors. All rights reserved.
# Use of this source code is governed by a Apache2.0-style
# license that can be found in the LICENSE file.
#
from xdbSearcher import XdbSearcher from xdbSearcher import XdbSearcher
@ -49,4 +53,4 @@ def searchWithContent():
if __name__ == '__main__': if __name__ == '__main__':
searchWithContent() searchWithContent()

View File

@ -1,6 +1,6 @@
# # Copyright 2022 The Ip2Region Authors. All rights reserved.
# search_test.py # Use of this source code is governed by a Apache2.0-style
# search_test # license that can be found in the LICENSE file.
# #
# Created by luckydog on 2022/7/1. # Created by luckydog on 2022/7/1.
# Copyright © 2022年 luckydog. All rights reserved. # Copyright © 2022年 luckydog. All rights reserved.

View File

@ -1,6 +1,6 @@
# # Copyright 2022 The Ip2Region Authors. All rights reserved.
# ip2Region.py # Use of this source code is governed by a Apache2.0-style
# ip2Region # license that can be found in the LICENSE file.
# #
# Created by luckydog on 2022/6/29. # Created by luckydog on 2022/6/29.
# Copyright © 2022年 luckydog. All rights reserved. # Copyright © 2022年 luckydog. All rights reserved.
@ -188,4 +188,4 @@ if __name__ == '__main__':
for ip in ip_array: for ip in ip_array:
region_str = searcher.searchByIPStr(ip) region_str = searcher.searchByIPStr(ip)
print(region_str) print(region_str)
searcher.close() searcher.close()