Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c203 uint32_t _n_buckets; /* number of buckets */ member
299 return (100 * h->_n_entries) / (h->_n_buckets * _CHT_BUCKET_SLOTS); in cuckoo_hashtable_load_factor()
425 h->_n_buckets = n_buckets; in cuckoo_hashtable_create()
426 h->_capacity = h->_rcapacity = h->_n_buckets * _CHT_BUCKET_SLOTS; in cuckoo_hashtable_create()
455 for (i = 0; i < h->_n_buckets; i++) { in cuckoo_hashtable_free()
458 sk_free_type_array(struct _bucket, h->_n_buckets, h->_buckets); in cuckoo_hashtable_free()
472 return h->_n_buckets * _CHT_BUCKET_SLOTS; in cuckoo_hashtable_capacity()
479 (h->_n_buckets * sizeof(struct _bucket)); in cuckoo_hashtable_memory_footprint()
795 for (uint32_t i = 0; i < h->_n_buckets; i++) {
855 uint32_t curr_capacity = h->_n_buckets * _CHT_BUCKET_SLOTS; in cuckoo_resize()
[all …]
/xnu-8019.80.24/tools/lldbmacros/
H A Dskywalk.py745 for i in range(0, cht._n_buckets):