Searched refs:new_cap_bits (Results 1 – 2 of 2) sorted by relevance
105 size_t new_cap_bits, new_cap; in hashmap_grow() local108 new_cap_bits = map->cap_bits + 1; in hashmap_grow()109 if (new_cap_bits < HASHMAP_MIN_CAP_BITS) in hashmap_grow()110 new_cap_bits = HASHMAP_MIN_CAP_BITS; in hashmap_grow()112 new_cap = 1UL << new_cap_bits; in hashmap_grow()118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow()123 map->cap_bits = new_cap_bits; in hashmap_grow()
Completed in 3 milliseconds