Yunbin Liu
337d9c5d48
update benchmark of c
2024-03-14 09:35:49 +00:00
Lion
27b5efde55
regen the xdb and remove the -g for c binding default compile flag
2024-02-28 10:35:24 +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
Wu Jian Ping
a406f0e636
1. c binding 支持MAC构建 2. c binding 支持构建静态库(nginx模块需要用到)
2023-03-31 18:14:24 +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
e09c9b57b9
update the docs for vectorIndex/content buffer type and resource close
2022-07-02 18:07:17 +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
c5b45e0502
add api usage demo docs
2022-06-29 17:35:19 +08:00
Lion
7f9a9fd3a7
add search/bench test ReadMe docs
2022-06-29 15:28:14 +08:00
Lion
257c391912
add Makefile
2022-06-29 15:16:16 +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
417636d93c
newline the error info print
2022-06-28 18:37:16 +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
e17add2d47
xdb search and bench test program
2022-06-28 17:48:19 +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
lion
d746d5d4b2
init the v2.0 framework with v1.0 source kept
2022-06-16 16:27:56 +08:00
lion
1e2544cc57
archive the v1.0 - old db structure
2022-06-16 16:25:31 +08:00
liyang
ea5bfb52e0
fix bug about stack corrupt for example ip address is spceial "172.16.107.7, Proxy:False, 210.3.213.69"
2020-10-06 21:55:21 +08:00
lionsoul
d796a76400
Optimize the ip2long function with trim logic applied
2018-10-07 10:23:17 +08:00
lionsoul
08eea15172
lua ip2region c module forward with release version published
2018-10-06 11:05:01 +08:00
lionsoul
01ab0a0373
lua_c module forward with basic framework finished(tested)
2018-10-05 21:39:35 +08:00
helloKaiDing
174e4a46db
Makefile for binding/c
...
This is an Makefile for the binding/c program, can use to generate the db file ip2config.db and the test program testSearcher, can be very convient for the new starter.
2018-04-08 17:23:03 +08:00
lionsoul
5f3bddec08
Bug fixed: Adjust the super header length to 8192 for all client implementation
2017-10-21 12:47:24 +08:00
lionsoul
861b8b4622
add #ip2region_memory_search interface for memory search
2016-06-30 19:32:31 +08:00
lionsoul
6bf163230b
stdlize the code style
2016-04-07 14:33:58 +08:00
狮子的魂
83d7586c84
conflicts fixed
2015-12-08 21:48:39 +08:00
狮子的魂
9b0b7e8ebd
conflicts fixed
2015-12-08 21:41:34 +08:00
狮子的魂
f0c91e70b9
conflicts fixed
2015-12-08 21:40:44 +08:00
chenxin
7e51a4909f
Merge branch 'master' of https://git.oschina.net/lionsoul/ip2region
2015-12-07 11:27:52 +08:00
chenxin
41617aac4d
code tab to 4 space
2015-12-07 11:27:14 +08:00
dongyado
36dad93e4e
remove duplicate uint_t define
2015-11-13 10:52:27 +08:00
Koma
56b864220b
changed README.md file
2015-11-09 23:48:51 +08:00
狮子的魂
f56f6175de
fix the may comming bug
2015-11-08 20:41:00 +08:00
chenxin
56c83f3895
optimized the header block size & fix the may comming leak for c binding
2015-11-05 12:48:24 +08:00
狮子的魂
a7021dc12a
yat, hello ip2region
2015-11-02 01:12:43 +08:00