Commit graph

284 commits

Author SHA1 Message Date
Stephen Seo f1a13cde5c Fixes to Unit Test, attempt to improve hash use 2019-02-13 17:49:24 +09:00
Stephen Seo 1bab7694cf Add unit tests for HashMap, fix HashMap 2019-02-13 14:45:29 +09:00
Stephen Seo e995c877c4 Add a few fns, fix docs to HashMap 2019-02-13 13:38:36 +09:00
Stephen Seo c335b280c9 Allow duplicate keys in HashMap 2019-02-12 17:40:52 +09:00
Stephen Seo 6801cc9744 Revert "Change formatting in HashMap.c"
This reverts commit 1dba20ba0d.
2019-02-12 17:39:07 +09:00
Stephen Seo 1dba20ba0d Change formatting in HashMap.c 2019-02-12 17:37:58 +09:00
Stephen Seo 49f46e7ce4 Change HashMap_insert to replace existing same key 2019-02-11 11:39:09 +09:00
Stephen Seo 3faae3025e Add support for zero-size unitSize in HashMap 2019-02-11 11:33:35 +09:00
Stephen Seo 164a35fbd7 Add HashMap realloc/clear, fixes 2019-02-11 11:23:08 +09:00
Stephen Seo de0a877c70 Fix HashMap_insert 2019-02-08 12:55:20 +09:00
Stephen Seo 8af6ff500d Fix HashMap_destroy 2019-02-08 12:48:15 +09:00
Stephen Seo eb9eb17a14 Add docs to HashMap 2019-02-07 16:20:57 +09:00
Stephen Seo 6800caf68a Change HM to use overflow and individual buckets 2019-02-07 11:50:28 +09:00
Stephen Seo 645a109ecf Add some impl to WIP HashMap 2019-02-04 17:45:37 +09:00
Stephen Seo a0134b7cb3 Begin work on HashMap, minor fixes 2019-02-04 17:21:49 +09:00
Stephen Seo 2d7d27722c Add hash macro fn 2019-02-04 16:57:29 +09:00
Stephen Seo 884a262f93 Fix UDPC_destroy, WIP impl of recieving packets 2019-02-04 15:33:44 +09:00
Stephen Seo f0e82c7488 Minor fix to test of internal atostr function
Also check ending of null terminated string of returned buffer.
2019-02-01 19:32:31 +09:00
Stephen Seo f6dcf53a35 Add test for internal atostr function 2019-02-01 19:31:31 +09:00
Stephen Seo faba06a2b6 Add error logging capability
Need to test internal atostr function.
2019-02-01 19:22:04 +09:00
Stephen Seo ff31b0f604 Add some impl of UDPConnection (still WIP) 2019-01-31 19:44:32 +09:00
Stephen Seo 48cf70ef49 More work on Deque, UDPConnection 2019-01-31 12:16:01 +09:00
Stephen Seo c0046e5160 Add fn to Deque, remove at index
remove replaces data at index with data at end
2019-01-30 16:40:13 +09:00
Stephen Seo ea8226cdf2 Some work on UDPC 2019-01-30 15:46:52 +09:00
Stephen Seo bfc704d429 Minor fixes to UnitTest, Defines header 2019-01-29 14:50:12 +09:00
Stephen Seo 32e2503bd0 Change init to return ptr, some error handling 2019-01-29 11:53:39 +09:00
Stephen Seo a27ffa8413 Change Deque_destroy to take a ptr, not ptr of ptr 2019-01-28 15:10:04 +09:00
Stephen Seo 62c1cad3da Change Deque init to return pointer 2019-01-27 18:30:35 +09:00
Stephen Seo 599ac8a23e Add unit tests, some fixes to Deque. 2019-01-27 15:09:38 +09:00
Stephen Seo dd984b85a6 Finish impl of Deque, testing required 2019-01-26 20:44:31 +09:00
Stephen Seo b76df86a4f Some more work on UDPC, WIP Deque 2019-01-26 19:11:12 +09:00
Stephen Seo bc79efa20f Rename PLATFORM macro to "namespace" UDPC_ 2019-01-26 16:49:54 +09:00
Stephen Seo 909fe2e744 Add some init/destruct stuff, thread stuff too 2019-01-26 16:22:31 +09:00
Stephen Seo ec084d85cc Init commit skeleton project 2019-01-26 12:52:10 +09:00