Leonardo
1928fdd6d5
Reworked assert.h and test.h and added the cmc prefix to the logging utility
...
Integrated the assert utility with the test utility. Now any assertion that fails inside the unit test will trigger failure and is no longer needed to manually pass or fail a test.
Also reworked makefiles.
2019-09-06 12:17:11 -03:00
Leonardo
abdbfa2018
v1.6.2
2019-09-05 01:48:51 -03:00
Leonardo
a1a940399a
Unified _set and _update functions
...
Also _remove now accepts an optional parameter if to retrieve or not the removed value. _update also has the same optional parameter that retrieves the old value.
The multimap will allocate an array based on the amount of keys and add all the values to that array.
2019-09-05 01:33:54 -03:00
Leonardo
855e085996
Fixed benchmark
2019-09-05 01:09:06 -03:00
Leonardo
e95379bdd7
Updated tests
2019-09-03 17:07:34 -03:00
Leonardo
762b95db26
Some fixes and improvements to hashmap, hashset and multimap
2019-09-03 17:07:15 -03:00
Leonardo
396066f289
Update README.md
2019-09-03 16:54:21 -03:00
Leonardo
f070d274f4
Added _equals function to all collections and fixed some issues with multimap
2019-08-29 23:25:32 -03:00
Leonardo
1f50add1bb
Added _copy_of functions to all collections
2019-08-28 16:34:15 -03:00
Leonardo
e68b8a8e0e
Fixing main unit test
2019-08-27 01:38:34 -03:00
Leonardo
5ee7bfa23a
v1.6.1
2019-08-27 01:36:06 -03:00
Leonardo
8ec768d30e
removed linkedqueue and now _free and _clear have a deallocator parameter
2019-08-27 01:33:58 -03:00
Leonardo
613392ae76
Changed how _update works and added _set
...
_update: retrieves old value
_set: ignores old value
2019-08-05 23:28:12 -03:00
Leonardo
f74ce7519a
Added update function for hashmap, treemap and multimap and added update_all for multimap
v0.14.0
2019-08-03 01:55:36 -03:00
Leonardo
01d0b42e1a
v1.6.0
2019-08-02 01:03:28 -03:00
Leonardo
e470021d13
Added to_string to intervalheap and multimap
2019-08-02 00:53:35 -03:00
Leonardo
7de3ce5c0c
Updating examples readme and added multiset to benchmark
2019-08-02 00:36:54 -03:00
Leonardo
976965bcfa
Fixed integer overflow with hashtables when calculating their capacity
2019-08-02 00:18:22 -03:00
Leonardo
1254e657c5
Complete remake of multiset
2019-08-01 23:52:50 -03:00
Leonardo
90ee6a424d
heap hotfix
2019-07-31 23:08:51 -03:00
Leonardo
bf79616e7e
Adding Code Review shields
2019-07-18 22:58:41 -03:00
Leonardo
09ebb1eae8
Thank you Code Review for your awesome community!
2019-07-17 13:57:13 -03:00
Leonardo
ba6d8edde1
Update .travis.yml
2019-07-17 00:05:54 -03:00
Leonardo
2f76ad4b6f
Update README.md
2019-07-16 23:59:38 -03:00
Leonardo
407141661a
Fixing test
2019-07-16 23:58:02 -03:00
Leonardo
38620ba457
Added to_string methods to cmc, ./utl/cmc_string.h, fixed some variable names and fixed includes
2019-07-16 23:55:30 -03:00
Leonardo
f8f704f432
Added intervalheap and multimap to benchmark
2019-07-14 22:33:30 -03:00
Leonardo
8ae83acd1a
Update stack unit test
2019-07-13 00:17:31 -03:00
Leonardo
af26f6c081
More fixes to ./cmc/stack.h
2019-07-13 00:17:01 -03:00
Leonardo
d82be005da
Fixing stack iter_init
2019-07-12 23:34:16 -03:00
Leonardo
e37b54fc62
Added bool type assert
2019-07-12 23:33:35 -03:00
Leonardo
9eb8d5f682
Fixing tests and added linkedqueue tests
2019-07-10 17:26:31 -03:00
Leonardo
7ecb2e90fd
Update TODO
2019-07-10 16:57:54 -03:00
Leonardo
354cd538f8
Added cmc prefixes to enums used by heap and hashtables and fixed return type on treeset and hashset
2019-07-10 16:57:46 -03:00
Leonardo
0c883b0a74
Multimap tests
2019-07-09 23:51:01 -03:00
Leonardo
9c23c3ca77
Update multimap to new standards
2019-07-08 19:55:48 -03:00
Leonardo
d0244a0513
Update TODO
2019-07-06 01:24:07 -03:00
Leonardo
875678d7a9
Added intervalheap, simplified heap and moved multimap and multiset to the ext folder
2019-07-06 00:26:54 -03:00
Leonardo
65f2b79157
Merge branch 'dev'
2019-07-05 16:46:12 -03:00
LeoVen
c60ee10185
Changing timer_t to cmc_timer to not generate conflicts
2019-07-05 13:30:07 -03:00
LeoVen
f7a598efc8
Word Counter example using the pthread library
2019-07-05 00:52:03 -03:00
Leonardo
e8142f96b1
v1.5.3
v0.13.0
2019-07-04 15:49:56 -03:00
Leonardo
97d50bc3d9
Fixing and adding more tests
2019-07-04 15:34:25 -03:00
Leonardo
8c457eeb12
Fixing missing return statements
2019-07-04 14:55:17 -03:00
Leonardo
846d0bbba6
More tests
2019-07-04 02:18:05 -03:00
Leonardo
a9314ee8f7
Update assert.h
2019-07-04 02:13:41 -03:00
Leonardo
9bff706bba
test quickfix
2019-07-02 01:49:19 -03:00
Leonardo
31c871c4c2
Fixing CI shield
2019-07-02 01:38:08 -03:00
Leonardo
82b374ec83
Revert "Fixing CI shield and trying to fix code coverage through codecov.yml"
...
This reverts commit 940552d6cd .
2019-07-02 01:36:46 -03:00
Leonardo
940552d6cd
Fixing CI shield and trying to fix code coverage through codecov.yml
2019-07-02 01:30:03 -03:00