Commit Graph

363 Commits

Author SHA1 Message Date
lisb 10ee80ba1f
java:移除无用导包
Signed-off-by: lisb <shangshili@hotmail.com>
2022-10-16 11:36:56 +00:00
cenguoping 2981da4d9c fs.close不写回调函数时,在14.x及以上版本中报错 2022-10-13 14:04:04 +08:00
Alan 234c111fcd feat(csharp): 2.0 xdb csharp client implementation 2022-09-06 18:21:23 +08:00
Alan aec0b2fa00 feat(csharp): csharp 2.0 xdb client implementation 2022-09-06 18:18:43 +08:00
Lion ef664b9f14 fix the doc erors 2022-08-27 13:37:39 +08:00
lion 528d4bb577 use rb mode reported at https://github.com/lionsoul2014/ip2region/issues/255 2022-08-13 11:51:30 +08:00
lion 6a6358af48 remove the unused ptr reported at https://github.com/lionsoul2014/ip2region/issues/254 2022-08-13 11:49:18 +08:00
Lion c44038fb26
Merge pull request #245 from wujjpp/v2.0-for-nodejs
xdb searcher for nodejs
2022-07-25 13:23:52 +08:00
Wu Jian Ping 1d7fcb475d 移除主代码中的关于逻辑说明注释 2022-07-25 12:37:18 +08:00
Wu Jian Ping dd837171e4 修改ReadMe.md的一处错误 2022-07-25 12:33:53 +08:00
Wu Jian Ping 3c7a845592 移除package-lock.json 2022-07-25 12:32:30 +08:00
weideguo 268f659d78 fix error for xdbSearcher.py 2022-07-25 11:33:21 +08:00
Wu Jian Ping 4e1d6e04ed . 2022-07-22 16:29:18 +08:00
Wu Jian Ping 1ec6495e16 . 2022-07-22 15:45:45 +08:00
Wu Jian Ping eb75601289 更新readme 2022-07-22 15:10:44 +08:00
Wu Jian Ping 399a8a56e5 优化bench程序 2022-07-22 14:57:38 +08:00
Wu Jian Ping 481b006741 优化bench程序 2022-07-22 14:28:14 +08:00
Wu Jian Ping deb995feb0 bench程序增加对sip、eip合法性检测 2022-07-22 14:05:04 +08:00
Wu Jian Ping 573c259c76 bench程序: 增加单个IP段,检查5个IP,与其它语言保持一致 2022-07-22 13:57:31 +08:00
Wu Jian Ping c6358117b4 bench程序: 增加单个IP段,检查5个IP,与其它语言保持一致 2022-07-22 13:56:56 +08:00
Wu Jian Ping f06e4b2544 更新bench app,增加比对结果 2022-07-22 13:44:23 +08:00
Wu Jian Ping 6165c92baa update readme 2022-07-22 13:26:19 +08:00
Wu Jian Ping df951bf319 增加bench测试程序 2022-07-22 13:24:10 +08:00
Wu Jian Ping 58a5898122 增加bench测试程序 2022-07-22 13:22:18 +08:00
Wu Jian Ping 2e9a8279c3 add test app 2022-07-22 11:03:10 +08:00
Wu Jian Ping 092708a0da update readme 2022-07-21 22:35:46 +08:00
Wu Jian Ping 056fac27c1 查询返回对象增加took(us)和ioCount 2022-07-21 22:31:44 +08:00
Wu Jian Ping f890285bb6 . 2022-07-21 18:12:36 +08:00
Wu Jian Ping 00c9d2dbcb . 2022-07-21 18:09:08 +08:00
Wu Jian Ping 90cb936a18 集成单元测试&覆盖率报告 2022-07-21 17:33:47 +08:00
Wu Jian Ping d9980db152 nodejs实现 2022-07-21 16:27:04 +08:00
Lion 0856b034bc auto close the handle after buffer loaded 2022-07-20 16:38:43 +08:00
Lion 8f236b5a8a auto close the handle after buffer loaded 2022-07-20 16:24:21 +08:00
Lion b5ffdc37ba auto close the handle after buffer loaded 2022-07-20 16:15:42 +08:00
Lion 408cb21f3b auto close the handle after loaded the buffer 2022-07-20 16:06:37 +08:00
Lion 4ba77bca34 auto close the handle for all buffer load functions 2022-07-20 16:04:00 +08:00
Lion fee2ad52b8 add another php composer addr 2022-07-20 14:18:29 +08:00
狮子的魂 4077b18bb9
add c# xdb searcher
Merge pull request !12 from Soar360/master
2022-07-19 07:28:40 +00:00
Soar360 6806d4ab3a 完善文档 2022-07-18 10:24:10 +08:00
Soar360 330bbf6ba6 IP2Region.sln 2022-07-18 10:02:45 +08:00
Soar360 e95c611d7e BenchTest 2022-07-18 10:01:17 +08:00
Soar360 2c7febdd86 SearchTest 2022-07-18 09:47:22 +08:00
lion 3b22a015a3 add global copyright and governed agreement 2022-07-14 10:37:55 +08:00
Lion 5e8858deb6 stdlize the result print 2022-07-12 10:40:17 +08:00
厉害的花花 8106a339da 1.增加bench_test
2.增加search_test
3.修改ip2Region.py及类名,改为xdbSearcher

Signed-off-by: 厉害的花花 <117415792@qq.com>
2022-07-12 09:46:44 +08:00
厉害的花花 3eadc47a19
Merge branch 'lionsoul2014:master' into python_dev 2022-07-08 16:10:57 +08:00
Lion c1e98d5336 add third composer repo for php 2022-07-08 11:15:40 +08:00
Lion 420cf756c5 optimize the checkIP and Long2IP impl 2022-07-07 10:26:27 +08:00
Soar360 54399231d6 C# 版 2022-07-06 18:00:09 +08:00
Lion 9e32937ca1 update the version number to 2.6.4 2022-07-06 16:55:49 +08:00
Lion 6e570b9262 rename searchByStr to search and default the region encode to utf-8 2022-07-06 16:55:35 +08:00
Lion 2557271629 return err for buffer functions 2022-07-06 13:14:39 +08:00
Lion 7c588b9ccb Merge branch 'master' of github.com:lionsoul2014/ip2region 2022-07-06 12:08:17 +08:00
Lion 4934080ed0 add lua xdb searcher 2022-07-06 12:01:16 +08:00
Lion f25ef646f5 util test passed 2022-07-06 11:07:59 +08:00
Lion 013021c3b0 Merge branch 'master' into lua_binding 2022-07-06 10:05:40 +08:00
Lion 84ec081182 search api is ready 2022-07-05 17:25:23 +08:00
alistar 34ddd2ea33 fix:垮线程 --> 跨线程 2022-07-05 14:58:03 +08:00
Lion 6dd15fa3b0 xdb lua searcher framework 2022-07-05 14:06:01 +08:00
Lion 785016bc60 require the local xdb_searcher.so and fix the bug for err check and print 2022-07-05 13:47:47 +08:00
Lion 1b3c3de47c update the version number to 2.6.3 2022-07-02 18:25:13 +08:00
Lion 95d01a7b6b keep the original byte for self-define header 2022-07-02 18:15:54 +08:00
Lion c41e7a45ca update the docs for vectorIndex/content buffer type and resource close 2022-07-02 18:07:17 +08:00
Lion f1a097ca47 Add docs for compile/install/api and tests 2022-07-02 17:59:10 +08:00
Lion 9e8f672b9a err checking the searcher create 2022-07-02 17:58:15 +08:00
Lion 83707692e1 return the undefined the option 2022-07-02 17:35:01 +08:00
Lion 85d955b52a bench test script ready and bench test passed 2022-07-02 17:10:02 +08:00
Lion ed955a447f search test is ready 2022-07-02 13:40:16 +08:00
Lion 0b8ba8de79 optimize the api error return 2022-07-02 13:39:27 +08:00
Lion 5a6053591c add type method and make the close duplicate call support 2022-07-02 11:50:44 +08:00
Lion 9c8dd50ff6 basic tests passed 2022-07-01 15:54:18 +08:00
Lion 7af176a564 void * for all the close functions 2022-07-01 15:42:39 +08:00
厉害的花花 d8a960ef83
Merge branch 'lionsoul2014:master' into python_dev 2022-07-01 13:36:02 +08:00
Lion 288859f7ae wrap the header/vector/content buffer 2022-07-01 11:57:45 +08:00
Lion 420bc3fb2d Merge branch 'master' into lua_binding 2022-06-30 22:13:40 +08:00
Lion 4f098d7404 fix the doc errors reported by https://github.com/lionsoul2014/ip2region/pull/232 2022-06-30 22:10:24 +08:00
Lion 9f8f3ac7f6 stdlize the print of Header stringify 2022-06-30 22:08:16 +08:00
Lion 8214fcfb21 optimize the args checking 2022-06-30 18:35:59 +08:00
Lion 19ac923136 safely duplicate close 2022-06-30 18:34:14 +08:00
Lion ca4bffbc84 impl lua c xdb searcher 2022-06-30 18:26:57 +08:00
厉害的花花 78b999b338 增加 python 查询实现
Signed-off-by: 厉害的花花 <117415792@qq.com>
2022-06-30 14:33:48 +08:00
Lion c7d4ad01f6 make all the db_path and vIndex/cBuffer args const 2022-06-30 11:55:41 +08:00
Lion d541719293 update the maven version to 2.6.2 and docs 2022-06-29 18:46:44 +08:00
Lion e7ed1d4935 optimize the var define 2022-06-29 18:44:50 +08:00
Lion 816a99104c update the docs 2022-06-29 17:52:43 +08:00
Lion 0e95ceb25f some optimizations 2022-06-29 17:50:25 +08:00
Lion f95d59c47b some optimizations 2022-06-29 17:49:59 +08:00
Lion 1ed8e89d32 add api usage demo docs 2022-06-29 17:35:19 +08:00
Lion 05a9bdb332 add search/bench test ReadMe docs 2022-06-29 15:28:14 +08:00
Lion df9fd81bee add Makefile 2022-06-29 15:16:16 +08:00
Lion e7b29384f7 xdb clang binding is ready with search/bench test passed 2022-06-29 15:03:32 +08:00
Lion 16aba8c9cb safe the type convertion 2022-06-29 09:47:09 +08:00
lion 246165b39e newline the error info print 2022-06-28 18:37:16 +08:00
lion be811e787e fix the bug of content based read offset 2022-06-28 18:37:02 +08:00
lion fd00e567af xdb searcher and search test program are ready 2022-06-28 18:30:34 +08:00
lion ac102ca6eb xdb search and bench test program 2022-06-28 17:48:19 +08:00
lion 74a82e9b53 c style db path 2022-06-28 17:07:24 +08:00
lion 654959686f buffer load functions are ready 2022-06-28 16:28:16 +08:00
lion 4b27b03cfa search logical impl 2022-06-28 12:15:09 +08:00
lion 080942fc68 impl the search by string 2022-06-27 18:37:31 +08:00