Home
last modified time | relevance | path

Searched refs:TABLE_IDX (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/core/lib/slice/
Dslice_intern.cc39 #define TABLE_IDX(hash, capacity) (((hash) >> LOG2_SHARD_COUNT) % (capacity)) macro
85 for (prev_next = &shard->strs[TABLE_IDX(s->hash, shard->capacity)], in interned_slice_destroy()
142 size_t idx = TABLE_IDX(s->hash, capacity); in grow_shard()
226 size_t idx = TABLE_IDX(hash, shard->capacity); in grpc_slice_intern()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice_intern.cc41 #define TABLE_IDX(hash, capacity) (((hash) >> LOG2_SHARD_COUNT) % (capacity)) macro
75 for (prev_next = &shard->strs[TABLE_IDX(this->hash, shard->capacity)], in ~InternedSliceRefcount()
98 size_t idx = TABLE_IDX(s->hash, capacity); in grow_shard()
263 const size_t idx = TABLE_IDX(hash, shard->capacity); in FindOrCreateInternedSlice()
/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc69 #define TABLE_IDX(hash, capacity) (((hash) >> (LOG2_SHARD_COUNT)) % (capacity)) macro
220 idx = TABLE_IDX(hash, capacity); in grow_mdtab()
286 idx = TABLE_IDX(hash, shard->capacity); in grpc_mdelem_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dmetadata.cc101 #define TABLE_IDX(hash, capacity) (((hash) >> (LOG2_SHARD_COUNT)) % (capacity)) macro
335 idx = TABLE_IDX(hash, capacity); in grow_mdtab()
455 idx = TABLE_IDX(hash, shard->capacity); in md_create_must_intern()