Searched refs:elem_hash (Results 1 – 2 of 2) sorted by relevance
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 246 grpc_chttp2_hpack_compressor* hpack_compressor, uint32_t elem_hash) { in UpdateHashtablePopularity() argument 247 const uint32_t popularity_hash = HASH_FRAGMENT_1(elem_hash); in UpdateHashtablePopularity() 443 uint32_t new_index, uint32_t elem_hash, in AddElemWithIndex() argument 446 UpdateAddOrEvict<MetadataComparator>(c->elem_table.entries, elem, elem_hash, in AddElemWithIndex() 452 size_t elem_size, uint32_t elem_hash, uint32_t key_hash) { in add_elem() argument 455 AddElemWithIndex(c, elem, new_index, elem_hash, key_hash); in add_elem() 633 EmitIndexedStatus(uint32_t elem_hash, bool emitted, bool can_add) in EmitIndexedStatus() 634 : elem_hash(elem_hash), emitted(emitted), can_add(can_add) {} in EmitIndexedStatus() 635 const uint32_t elem_hash = 0; member 643 const uint32_t elem_hash = in maybe_emit_indexed() local [all …]
|
/third_party/grpc/tools/codegen/core/ |
D | gen_static_metadata.py | 656 elem_hash = perfect_hash(elem_keys, 'elems') variable 657 print >> C, elem_hash['code'] 659 keys = [0] * int(elem_hash['PHASHNKEYS']) 660 idxs = [255] * int(elem_hash['PHASHNKEYS']) 662 h = elem_hash['pyfunc'](k)
|