280 Commits

Author SHA1 Message Date
Lion
680624db65 auto close the handle after buffer loaded 2022-07-20 16:15:42 +08:00
Lion
c15be8c7b5 auto close the handle after loaded the buffer 2022-07-20 16:06:37 +08:00
Lion
69a085f8cf auto close the handle for all buffer load functions 2022-07-20 16:04:00 +08:00
Lion
91d0c39f11 add another php composer addr 2022-07-20 14:18:29 +08:00
狮子的魂
4c464fac2e add c# xdb searcher
Merge pull request !12 from Soar360/master
2022-07-19 07:28:40 +00:00
Soar360
a5b759c756 完善文档 2022-07-18 10:24:10 +08:00
Soar360
a66ed6aa1f IP2Region.sln 2022-07-18 10:02:45 +08:00
Soar360
7a6a6fc515 BenchTest 2022-07-18 10:01:17 +08:00
Soar360
b44a71592d SearchTest 2022-07-18 09:47:22 +08:00
lion
811ffa1dce add global copyright and governed agreement 2022-07-14 10:37:55 +08:00
Lion
88462e9983 stdlize the result print 2022-07-12 10:40:17 +08:00
厉害的花花
b8b3cde805 1.增加bench_test
2.增加search_test
3.修改ip2Region.py及类名,改为xdbSearcher

Signed-off-by: 厉害的花花 <117415792@qq.com>
2022-07-12 09:46:44 +08:00
厉害的花花
938b0e063f Merge branch 'lionsoul2014:master' into python_dev 2022-07-08 16:10:57 +08:00
Lion
78f4794926 add third composer repo for php 2022-07-08 11:15:40 +08:00
Lion
7d66d96525 optimize the checkIP and Long2IP impl 2022-07-07 10:26:27 +08:00
Soar360
0bd2c15c56 C# 版 2022-07-06 18:00:09 +08:00
Lion
791e81efe4 update the version number to 2.6.4 2022-07-06 16:55:49 +08:00
Lion
cbf79d4682 rename searchByStr to search and default the region encode to utf-8 2022-07-06 16:55:35 +08:00
Lion
0b8146fa5f return err for buffer functions 2022-07-06 13:14:39 +08:00
Lion
f87bee3f20 Merge branch 'master' of github.com:lionsoul2014/ip2region 2022-07-06 12:08:17 +08:00
Lion
08e11220a5 add lua xdb searcher 2022-07-06 12:01:16 +08:00
Lion
e980386c1f util test passed 2022-07-06 11:07:59 +08:00
Lion
1aed3ecc46 Merge branch 'master' into lua_binding 2022-07-06 10:05:40 +08:00
Lion
818777d48a search api is ready 2022-07-05 17:25:23 +08:00
alistar
fb29feebe0 fix:垮线程 --> 跨线程 2022-07-05 14:58:03 +08:00
Lion
5b52484cf8 xdb lua searcher framework 2022-07-05 14:06:01 +08:00
Lion
e58757ada5 require the local xdb_searcher.so and fix the bug for err check and print 2022-07-05 13:47:47 +08:00
Lion
100493ec11 update the version number to 2.6.3 2022-07-02 18:25:13 +08:00
Lion
14fc2c5de3 keep the original byte for self-define header 2022-07-02 18:15:54 +08:00
Lion
e09c9b57b9 update the docs for vectorIndex/content buffer type and resource close 2022-07-02 18:07:17 +08:00
Lion
fcc503c8d7 Add docs for compile/install/api and tests 2022-07-02 17:59:10 +08:00
Lion
c1616fbca3 err checking the searcher create 2022-07-02 17:58:15 +08:00
Lion
59e5545d70 return the undefined the option 2022-07-02 17:35:01 +08:00
Lion
f97e72c23e bench test script ready and bench test passed 2022-07-02 17:10:02 +08:00
Lion
089948ae02 search test is ready 2022-07-02 13:40:16 +08:00
Lion
4fa7aad302 optimize the api error return 2022-07-02 13:39:27 +08:00
Lion
90d80ed622 add type method and make the close duplicate call support 2022-07-02 11:50:44 +08:00
Lion
a5eb2faf5b basic tests passed 2022-07-01 15:54:18 +08:00
Lion
b949574af5 void * for all the close functions 2022-07-01 15:42:39 +08:00
厉害的花花
d827dbd472 Merge branch 'lionsoul2014:master' into python_dev 2022-07-01 13:36:02 +08:00
Lion
91f9efa107 wrap the header/vector/content buffer 2022-07-01 11:57:45 +08:00
Lion
8aa2ef71b3 Merge branch 'master' into lua_binding 2022-06-30 22:13:40 +08:00
Lion
fa42e387a3 fix the doc errors reported by https://github.com/lionsoul2014/ip2region/pull/232 2022-06-30 22:10:24 +08:00
Lion
dbb8e2b407 stdlize the print of Header stringify 2022-06-30 22:08:16 +08:00
Lion
d819ff2047 optimize the args checking 2022-06-30 18:35:59 +08:00
Lion
b8710c17d8 safely duplicate close 2022-06-30 18:34:14 +08:00
Lion
8ee41f4e1d impl lua c xdb searcher 2022-06-30 18:26:57 +08:00
厉害的花花
894fdc3924 增加 python 查询实现
Signed-off-by: 厉害的花花 <117415792@qq.com>
2022-06-30 14:33:48 +08:00
Lion
7325306a56 make all the db_path and vIndex/cBuffer args const 2022-06-30 11:55:41 +08:00
Lion
fea3503f7b update the maven version to 2.6.2 and docs 2022-06-29 18:46:44 +08:00