bind9/tests/isc
Ondřej Surý f46ce447a6
Add isc_hashmap API that implements Robin Hood hashing
Add new isc_hashmap API that differs from the current isc_ht API in
several aspects:

1. It implements Robin Hood Hashing which is open-addressing hash table
   algorithm (e.g. no linked-lists)

2. No memory allocations - the array to store the nodes is made of
   isc_hashmap_node_t structures instead of just pointers, so there's
   only allocation on resize.

3. The key is not copied into the hashmap node and must be also stored
   externally, either as part of the stored value or in any other
   location that's valid as long the value is stored in the hashmap.

This makes the isc_hashmap_t a little less universal because of the key
storage requirements, but the inserts and deletes are faster because
they don't require memory allocation on isc_hashmap_add() and memory
deallocation on isc_hashmap_delete().
2022-11-10 15:07:19 +01:00
..
testdata/file Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
aes_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
ascii_test.c Add a case-insensitive option directly to siphash 2-4 implementation 2022-10-04 10:32:40 +02:00
async_test.c isc_async_run() runs events in reverse order 2022-10-31 05:43:45 -07:00
buffer_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
counter_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
crc64_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
doh_test.c DoH unit test: remove broken remnants of slowdown logic 2022-10-12 16:24:04 +03:00
errno_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
file_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
hash_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
hashmap_test.c Add isc_hashmap API that implements Robin Hood hashing 2022-11-10 15:07:19 +01:00
heap_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
hmac_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
ht_test.c Add isc_hashmap API that implements Robin Hood hashing 2022-11-10 15:07:19 +01:00
job_test.c isc_async_run() runs events in reverse order 2022-10-31 05:43:45 -07:00
lex_test.c Change the return type of isc_lex_create() to void 2022-10-26 12:55:06 +02:00
loop_test.c New event loop handling API 2022-08-25 12:24:29 +02:00
Makefile.am Add isc_hashmap API that implements Robin Hood hashing 2022-11-10 15:07:19 +01:00
md_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
mem_test.c Replace isc_mem_*_aligned(..., alignment) with isc_mem_*x(..., flags) 2022-10-05 16:44:05 +02:00
netaddr_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
netmgr_common.c TCP and TLS DNS tests: properly pass connection callback 2022-11-01 14:42:08 +02:00
netmgr_common.h Make sure the unit test listening and connecting ports are different 2022-10-12 15:36:25 +02:00
parse_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
quota_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
radix_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
random_test.c Move random number re-seeding out of the hot path 2022-09-19 16:27:12 +02:00
ratelimiter_test.c Add isc_ratelimiter API unit tests 2022-09-30 10:36:30 +02:00
regex_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
result_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
safe_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
siphash_test.c Add a case-insensitive option directly to siphash 2-4 implementation 2022-10-04 10:32:40 +02:00
sockaddr_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
stats_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
symtab_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
task_test.c Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
tcp_test.c Make sure the unit test listening and connecting ports are different 2022-10-12 15:36:25 +02:00
tcpdns_test.c TCP and TLS DNS tests: properly pass connection callback 2022-11-01 14:42:08 +02:00
time_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
timer_test.c Add more unit tests for isc_timer 2022-09-22 09:46:25 +02:00
tls_test.c Make sure the unit test listening and connecting ports are different 2022-10-12 15:36:25 +02:00
tlsdns_test.c TLS DNS unit tests: do not share the port with TCP DNS tests 2022-11-01 14:42:08 +02:00
udp_test.c Gracefully handle ISC_R_SHUTTINGDOWN in udp__send_cb 2022-10-12 15:36:25 +02:00
uv_wrap.h Bump the libuv requirement to libuv >= 1.34.0 2022-09-27 17:09:10 +02:00
work_test.c New event loop handling API 2022-08-25 12:24:29 +02:00