Home
last modified time | relevance | path

Searched refs:new_buckets (Results 1 – 5 of 5) sorted by relevance

/third_party/libbpf/src/
Dhashmap.c103 struct hashmap_entry **new_buckets; in hashmap_grow() local
113 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()
/third_party/python/Python/
Dhashtable.c288 _Py_slist_t *new_buckets = ht->alloc.malloc(buckets_size); in hashtable_rehash() local
289 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()
/third_party/gn/src/gn/
Dhash_table_base.h508 Node* new_buckets = reinterpret_cast<Node*>(calloc(new_size, sizeof(Node))); in GrowBuckets() local
516 Node* node2 = new_buckets + dst_index; in GrowBuckets()
528 buckets_ = new_buckets; in GrowBuckets()
/third_party/skia/third_party/externals/freetype/src/base/
Dftdbgmem.c263 FT_MemNode* new_buckets; in ft_mem_table_resize() local
267 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()
/third_party/node/deps/v8/src/objects/
Dordered-hash-table.cc262 int new_buckets = new_table->NumberOfBuckets(); in Rehash() local
277 int bucket = Smi::ToInt(hash) & (new_buckets - 1); in Rehash()