dudaodong
f49f75b371
test: add unit test for EncodeByte and DecodeByte
2022-08-26 10:47:25 +08:00
dudaodong
b30f4a7bab
feat: add DecodeByte
2022-08-26 10:35:54 +08:00
dudaodong
982cb8932b
feat: add EncodeByte
2022-08-26 10:34:42 +08:00
dudaodong
9107eb4b32
fix: fix resize bug in HashMap
2022-08-25 14:04:26 +08:00
dudaodong
1acf977b24
release v2.1.5
v2.1.5
2022-08-25 11:11:36 +08:00
dudaodong
5c878d0873
doc: change ReverseStr to Reverse in all docment
2022-08-24 10:37:56 +08:00
dudaodong
ab0716a472
refactor: change ReverseStr to Reverse in strutil package
2022-08-24 10:35:18 +08:00
dudaodong
3c2e0ca5b3
doc: add document for hashmap
2022-08-24 10:28:57 +08:00
dudaodong
551e66ba29
refactor: update HashMap Put method
2022-08-24 10:20:02 +08:00
dudaodong
4eeeabb227
feat: add Delete method for hashmap
2022-08-23 15:07:54 +08:00
dudaodong
b3437fdddf
feat: add Delete method for hashmap
2022-08-23 15:07:13 +08:00
dudaodong
312dcab369
feat: add Delete method for hashmap
2022-08-23 15:05:32 +08:00
dudaodong
0cb89f4f46
test: add unit test for HashMap
2022-08-23 14:15:51 +08:00
dudaodong
a2dec87995
feat: add Put method for hashmap
2022-08-23 14:11:14 +08:00
dudaodong
9094cb29bf
feat: add new HashMap data structure
2022-08-22 15:21:30 +08:00
dudaodong
ddb992ad2f
refactor: BuildMaxHeap
2022-08-22 11:10:17 +08:00
dudaodong
24f18aaaec
refactor: change function sign for QuickSort
2022-08-22 11:02:25 +08:00
dudaodong
36169874e5
refactor: change sort file name
2022-08-22 10:58:47 +08:00
dudaodong
23aeb6ac99
refactor: change sort file name
2022-08-22 10:57:04 +08:00
dudaodong
a1984f0a59
feat: add BuildMaxHeap
2022-08-22 10:51:37 +08:00
IceCafeCup
c95db23d2c
feat: Set struct uses empty struct as value ( #55 )
2022-08-13 12:39:30 +08:00
Abirdcfly
fbf251d805
delete minor unreachable code caused by log.Fatal ( #54 )
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-08-10 14:19:21 +08:00
dudaodong
337f08a04b
fix: issue #53
2022-08-06 17:41:45 +08:00
dudaodong
c6a7371049
change lastest v1 version
2022-08-03 10:02:46 +08:00
dudaodong
b697858038
release v2.1.4
v2.1.4
2022-08-03 09:56:02 +08:00
dudaodong
5446f7e33c
doc: add document for list methods
2022-07-28 12:56:11 +08:00
dudaodong
553f63e76b
refactor: update param name in AppendIfAbsent
2022-07-27 15:45:34 +08:00
dudaodong
fc3e94df58
doc: add document for AppendIfAbsent function
2022-07-27 15:44:54 +08:00
dudaodong
5c66f38a5b
test: fix test function name TestAppendIfAbsent
2022-07-27 15:38:51 +08:00
郑一诺她爸
70e213b3f7
feat:(slice add AppendIfAbsent function) ( #52 )
...
Co-authored-by: george.zheng <george.zheng@ambergroup.io >
2022-07-25 20:52:33 +08:00
donutloop
c1b7500bcb
List: add cap ( #51 )
...
Cap return cap of the inner data
2022-07-25 20:50:31 +08:00
donutloop
3d7600a9e4
list: add DeleteIf method ( #50 )
...
DeleteIf delete all satisfying f(data[i]), returns count of removed elements
2022-07-23 18:52:29 +08:00
donutloop
0299c454ab
list: add sublist method ( #49 )
...
SubList returns a sub list of the original list between the specified fromIndex, inclusive, and toIndex, exclusive.
2022-07-23 15:00:04 +08:00
dudaodong
741af66404
test: add todo fix for TestSchedule
2022-07-22 10:30:44 +08:00
dudaodong
ef5d0379a1
doc: fix missing word
2022-07-22 10:24:34 +08:00
dudaodong
105ab49763
refactor: change slice Contain logic, convert to map first, then check existence
2022-07-22 10:22:34 +08:00
dudaodong
b5ba9ba573
fix: fix TestMapToSlice function result independent of order of elements
2022-07-22 10:17:23 +08:00
donutloop
ac3baac5c6
list: Add LastIndexOfFunc and IndexOfFunc method ( #48 )
...
* LastIndexOfFunc returns the index of the last occurrence of the value in this list satisfying f(data[i])
* IndexOfFunc returns the first index satisfying f(v)
2022-07-22 10:04:31 +08:00
donutloop
a82b5dd206
list: add LastIndexOf ( #46 )
...
Add LastIndexOf method too List and fix doc
LastIndexOf returns the index of the last occurrence of the value in this list.
if not found return -1
2022-07-21 15:19:18 +08:00
CyJaySong
ac0fb5ef25
Update convertor_zh-CN.md ( #45 )
...
fix docs
v2.1.3
2022-07-21 11:22:30 +08:00
dudaodong
9bd1c205fe
release: update readme file and release v2.1.3
2022-07-21 11:16:19 +08:00
dudaodong
6ccf9fd3cf
doc: add document for GetOsBits function
2022-07-21 11:05:17 +08:00
dudaodong
c02ef2c62d
doc: format code in markdown file
2022-07-20 19:42:17 +08:00
dudaodong
6414031754
doc: fix mistaken link to map source file
2022-07-20 19:38:14 +08:00
dudaodong
5336130570
doc: add funcation IsDisjoint
2022-07-20 19:33:37 +08:00
dudaodong
bfa46d46a2
doc: format code in markdown file
2022-07-20 19:33:02 +08:00
dudaodong
aab28b914c
Merge branch 'main' into v2
2022-07-20 17:48:26 +08:00
donutloop
336e454ce7
maputil: IsDisjoint ( #43 )
...
Verifies map a and map b have no keys in common.
if it returns true then the maps are disjoint otherwise a join in some form available
2022-07-20 17:26:54 +08:00
anyanfei
35a50bd792
System: Add the system bits judgment ( #44 )
...
Co-authored-by: anyanfei <anyanfei@yungengxin.com >
2022-07-20 17:25:14 +08:00
dudaodong
2fd23f02f6
doc: format code in markdown file
2022-07-20 15:44:33 +08:00