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 @@
#
# bench_test.py
# bench_test
# 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.
#
# Created by luckydog on 2022/7/1.
# 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
@ -49,4 +53,4 @@ def searchWithContent():
if __name__ == '__main__':
searchWithContent()

View File

@ -1,6 +1,6 @@
#
# search_test.py
# search_test
# 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.
#
# Created by luckydog on 2022/7/1.
# Copyright © 2022年 luckydog. All rights reserved.

View File

@ -1,6 +1,6 @@
#
# ip2Region.py
# ip2Region
# 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.
#
# Created by luckydog on 2022/6/29.
# Copyright © 2022年 luckydog. All rights reserved.
@ -188,4 +188,4 @@ if __name__ == '__main__':
for ip in ip_array:
region_str = searcher.searchByIPStr(ip)
print(region_str)
searcher.close()
searcher.close()