Searched refs:hash_table_sizes (Results 1 – 3 of 3) sorted by relevance
1277 peer_hashes = calloc(hash_table_sizes[0], in get_peer_info()1286 ph_pp = peer_hashes + (from % hash_table_sizes[ph_index]); in get_peer_info()1298 if (ph_num_peers >= hash_table_sizes[ph_index] * 5 && in get_peer_info()1299 hash_table_sizes[ph_index + 1] != 0 && in get_peer_info()1300 (ph_pp = calloc(hash_table_sizes[ph_index + 1], in get_peer_info()1303 for (i = hash_table_sizes[ph_index] - 1; i >= 0; i--) { in get_peer_info()1307 hash_table_sizes[ph_index + 1]); in get_peer_info()1315 ph_pp += from % hash_table_sizes[ph_index]; in get_peer_info()1351 for (i = hash_table_sizes[ph_index] - 1; i >= 0; i--) { in age_peer_info()
57 size_t hash_table_sizes[] = { 67, 131, 257, 521, 1031, 2053, 4099, 0 }; variable244 size_t initial_size = hash_table_sizes[0]; in iftbl_alloc()272 if ((new_size = hash_table_sizes[htbl->htbl_size_index + 1]) == 0) in htbl_grow()
613 extern size_t hash_table_sizes[]; /* list of primes for hash tables */