Searched refs:new_cap_bits (Results 1 – 1 of 1) sorted by relevance
99 size_t new_cap_bits, new_cap; in hashmap_grow() local103 new_cap_bits = map->cap_bits + 1; in hashmap_grow()104 if (new_cap_bits < HASHMAP_MIN_CAP_BITS) in hashmap_grow()105 new_cap_bits = HASHMAP_MIN_CAP_BITS; in hashmap_grow()107 new_cap = 1UL << new_cap_bits; in hashmap_grow()113 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow()118 map->cap_bits = new_cap_bits; in hashmap_grow()