Searched defs:new_bins (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dstrhash.c248 strhash_entry_t **old_bins, **new_bins; local
252 new_bins = malloc(sizeof(strhash_entry_t *) * new_size);
253 if (new_bins == NULL)
256 memset(new_bins, 0, sizeof(strhash_entry_t *) * new_size);
271 e->next = new_bins[new_index];
272 new_bins[new_index] = e;
277 hash->bins = new_bins;
/bind-9.11.3/lib/dns/
H A Drrl.c279 int old_bins, new_bins, hsize; local
290 new_bins = old_bins/8 + old_bins;
291 if (new_bins < rrl->num_entries)
292 new_bins = rrl->num_entries;
293 new_bins = hash_divisor(new_bins);
295 hsize = sizeof(dns_rrl_hash_t) + (new_bins-1)*sizeof(hash->bins[0]);
306 hash->length = new_bins;
318 old_bins, new_bins, rrl->num_entries, rate);

Completed in 15 milliseconds