Commit Graph

270 Commits

Author SHA1 Message Date
jroam
c6dfb4d4f8 add some test 2019-06-12 16:52:02 +08:00
hailaz
165330ec68 gchan unit test 2019-06-12 11:21:10 +08:00
John
6e7d08fbfb fix issue in garray.Search 2019-06-12 10:11:54 +08:00
jroam
1ae77f56e5 添加garray测试代码 2019-06-11 23:32:08 +08:00
John
e6d4459992 comment update for gcache 2019-06-11 20:57:43 +08:00
jroam
24bd83feb0 添加一些garray测试代码。 2019-06-11 18:11:17 +08:00
hailaz
3855786905 gtype unit test 2019-06-11 17:49:29 +08:00
jroam
485fe572ff 完成gset模块测试覆盖率90%以上。 2019-06-11 10:51:00 +08:00
jroam
442c658be0 增加gset的测试支持
覆盖率达到85.1%
2019-06-10 23:38:19 +08:00
zdl
d5d14b7efc test gset TestSet_New 2019-06-10 15:49:43 +08:00
John
e400a94ffb improving grpool 2019-06-09 10:33:16 +08:00
John
2bf2f1b822 improve grpool 2019-06-01 15:11:32 +08:00
John
7034e2015e add FormatTo/LayoutTo functions for gtime; use custom ExpireFunc to close poool items when pool is close for gpool 2019-05-29 11:25:11 +08:00
John
41f33af51b add gconv.StructDeep/MapDeep functions for gconv; add struct inherit converting support for gdb 2019-05-28 21:41:00 +08:00
John
aefbfd52e9 add more example for gtree 2019-05-13 22:37:05 +08:00
John
f3f0689bd4 rename LinkMap to ListMap for gmap 2019-05-13 22:26:39 +08:00
John
5198d4c5fc add unit test cases for gtree.AVLTree/BTree 2019-05-12 22:56:13 +08:00
John
123f2d3e4e remove return value from RLockFunc/LockFunc for gset 2019-05-12 21:26:01 +08:00
John
3c750c3c92 copy treemap logics to new file 2019-05-12 21:22:07 +08:00
John
17b29cd19f improve performance for Map/Keys/Values functions for gmap; add unit test cases for gtree.RedBlackTree 2019-05-12 21:11:26 +08:00
John
cf1077bec4 add LinkMap for gmap package 2019-05-12 20:43:52 +08:00
John
4e2e4e95e0 add gmap.HashMap/TreeMap/AnyAnyMap for gmap; add unit test cases for TreeMap 2019-05-11 20:47:25 +08:00
John
664b0c06a6 gjson updates 2019-05-11 17:56:14 +08:00
John
bd4c75a98e add AVLTree container for gtee 2019-05-10 22:29:06 +08:00
John
d35840409b add BTree container for gtree package 2019-05-10 21:31:35 +08:00
John
abaef9ba87 add gtree.RedBlackTree container 2019-05-10 13:38:06 +08:00
John
b15d8bdd2e adding gtree.RedBlackTree 2019-05-09 22:53:42 +08:00
John
718997327a add default value for gcfg.Get* functions; rename gconv.TimeDuration to gconv.Duration, and do corresponding changes to caller packages 2019-05-09 17:14:24 +08:00
John
7cc0c7a1cc rename map type of gmap; rename BatchSet/BatchRemove to Sets/Removes for gmap/gcache 2019-05-08 17:21:18 +08:00
John
4c647aaa19 refacting gmap 2019-05-07 22:28:34 +08:00
John Guo
c109cee7ef
Merge pull request #115 from touzijiao/master
Merge pull request #115 from touzijiao/master
2019-04-26 13:44:51 +08:00
Ziwen Chen
e111d39c54 测试文件 2019-04-26 10:38:27 +08:00
John
66306464e1 add Pop/Pops functions for gset 2019-04-26 08:57:48 +08:00
John
34cb222b33 remove temprary function map parameter for gview when parsing template file and content 2019-04-25 22:14:20 +08:00
John
d39ef156de garray updates 2019-04-24 22:23:32 +08:00
John
f464dc7fb8 add NewFrom/NewIntSetFrom/NewStringSetFrom functions for gset; add more example for gset 2019-04-24 18:52:24 +08:00
John
d29b27a5df add Merge/Sum functions for gset 2019-04-24 18:15:50 +08:00
John Guo
c1aa5eb717
Merge pull request #98 from qq976739120/gmap-test
新增测试方法
2019-04-23 18:56:58 +08:00
Jay
16a4a5ba46 Gmap测试修改 2019-04-16 14:28:25 +08:00
John
2f7d4cd80d fix issue in Add function for gtype.Float32/Float64 2019-04-15 22:55:12 +08:00
Jay
b489eed4ef 新增测试方法 2019-04-12 10:59:05 +08:00
John Guo
e464d14842
Merge pull request #85 from qq976739120/gmap-test
Gmap 测试添加
2019-04-11 21:59:00 +08:00
Jay
905f46359a Gmap string-string 类型测试提交 2019-04-11 17:50:26 +08:00
Jay
8e7bf1f908 bug 修复 2019-04-11 17:46:19 +08:00
Jay
3a1524ae6d Gmap 初测完成 2019-04-11 17:33:52 +08:00
aloncn
ad50ca6e60 update unit test for gring 2019-04-10 14:26:21 +08:00
aloncn
8285c31bf1 Update unit test for gring 2019-04-10 10:44:40 +08:00
aloncn
230be66fa9 update unit test for gring 2019-04-10 10:13:56 +08:00
aloncn
bd0207c938 update unit test for gring 2019-04-10 01:16:45 +08:00
aloncn
922eaf4d42 Update unit test for gring 2019-04-10 00:37:06 +08:00
farmer chen
4b5153950f Add unit test for gring 2019-04-10 00:37:06 +08:00
Jay
277b7a4536 测试修改 2019-04-09 15:06:12 +08:00
Jay
39c65d9e9a 测试添加 2019-04-08 17:49:15 +08:00
Jay
b97bbbfa3d 测试添加 2019-04-08 17:32:07 +08:00
Jay
ace6ba8096 Gmap 测试添加 2019-04-08 17:02:57 +08:00
John
aa4dca11f0 fix issue in gtime; update comment for g/gtest 2019-04-04 22:52:56 +08:00
John
b89294561b add gmap.SetIfNotExistFunc/SetIfNotExistFuncLock for gmap; update comment of gmap; update instance feature of gcfg 2019-04-03 23:39:31 +08:00
John
11c89c4090 fix issue in GetOrSetFuncLock of gmap/gcache; add gutil.IsEmpty/Export functions 2019-03-21 18:20:20 +08:00
John
c9d2d5e8ab add configuration support for maxIdle/maxActive/idleTimeout/maxConnLifetime of gredis; update gjson.Append/Len functions; add more unit test cases for gredis/gins/gstr/gjson 2019-03-21 00:14:23 +08:00
John
8ae9276732 add disable cache feature option for package gspath 2019-03-12 00:24:31 +08:00
John
49ce7fe885 fix data race issue of gqueue 2019-03-08 17:54:50 +08:00
John
0f854e46d8 refact Merge function for garray; add more frequently-used type alias for gf 2019-02-22 09:08:46 +08:00
John
4564f38e1a add PopRands/Rands functions for garray 2019-02-20 19:06:08 +08:00
John
d780cf64c2 garray updates 2019-02-20 14:18:11 +08:00
John
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
John
150aa7e2c2 comments update 2019-02-02 15:21:48 +08:00
John
0762fec696 comments update 2019-02-02 15:16:45 +08:00
John
1447496efa comments update 2019-02-02 14:22:32 +08:00
John
6fb9eafef0 garray updates 2019-02-02 09:07:40 +08:00
John
16bde5e9fc gmap updates 2019-02-01 22:25:58 +08:00
John
7b85c44444 add Clone for garray; comments of garray update 2019-02-01 22:00:58 +08:00
John
ae7db2cf9f gmap updates 2019-02-01 18:40:48 +08:00
John
1afab62dec fulfil unit test cases for garray 2019-02-01 18:33:53 +08:00
John
4171ca992e add reverse feature for function Sort of normal array; fulfil unit test cases for StringArray 2019-02-01 18:14:12 +08:00
John
e1166a8a80 Merge branch 'master' into develop 2019-02-01 17:55:06 +08:00
John
ae1e075696 fix issue in binSearch of garray 2019-02-01 17:44:58 +08:00
John
74a7f71894 gset/gmap update 2019-02-01 17:30:23 +08:00
John
1d5c3d62dd fullfil unit test cases of gset 2019-01-31 21:15:39 +08:00
John
908a46d27d gtest updates 2019-01-31 13:00:17 +08:00
John
85677b952f fulfil funcs of gstr/gset/garray; move gstr/gregex to the string category; move gtest to the test category 2019-01-30 21:27:03 +08:00
John
b02205f7cd gpool updates 2019-01-23 17:27:30 +08:00
John
9698a7c5be gpool updates 2019-01-23 15:01:21 +08:00
John
494f96495e fulfil unit test cases of gtimer 2019-01-23 11:28:57 +08:00
John
24990e26c8 gcron, gtimer updates 2019-01-21 22:09:51 +08:00
John
72569321fa package comments update 2019-01-16 13:35:16 +08:00
John
0c41909454 pakage comments updates 2019-01-15 23:27:47 +08:00
John
f4644ce685 change func(xxx, safe...bool) to func(xxx, unsafe...bool); add new internal package mutex 2019-01-12 23:36:22 +08:00
John
432c16c89f complete pckage gtimer development, a levelled timing wheel for interval/delayed jobs running and management 2019-01-12 22:41:12 +08:00
John
241706cbbf up 2019-01-12 20:20:30 +08:00
John
33dd0f9922 timing wheel up 2019-01-11 13:46:40 +08:00
John
1c9cb8286f up 2019-01-09 12:54:37 +08:00
John
8296061b64 up 2019-01-06 16:43:42 +08:00
John
bb5d84c29c up 2019-01-06 11:09:50 +08:00
John
40b5162fdf up 2019-01-04 15:32:16 +08:00
John
858b010caa up 2019-01-03 19:11:54 +08:00
John
a95b1f0dae add more unit test cases 2019-01-02 10:18:00 +08:00
John
f1c7b95b33 up 2019-01-01 19:43:31 +08:00
John
1efeb2515d refract package 'gcron'; add package 'gtimew' for Time Wheel style job management 2018-12-30 18:56:21 +08:00
John
ccf837b2bf up 2018-12-30 14:53:16 +08:00
John
e558863743 up 2018-12-30 11:08:07 +08:00