Searched refs:buckets (Results 1 - 4 of 4) sorted by relevance
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/src/ |
H A D | hashtable.c | 109 bucket = &hashtable->buckets[index]; 153 jsonp_free(hashtable->buckets); 158 hashtable->buckets = jsonp_malloc(new_size * sizeof(bucket_t)); 159 if(!hashtable->buckets) 164 hashtable->buckets[i].first = hashtable->buckets[i].last = 175 insert_to_bucket(hashtable, &hashtable->buckets[index], &pair->list); 188 hashtable->buckets = jsonp_malloc(hashsize(hashtable->order) * sizeof(bucket_t)); 189 if(!hashtable->buckets) 196 hashtable->buckets[ [all...] |
H A D | hashtable.h | 34 struct hashtable_bucket *buckets; member in struct:hashtable 35 size_t order; /* hashtable has pow(2, order) buckets */
|
/seL4-camkes-master/projects/util_libs/libutils/include/utils/ |
H A D | uthash.h | 139 /* initial number of buckets */ 140 #define HASH_INITIAL_NUM_BUCKETS 32U /* initial number of buckets */ 141 #define HASH_INITIAL_NUM_BUCKETS_LOG2 5U /* lg2 of initial number of buckets */ 154 (head)->hh.tbl->buckets[_hd_bkt].count++; \ 171 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ 234 (head)->hh.tbl->buckets = (UT_hash_bucket*)uthash_malloc( \ 237 if (!(head)->hh.tbl->buckets) { \ 241 uthash_bzero((head)->hh.tbl->buckets, \ 246 uthash_free((head)->hh.tbl->buckets, \ 330 HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bk 1187 UT_hash_bucket *buckets; member in struct:UT_hash_table [all...] |
/seL4-camkes-master/projects/musllibc/ldso/ |
H A D | dynlink.c | 222 uint32_t *buckets = hashtab + 4 + hashtab[2]*(sizeof(size_t)/4); local 223 uint32_t i = buckets[h1 % nbuckets]; 227 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); 835 uint32_t *buckets = p->ghashtab + 4 + (p->ghashtab[2]*sizeof(size_t)/4); local 838 if (buckets[i] > nsym) 839 nsym = buckets[i]; 842 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]);
|
Completed in 41 milliseconds