hash.c revision 1a7c16f88de068a704828f47154c25fcbf30c292
2ronwalfstruct hash_table {
24daenzeroramastruct hash_iterate_context {
2ronwalfstatic unsigned int direct_hash(const void *p)
2ronwalf return POINTER_CAST_TO(p, unsigned int);
2ronwalfstruct hash_table *
2ronwalf initial_size = 0;
return table;
size_t i;
if (free_nodes) {
static struct hash_node *
return node;
return NULL;
return FALSE;
return TRUE;
static struct hash_node *
int check_existing)
unsigned int hash;
return node;
return node;
if (check_existing) {
return node;
if (check_existing) {
return node;
return node;
size_t i;
unsigned int hash;
return ctx;
return NULL;
return node;
return FALSE;
return TRUE;
float nodes_per_list;
return FALSE;
return FALSE;
return FALSE;
for (i = 0; i < old_size; i++) {
return TRUE;
unsigned int str_hash(const void *p)
unsigned int strcase_hash(const void *p)