Go to the documentation of this file.
19 #ifndef GRPC_CORE_LIB_SLICE_SLICE_INTERNAL_H
20 #define GRPC_CORE_LIB_SLICE_SLICE_INTERNAL_H
29 #include "absl/strings/string_view.h"
63 bool* returned_slice_is_different);
#define GPR_DEBUG_ASSERT(x)
static const uint8_t seed[20]
absl::string_view StringViewFromSlice(const grpc_slice &slice)
void grpc_slice_buffer_destroy_internal(grpc_slice_buffer *sb)
uint32_t grpc_static_slice_hash(grpc_slice s)
std::size_t operator()(const grpc_slice &slice) const
void grpc_test_only_set_slice_hash_seed(uint32_t seed)
int grpc_static_slice_eq(grpc_slice a, grpc_slice b)
grpc_slice grpc_slice_from_moved_string(grpc_core::UniquePtr< char > p)
grpc_slice grpc_slice_from_moved_buffer(grpc_core::UniquePtr< char > p, size_t len)
#define GRPC_SLICE_START_PTR(slice)
void grpc_slice_buffer_reset_and_unref_internal(grpc_slice_buffer *sb)
bool operator==(const grpc_slice &s1, const grpc_slice &s2)
grpc_slice * grpc_slice_buffer_peek_first(grpc_slice_buffer *sb)
std::unique_ptr< T, DefaultDeleteChar > UniquePtr
void grpc_slice_buffer_partial_unref_internal(grpc_slice_buffer *sb, size_t idx)
#define GRPC_SLICE_LENGTH(slice)
void grpc_slice_buffer_sub_first(grpc_slice_buffer *sb, size_t begin, size_t end)
void grpc_slice_buffer_remove_first(grpc_slice_buffer *sb)
absl::string_view string_view
grpc_slice grpc_slice_from_cpp_string(std::string str)
uint32_t grpc_slice_hash_internal(const grpc_slice &s)
size_t grpc_slice_memory_usage(grpc_slice s)
grpc_slice grpc_slice_maybe_static_intern(grpc_slice slice, bool *returned_slice_is_different)
uint32_t gpr_murmur_hash3(const void *key, size_t len, uint32_t seed)
GPRAPI int grpc_slice_eq(grpc_slice a, grpc_slice b)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:19