Searched refs:num_buckets (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/external/bsd/top/dist/
H A Dhash.m4h64 int num_buckets;
69 int num_buckets;
H A Dhash.c104 return (s % ht->num_buckets);
204 result->num_buckets = num;
233 while (i++ < ht->num_buckets)
262 while (i++ < ht->num_buckets)
307 bucket = &(ht->buckets[(key % ht->num_buckets)]);
361 bucket = &(ht->buckets[(key % ht->num_buckets)]);
413 if ((bucket = &(ht->buckets[(key % ht->num_buckets)])) != NULL)
452 if ((bucket = &(ht->buckets[(key % ht->num_buckets)])) != NULL)
490 pos->num_buckets = ht->num_buckets;
[all...]
H A Dhash.m4c147 return (s % ht->num_buckets);
244 result->num_buckets = num;
272 while (i++ < ht->num_buckets)
300 while (i++ < ht->num_buckets)
535 pos->num_buckets = ht->num_buckets;
544 if (++pos->curr >= pos->num_buckets)
574 if (pos->curr >= pos->num_buckets)
596 if (++pos->curr >= pos->num_buckets)
660 HASH_TABLE_TMPL(`uint', `unsigned int', `(key % ht->num_buckets)', `ke
[all...]
H A Dhash.h64 int num_buckets; member in struct:hash_table
69 int num_buckets; member in struct:hash_pos
/netbsd-current/external/apache2/llvm/dist/clang/utils/hmaptool/
H A Dhmaptool46 num_buckets, max_value_len) = struct.unpack(header_fmt, data)
56 if num_buckets == 0 or (num_buckets & num_buckets - 1) != 0:
63 buckets_data = f.read(num_buckets * bucket_size)
64 if len(buckets_data) != num_buckets * bucket_size:
69 for i in range(num_buckets)]
179 num_buckets = next_power_of_two(len(mappings) * 3)
182 for i in range(num_buckets)]
202 for i in range(num_buckets)
[all...]
/netbsd-current/external/bsd/elftoolchain/dist/common/
H A Duthash.h145 HASH_TO_BKT(_hd_hh_item->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \
161 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \
223 (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \
321 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _ha_bkt); \
344 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _ha_bkt); \
459 (head)->hh.tbl->num_buckets * sizeof(struct UT_hash_bucket)); \
475 HASH_TO_BKT(_hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \
526 for (_bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; ++_bkt_i) { \
841 sizeof(struct UT_hash_bucket) * (tbl)->num_buckets * 2U); \
846 sizeof(struct UT_hash_bucket) * (tbl)->num_buckets *
1096 unsigned num_buckets, log2_num_buckets; member in struct:UT_hash_table
[all...]
/netbsd-current/external/gpl3/binutils/dist/ld/
H A Dpdb.c268 uint32_t num_entries, num_buckets; local
305 num_buckets = num_entries * 2;
310 if (num_buckets > 0)
312 buckets = xmalloc (sizeof (struct hash_entry *) * num_buckets);
313 memset (buckets, 0, sizeof (struct hash_entry *) * num_buckets);
321 uint32_t bucket_num = hash % num_buckets;
327 if (bucket_num == num_buckets)
370 bfd_putl32 (num_buckets, int_buf);
378 bfd_putl32 ((num_buckets + 31) / 32, int_buf);
384 for (unsigned int i = 0; i < num_buckets;
4718 const unsigned int num_buckets = 4096; local
5024 uint32_t num_strings = 0, num_buckets; local
[all...]

Completed in 121 milliseconds