Home
last modified time | relevance | path

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

/vim-8.2.3635/src/
H A Dmemfile_test.c38 long_u num_buckets; in test_mf_hash() local
48 num_buckets = ht.mht_mask + 1; in test_mf_hash()
49 assert(num_buckets > 0 && (num_buckets & (num_buckets - 1)) == 0); in test_mf_hash()
52 assert(ht.mht_count <= (num_buckets << MHT_LOG_LOAD_FACTOR)); in test_mf_hash()
57 assert(num_buckets == MHT_INIT_SIZE); in test_mf_hash()
62 assert(num_buckets > MHT_INIT_SIZE); in test_mf_hash()
77 if (ht.mht_mask + 1 != num_buckets) in test_mf_hash()
80 assert(ht.mht_mask + 1 == num_buckets * MHT_GROWTH_FACTOR); in test_mf_hash()
81 assert(i + 1 == (num_buckets << MHT_LOG_LOAD_FACTOR)); in test_mf_hash()