Searched refs:next_size (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib/
H A Dhash2.c83 unsigned int next_size, old_count, i, idx; local
90 next_size = I_MAX(primes_closest(hash->count + 1), hash->initial_size);
91 if (hash->hash_table_size >= next_size &&
92 (grow || next_size == hash->hash_table_size))
96 hash2_alloc_table(hash, next_size);
H A Dhash.c447 unsigned int next_size, old_size, i; local
456 next_size = I_MAX(primes_closest(table->nodes_count+1),
458 if (next_size == table->size)
461 if (grow && table->size >= next_size)
468 table->size = I_MAX(next_size, HASH_TABLE_MIN_SIZE);

Completed in 15 milliseconds