#include <arena_impl.h>
Public Member Functions | |
bool | IsDefault () const |
Public Attributes | |
void *(* | block_alloc )(size_t) = nullptr |
void(* | block_dealloc )(void *, size_t) = nullptr |
size_t | max_block_size = kDefaultMaxBlockSize |
ArenaMetricsCollector * | metrics_collector = nullptr |
size_t | start_block_size = kDefaultStartBlockSize |
Static Public Attributes | |
static constexpr size_t | kDefaultMaxBlockSize = 8192 |
static constexpr size_t | kDefaultStartBlockSize = 256 |
Definition at line 94 of file protobuf/src/google/protobuf/arena_impl.h.
|
inline |
Definition at line 104 of file protobuf/src/google/protobuf/arena_impl.h.
void*(* google::protobuf.internal::AllocationPolicy::block_alloc) (size_t) = nullptr |
Definition at line 100 of file protobuf/src/google/protobuf/arena_impl.h.
void(* google::protobuf.internal::AllocationPolicy::block_dealloc) (void *, size_t) = nullptr |
Definition at line 101 of file protobuf/src/google/protobuf/arena_impl.h.
|
staticconstexpr |
Definition at line 96 of file protobuf/src/google/protobuf/arena_impl.h.
|
staticconstexpr |
Definition at line 95 of file protobuf/src/google/protobuf/arena_impl.h.
size_t google::protobuf.internal::AllocationPolicy::max_block_size = kDefaultMaxBlockSize |
Definition at line 99 of file protobuf/src/google/protobuf/arena_impl.h.
ArenaMetricsCollector* google::protobuf.internal::AllocationPolicy::metrics_collector = nullptr |
Definition at line 102 of file protobuf/src/google/protobuf/arena_impl.h.
size_t google::protobuf.internal::AllocationPolicy::start_block_size = kDefaultStartBlockSize |
Definition at line 98 of file protobuf/src/google/protobuf/arena_impl.h.