Searched refs:elem_hash (Results 1 – 2 of 2) sorted by relevance
270 uint32_t elem_hash = GRPC_MDSTR_KV_HASH(key_hash, value_hash); in add_elem_with_index() local273 if (grpc_mdelem_eq(c->entries_elems[HASH_FRAGMENT_2(elem_hash)], elem)) { in add_elem_with_index()275 c->indices_elems[HASH_FRAGMENT_2(elem_hash)] = new_index; in add_elem_with_index()276 } else if (grpc_mdelem_eq(c->entries_elems[HASH_FRAGMENT_3(elem_hash)], in add_elem_with_index()279 c->indices_elems[HASH_FRAGMENT_3(elem_hash)] = new_index; in add_elem_with_index()280 } else if (GRPC_MDISNULL(c->entries_elems[HASH_FRAGMENT_2(elem_hash)])) { in add_elem_with_index()282 c->entries_elems[HASH_FRAGMENT_2(elem_hash)] = GRPC_MDELEM_REF(elem); in add_elem_with_index()283 c->indices_elems[HASH_FRAGMENT_2(elem_hash)] = new_index; in add_elem_with_index()284 } else if (GRPC_MDISNULL(c->entries_elems[HASH_FRAGMENT_3(elem_hash)])) { in add_elem_with_index()286 c->entries_elems[HASH_FRAGMENT_3(elem_hash)] = GRPC_MDELEM_REF(elem); in add_elem_with_index()[all …]
584 elem_hash = perfect_hash(elem_keys, 'elems') variable585 print >> C, elem_hash['code']587 keys = [0] * int(elem_hash['PHASHRANGE'])588 idxs = [255] * int(elem_hash['PHASHNKEYS'])590 h = elem_hash['pyfunc'](k)