Searched refs:NUM_HASH_BUCKETS (Results 1 – 1 of 1) sorted by relevance
90 #define NUM_HASH_BUCKETS 1009 /* Prime number close to 1000 */ macro92 static gpr_mu g_hash_mu[NUM_HASH_BUCKETS]; /* One mutex per bucket */93 static grpc_timer* g_timer_ht[NUM_HASH_BUCKETS] = {nullptr};96 for (int i = 0; i < NUM_HASH_BUCKETS; i++) { in init_timer_ht()102 for (int i = 0; i < NUM_HASH_BUCKETS; i++) { in destroy_timer_ht()108 size_t i = GPR_HASH_POINTER(t, NUM_HASH_BUCKETS); in is_in_ht()122 size_t i = GPR_HASH_POINTER(t, NUM_HASH_BUCKETS); in add_to_ht()147 size_t i = GPR_HASH_POINTER(t, NUM_HASH_BUCKETS); in remove_from_ht()