Commit Graph

121 Commits

Author SHA1 Message Date
lei.lei facd3ee689 The code computes the average of two integers using either division or signed right shift, and then uses the result as the index of an array. If the values being averaged are very large, this can overflow (resulting in the computation of a negative average). 2018-06-20 14:14:28 +08:00
lionsoul 39555fc266 Update the data to version 2018/01/12 2018-01-16 15:08:30 +08:00
lionsoul 68540b4db4 Fix the doc error 2017-11-23 21:25:32 +08:00
lionsoul 217a7dab9e Untrack the binding/java/target/ directory 2017-10-28 15:38:09 +08:00
lionsoul 07ea5994b8 Update the REAMD 2017-10-23 15:31:46 +08:00
lionsoul 02391e2057 Add the maven repository address 2017-10-23 13:50:57 +08:00
lionsoul 5f29715ec2 java binding maven upload & track the latest dbMaker.jar 2017-10-23 13:48:49 +08:00
lionsoul 4d0ce55008 bold the upgrade notice 2017-10-21 13:10:16 +08:00
lionsoul 29bacb0c8a Update the README 2017-10-21 13:08:26 +08:00
lionsoul a49fae2ce8 Update the README 2017-10-21 13:07:29 +08:00
lionsoul 1f0b07d42b Update the notice 2017-10-21 13:06:08 +08:00
lionsoul b0aecd7046 active the upgrade notice 2017-10-21 13:05:14 +08:00
lionsoul b48dbe5248 Bug fixed: Adjust the super header length to 8192 for all client implementation 2017-10-21 12:47:24 +08:00
Wilson Wang 4ffb1334a1 !4 python 3正常运行
Merge pull request !4 from Wilson Wang/master
2017-10-21 12:13:29 +08:00
wfifi 0f39924b08 add python3 support 2017-10-20 18:09:07 +08:00
lionsoul 7f1216eb6f Merge branch 'master' of http://git.oschina.net/lionsoul/ip2region 2017-10-20 12:13:30 +08:00
lionsoul 6eec7a2c42 Update the to data 2017/10/09 version 2017-10-20 12:13:19 +08:00
lionsoul 499bc1887e Merge pull request #19 from chengpiaopiao/master
fix incorrect python test helper.
2017-09-16 09:39:27 +08:00
chengpiaopiao 1ad6274118 fix incorrect python test helper. 2017-09-15 15:40:04 +08:00
dongyado 769ab315b1 correct post path 2017-09-08 14:10:31 +08:00
lionsoul 979e9bdda7 Merge pull request #15 from mohong122/master
Golang binding 增加控制台实例
2017-08-01 12:18:56 +08:00
mohong e4f54054c4 Merge pull request #1 from lionsoul2014/master
合并远程
2017-05-25 14:51:46 +08:00
mohong 20cd77c80c 增加控制台实例 2017-05-25 14:35:19 +08:00
lionsoul af9c8794ff Merge branch 'master' of https://github.com/lionsoul2014/ip2region 2017-04-19 10:49:13 +08:00
lionsoul f93b8d2dfb Fix the demo doc error 2017-04-19 10:48:10 +08:00
lionsoul 546be60b0a Merge pull request #11 from zhuangya/jest
chore: test in jest
2017-04-14 13:11:52 +08:00
Ya Zhuang eae269f37d
chore: test in jest 2017-04-14 12:47:55 +08:00
lionsoul 90682e06eb track the latest binary db data 2017-04-10 11:04:02 +08:00
lionsoul 7d4a36d9bc Update the 1.2.4 version desc 2017-04-07 19:04:12 +08:00
lionsoul fe4057d8aa Add the changes for version 1.2.4 2017-04-07 18:53:55 +08:00
lionsoul bd3ffadabf Update the source and the binary ip data to version 2017/03/15 2017-04-07 18:53:29 +08:00
lionsoul b7376d5868 Add the author info for binding/c_mmap module 2017-01-12 18:21:36 +08:00
lionsoul 387f5a2097 Merge branch 'master' of http://git.oschina.net/lionsoul/ip2region 2017-01-12 18:14:16 +08:00
lionsoul 9de920ef2b stdlize the code style and add the author info 2017-01-12 18:14:09 +08:00
我的上铺叫路遥 639c852534 Merge pull request !3 from 我的上铺叫路遥/master 2017-01-12 18:13:16 +08:00
Leo Ma 3c8cfa1282 Fix memory leak
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
2017-01-12 18:04:07 +08:00
我的上铺叫路遥 a67936d835 Merge pull request !2 from 我的上铺叫路遥/master 2017-01-12 17:51:43 +08:00
Leo Ma 9bdf030fe0 Add database file memory map as c_mmap binding
File I/O optimization.

- No more `fread` call when the file is mapped.

- Close database file as soon as possible after `mmap`

Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
2017-01-12 17:33:58 +08:00
lionsoul 7a2b9943b5 stdlize the license add free statement 2016-12-28 09:53:13 +08:00
lionsoul c0955fedff update the merge&binary db file to version/2016/12/14 2016-12-21 16:53:14 +08:00
lionsoul 21bb060839 fix 10+ rows failed ip range records 2016-11-07 14:07:03 +08:00
lionsoul b0f7bff2de text and binary data version 2016/11/02 2016-11-05 21:13:36 +08:00
lionsoul 643e6a2463 update the db make doc and jar file 2016-11-03 17:32:16 +08:00
lionsoul ec395be524 add db make doc & update the CHANGES 2016-11-03 16:40:28 +08:00
lionsoul 7dcec80080 track the db make jar tools 2016-11-03 15:53:20 +08:00
lionsoul bedaca5b70 Merge pull request #4 from mohong122/master
golang实现
2016-10-20 17:08:17 +08:00
mohong 0755357474 添加readme.md说明文件 2016-10-20 15:19:07 +08:00
mohong 97e0bb8374 golang实现 2016-10-20 14:45:38 +08:00
lionsoul 16ae2ab022 Merge branch 'master' of http://git.oschina.net/lionsoul/ip2region 2016-08-01 15:07:57 +08:00
lionsoul f9ceedff27 update ip data to latest 2016/07/21 version 2016-08-01 15:07:46 +08:00