Lines Matching defs:hash
79 kxld_dict_init(KXLDDict * dict, kxld_dict_hash hash, kxld_dict_cmp cmp,
87 check(hash);
103 dict->hash = hash;
121 dict->hash = NULL;
186 * its hash value and its actual bucket may have been deleted since it was
197 base = idx = dict->hash(dict, key);
265 * Increases the hash table's capacity by 2N+1. Uses dictionary API. Not
320 base = idx = dict->hash(dict, key);
406 * This is Daniel Bernstein's hash algorithm from comp.lang.c
407 * It's fast and distributes well. Returns an idx into the symbol hash table.
421 /* hash(i) = hash(i-1) *33 ^ name[i] */