7 int ivals[] = {0,1,2,3,4,5,6,7,8,9};
9 uint_fast32_t djb2hash(const void *x)
12 uint_fast32_t hash = 5381;
16 while ( (c = *str++) )
21 int scmp(const void *a, const void *b)
28 hashmap *h = hm_new(0, djb2hash, scmp, NULL, NULL);
29 assert(hm_length(h) == 0);
30 assert(hm_is_empty(h));