Searched refs:new_buckets (Results 1 – 5 of 5) sorted by relevance
103 struct hashmap_entry **new_buckets; in hashmap_grow() local113 new_buckets = calloc(new_cap, sizeof(new_buckets[0])); in hashmap_grow()114 if (!new_buckets) in hashmap_grow()119 hashmap_add_entry(&new_buckets[h], cur); in hashmap_grow()125 map->buckets = new_buckets; in hashmap_grow()
288 _Py_slist_t *new_buckets = ht->alloc.malloc(buckets_size); in hashtable_rehash() local289 if (new_buckets == NULL) { in hashtable_rehash()293 memset(new_buckets, 0, buckets_size); in hashtable_rehash()302 _Py_slist_prepend(&new_buckets[entry_index], (_Py_slist_item_t*)entry); in hashtable_rehash()310 ht->buckets = new_buckets; in hashtable_rehash()
508 Node* new_buckets = reinterpret_cast<Node*>(calloc(new_size, sizeof(Node))); in GrowBuckets() local516 Node* node2 = new_buckets + dst_index; in GrowBuckets()528 buckets_ = new_buckets; in GrowBuckets()
263 FT_MemNode* new_buckets; in ft_mem_table_resize() local267 new_buckets = (FT_MemNode *) in ft_mem_table_resize()271 if ( !new_buckets ) in ft_mem_table_resize()274 FT_ARRAY_ZERO( new_buckets, new_size ); in ft_mem_table_resize()287 pnode = new_buckets + hash; in ft_mem_table_resize()299 table->buckets = new_buckets; in ft_mem_table_resize()
262 int new_buckets = new_table->NumberOfBuckets(); in Rehash() local277 int bucket = Smi::ToInt(hash) & (new_buckets - 1); in Rehash()