Searched refs:n_buckets (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/contrib/libucl/klib/
H A Dkhash.h196 khint_t n_buckets, size, n_occupied, upper_bound; \
226 memset(h->flags, 0xaa, __ac_fsize(h->n_buckets) * sizeof(khint32_t)); \
232 if (h->n_buckets) { \
234 mask = h->n_buckets - 1; \
239 if (i == last) return h->n_buckets; \
241 return __ac_iseither(h->flags, i)? h->n_buckets : i; \
245 { /* This function uses 0.25*n_buckets bytes of working space instead of [sizeof(key_t+val_t)+.25]*n_buckets. */ \
256 if (h->n_buckets < new_n_buckets) { /* expand */ \
269 for (j = 0; j != h->n_buckets;
[all...]
/freebsd-13-stable/sys/contrib/ck/include/
H A Dck_bitmap.h226 unsigned int n_buckets = dst->n_bits; local
229 n_buckets = src->n_bits;
231 n_buckets = CK_BITMAP_BLOCKS(n_buckets);
232 for (n = 0; n < n_buckets; n++) {
249 unsigned int n_buckets = dst->n_bits; local
250 unsigned int n_intersect = n_buckets;
255 n_buckets = CK_BITMAP_BLOCKS(n_buckets);
262 for (; n < n_buckets;
300 unsigned int n_buckets = ck_bitmap_base(bitmap->n_bits) / local
[all...]

Completed in 85 milliseconds