Lines Matching refs:num_bins
76 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins)
176 tbl->num_bins = size;
222 for(i = 0; i < table->num_bins; i++) {
244 bin_pos = hash_val%(table)->num_bins;\
279 if (table->num_entries/(table->num_bins) > ST_DEFAULT_MAX_DENSITY) {\
281 bin_pos = hash_val % table->num_bins;\
325 bin_pos = hash_val % table->num_bins;
334 int i, old_num_bins = table->num_bins, new_num_bins;
351 table->num_bins = new_num_bins;
361 int i, num_bins = old_table->num_bins; local
370 Calloc((unsigned)num_bins, sizeof(st_table_entry*));
377 for(i = 0; i < num_bins; i++) {
498 for(i = 0; i < table->num_bins; i++) {
505 if (i < table->num_bins) {