28 Commits

Author SHA1 Message Date
lion
2a77acf1c0 return empty string for empty match 2025-10-21 12:57:14 +08:00
lion
931fb9e67b use the local stack region_buffer instead of heap allocation 2025-09-23 18:15:46 +08:00
lion
48c2b395bc c binding is ready for IPv6 2025-09-19 13:08:47 +08:00
lion
dff3084b93 C binding is ready for IPv6 2025-09-18 23:09:19 +08:00
lion
8fbdf82797 IPv6 search and docs is ready 2025-09-18 15:53:48 +08:00
lion
73c8b20d3a apply the bytes ip to the whole search process 2025-09-17 23:10:42 +08:00
lion
69b9f062e4 directly compare the ip from the buffer 2025-09-17 14:45:03 +08:00
lion
1575e581cd try to apply the bytes_ip_t for the search 2025-09-17 14:43:28 +08:00
lion
c64837db67 ip util function update for IPv6 2025-09-16 15:29:55 +08:00
lion
eb80b89c0e ipv6 supporting for clang 2025-09-16 14:46:34 +08:00
Lion
3066d243cd Compatible with windows system 2023-10-13 11:07:45 +08:00
lion
a5b42e32fe convert length type to compitatible with the old std 2023-04-03 09:50:23 +08:00
lion
3641d130d0 use rb mode reported at https://github.com/lionsoul2014/ip2region/issues/255 2022-08-13 11:51:30 +08:00
lion
67eb391a5a remove the unused ptr reported at https://github.com/lionsoul2014/ip2region/issues/254 2022-08-13 11:49:18 +08:00
Lion
69a085f8cf auto close the handle for all buffer load functions 2022-07-20 16:04:00 +08:00
Lion
b949574af5 void * for all the close functions 2022-07-01 15:42:39 +08:00
Lion
91f9efa107 wrap the header/vector/content buffer 2022-07-01 11:57:45 +08:00
Lion
b8710c17d8 safely duplicate close 2022-06-30 18:34:14 +08:00
Lion
7325306a56 make all the db_path and vIndex/cBuffer args const 2022-06-30 11:55:41 +08:00
Lion
bcf12a41db xdb clang binding is ready with search/bench test passed 2022-06-29 15:03:32 +08:00
Lion
015a15f2e0 safe the type convertion 2022-06-29 09:47:09 +08:00
lion
cb03009ac4 fix the bug of content based read offset 2022-06-28 18:37:02 +08:00
lion
34c410998f xdb searcher and search test program are ready 2022-06-28 18:30:34 +08:00
lion
f642c54848 c style db path 2022-06-28 17:07:24 +08:00
lion
f047a3d360 buffer load functions are ready 2022-06-28 16:28:16 +08:00
lion
2772ccb0ab search logical impl 2022-06-28 12:15:09 +08:00
lion
1810fe74d6 impl the search by string 2022-06-27 18:37:31 +08:00
lion
bd065347b3 add the clang xdb searcher binding 2022-06-27 18:32:40 +08:00