Searched refs:new_cap_bits (Results 1 – 1 of 1) sorted by relevance
92 size_t new_cap_bits, new_cap; in hashmap_grow() local96 new_cap_bits = map->cap_bits + 1; in hashmap_grow()97 if (new_cap_bits < HASHMAP_MIN_CAP_BITS) in hashmap_grow()98 new_cap_bits = HASHMAP_MIN_CAP_BITS; in hashmap_grow()100 new_cap = 1UL << new_cap_bits; in hashmap_grow()106 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow()111 map->cap_bits = new_cap_bits; in hashmap_grow()