Home
last modified time | relevance | path

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

/freebsd/contrib/libucl/klib/
H A Dkhash.h232 if (h->n_buckets) { \
234 mask = h->n_buckets - 1; \
239 if (i == last) return h->n_buckets; \
269 for (j = 0; j != h->n_buckets; ++j) { \
301 h->n_buckets = new_n_buckets; \
311 if (h->n_buckets > (h->size<<1)) { \
313 *ret = -1; return h->n_buckets; \
316 *ret = -1; return h->n_buckets; \
330 if (x == h->n_buckets) { \
535 #define kh_end(h) ((h)->n_buckets)
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_bitmap.h226 unsigned int n_buckets = dst->n_bits; in ck_bitmap_union() local
229 n_buckets = src->n_bits; in ck_bitmap_union()
231 n_buckets = CK_BITMAP_BLOCKS(n_buckets); in ck_bitmap_union()
232 for (n = 0; n < n_buckets; n++) { in ck_bitmap_union()
249 unsigned int n_buckets = dst->n_bits; in ck_bitmap_intersection() local
250 unsigned int n_intersect = n_buckets; in ck_bitmap_intersection()
255 n_buckets = CK_BITMAP_BLOCKS(n_buckets); in ck_bitmap_intersection()
262 for (; n < n_buckets; n++) in ck_bitmap_intersection()
300 unsigned int n_buckets = ck_bitmap_base(bitmap->n_bits) / in ck_bitmap_clear() local
303 for (i = 0; i < n_buckets; i++) in ck_bitmap_clear()