Searched refs:tablelength (Results 1 – 2 of 2) sorted by relevance
52 h->tablelength = size; in create_hashtable()98 for (i = 0; i < h->tablelength; i++) { in hashtable_expand()116 memset(newtable[h->tablelength], 0, newsize - h->tablelength); in hashtable_expand()117 for (i = 0; i < h->tablelength; i++) { in hashtable_expand()133 h->tablelength = newsize; in hashtable_expand()164 index = indexFor(h->tablelength,e->h); in hashtable_insert()179 index = indexFor(h->tablelength,hashvalue); in hashtable_search()203 index = indexFor(h->tablelength,hash(h,k)); in hashtable_remove()234 for (i = 0; i < h->tablelength; i++) in hashtable_destroy()243 for (i = 0; i < h->tablelength; i++) in hashtable_destroy()
17 unsigned int tablelength; member33 indexFor(unsigned int tablelength, unsigned int hashvalue) { in indexFor() argument34 return (hashvalue % tablelength); in indexFor()
Completed in 3 milliseconds