GRPC Core
6.0.0
|
Reference count container for grpc_slice. More...
#include <slice.h>
Data Fields | |
const grpc_slice_refcount_vtable * | vtable |
struct grpc_slice_refcount * | sub_refcount |
If a subset of this slice is taken, use this pointer for the refcount. More... | |
Reference count container for grpc_slice.
Contains function pointers to increment and decrement reference counts. Implementations should cleanup when the reference count drops to zero. Typically client code should not touch this, and use grpc_slice_malloc, grpc_slice_new, or grpc_slice_new_with_len instead.
struct grpc_slice_refcount* grpc_slice_refcount::sub_refcount |
If a subset of this slice is taken, use this pointer for the refcount.
Typically points back to the refcount itself, however iterning implementations can use this to avoid a verification step on each hash or equality check
const grpc_slice_refcount_vtable* grpc_slice_refcount::vtable |