Home
last modified time | relevance | path

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

/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc393 c->table_elem_size[c->tail_remote_index % c->cap_table_elems]); in evict_entry()
397 c->table_elem_size[c->tail_remote_index % c->cap_table_elems]); in evict_entry()
424 c->table_elem_size[new_index % c->cap_table_elems] = in prepare_space_for_new_elem()
764 c->cap_table_elems = elems_for_bytes(c->max_table_size); in grpc_chttp2_hpack_compressor_init()
765 c->max_table_elems = c->cap_table_elems; in grpc_chttp2_hpack_compressor_init()
767 const size_t alloc_size = sizeof(*c->table_elem_size) * c->cap_table_elems; in grpc_chttp2_hpack_compressor_init()
801 c->table_elem_size[ofs % c->cap_table_elems]; in rebuild_elems()
804 c->cap_table_elems = new_cap; in rebuild_elems()
820 if (c->max_table_elems > c->cap_table_elems) { in grpc_chttp2_hpack_compressor_set_max_table_size()
821 rebuild_elems(c, GPR_MAX(c->max_table_elems, 2 * c->cap_table_elems)); in grpc_chttp2_hpack_compressor_set_max_table_size()
[all …]
Dhpack_encoder.h44 uint32_t cap_table_elems; member