|
c8d733e410
|
Switch hash tables to longs, as longs guarantee 32 bits.
The default FNV hash requires 32 bits at least.
|
2017-01-27 21:29:28 -08:00 |
|
|
0271248472
|
Add two extra checks to ensure there are no negative array indices.
|
2017-01-21 20:30:01 -08:00 |
|
|
5247394d35
|
Add unit tests for sparse array functions.
|
2017-01-21 16:43:47 -08:00 |
|
|
3aedc61da4
|
Implement a sparse array / set.
|
2017-01-21 01:20:00 -08:00 |
|
|
936b2835b2
|
Add more comments and a new comparison function.
|
2016-12-28 19:29:51 -08:00 |
|
|
a4d41361dd
|
Fix bug causing the program to probably go off and free NULL.
|
2016-12-26 00:32:51 -08:00 |
|
|
75ff581de3
|
Add clear function that clears the linked list.
|
2016-12-25 15:55:48 -08:00 |
|
|
4c7f0ee0e5
|
Fix infinite loop bug in linked list find function.
|
2016-12-25 00:28:29 -08:00 |
|
|
4fa9ab13ee
|
Implement linked list data structure.
|
2016-12-23 22:39:10 -08:00 |
|
|
c74f05eaf5
|
Rename error enumerator to prevent naming conflicts.
|
2016-12-21 16:58:00 -08:00 |
|
|
52640ed8f9
|
Format code.
|
2016-12-21 15:07:01 -08:00 |
|
|
d41a085bcd
|
Add check if all tests passed.
|
2016-12-21 14:49:07 -08:00 |
|
|
281f49d5e5
|
Write hash table tests.
|
2016-12-21 14:37:21 -08:00 |
|
|
5f58ae8a39
|
Add compiler settings like C standard and warning level.
|
2016-12-21 13:26:26 -08:00 |
|
|
440120f1da
|
Remove const to silence warnings.
This should be optimized out anyway.
|
2016-12-21 13:23:14 -08:00 |
|
|
00eeb01299
|
Convert main.c into tests for libds, and write tests for vec.h.
|
2016-12-21 01:33:37 -08:00 |
|
|
8447522dc2
|
Add and implement a hash table.
|
2016-12-21 01:07:47 -08:00 |
|
|
c83a8f5b00
|
Add main.c file required by the CMake build.
|
2016-12-20 23:30:15 -08:00 |
|
|
37adcb1365
|
Add function to access element by index.
|
2016-12-20 23:28:07 -08:00 |
|
|
c4ee4853d5
|
Implement the vector functions specified in the header.
|
2016-12-20 21:22:22 -08:00 |
|
|
6003b00e36
|
Implement compare_always function.
|
2016-12-20 21:22:10 -08:00 |
|