Lines Matching defs:h_nbuckets
44 int h_nbuckets;
98 hash->h_nbuckets = nbuckets;
108 int bucket = hash->h_hashfn(hash->h_nbuckets, key);
135 int bucket = hash->h_hashfn(hash->h_nbuckets, key);
145 int bucket = hash->h_hashfn(hash->h_nbuckets, key);
169 int bucket = hash->h_hashfn(hash->h_nbuckets, key);
217 for (i = 0; i < hash->h_nbuckets; i++) {
234 for (num = 0, i = 0; i < hash->h_nbuckets; i++)
248 for (i = 0; i < hash->h_nbuckets; i++)
267 for (i = 1; i < hash->h_nbuckets; i++) {
283 printf(" Buckets: %d\n", hash->h_nbuckets);
286 printf(" Average: %5.2f\n", (float)tot / (float)hash->h_nbuckets);