13 Commits
Author SHA1 Message Date
Stefan Meinecke 39d164f5a8 hashtest: fix build so the suite actually runs
htest.c was missing the "typedef struct hash hash" that hash.h
requires, and the Makefile linked the top-level ../hash.o which is
built without -DHASH_DEBUG, leaving hash_dump/hash_item_print
undefined. Build a local hash.o with the flag instead. All 16 tests
now compile and pass.
2026-10-18 22:53:40 +02:00
Yves Rűtschlé 78a1ed6899 refactor: make hash dump usuable for debugging 2025-08-10 23:12:24 +02:00
Josh Soref 08bea0e15d spelling: discrepancy
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-30 01:43:12 -04:00
yrutschle 21d00bd29d remove globals for hash size 2022-04-10 08:45:01 +02:00
yrutschle 53ae8bb913 remove floor entirely 2022-04-09 13:22:55 +02:00
yrutschle 97a67500ea remove need for floor at insert 2022-04-08 21:10:20 +02:00
yrutschle 33d73dd514 invert distance counting 2022-04-08 21:09:45 +02:00
yrutschle 63b503e27f simplify remove with distance computation 2022-04-08 19:55:22 +02:00
yrutschle 2e0d6b6e8e removed obsolete variable 2022-04-08 18:40:39 +02:00
yrutschle 4625883b7f simplify insertion using distance instead of floors and wrapped 2022-04-08 18:38:29 +02:00
yrutschle 9ce9b5cd82 Integrate hash for UDP 2022-04-02 18:48:24 +02:00
yrutschle 478e1fc92f abstract hash indexes 2022-03-31 22:08:56 +02:00
yrutschle 454a261c95 initial hash object with testing framework 2022-03-30 22:56:41 +02:00