Static Public Member Functions | Static Public Attributes | List of all members
google::protobuf::ArenaHooksTestUtil Class Reference

Static Public Member Functions

static void on_allocation (const std::type_info *, uint64 alloc_size, void *cookie)
 
static void on_destruction (Arena *arena, void *cookie, uint64 space_used)
 
static void * on_init (Arena *arena)
 
static void on_reset (Arena *arena, void *cookie, uint64 space_used)
 

Static Public Attributes

static const int kCookieValue = 999
 
static uint32 num_allocations = 0
 
static uint32 num_destruct = 0
 
static uint32 num_init = 0
 
static uint32 num_reset = 0
 

Detailed Description

Definition at line 1384 of file bloaty/third_party/protobuf/src/google/protobuf/arena_unittest.cc.

Member Function Documentation

◆ on_allocation()

static void google::protobuf::ArenaHooksTestUtil::on_allocation ( const std::type_info *  ,
uint64  alloc_size,
void *  cookie 
)
inlinestatic

◆ on_destruction()

static void google::protobuf::ArenaHooksTestUtil::on_destruction ( Arena arena,
void *  cookie,
uint64  space_used 
)
inlinestatic

◆ on_init()

static void* google::protobuf::ArenaHooksTestUtil::on_init ( Arena arena)
inlinestatic

◆ on_reset()

static void google::protobuf::ArenaHooksTestUtil::on_reset ( Arena arena,
void *  cookie,
uint64  space_used 
)
inlinestatic

Member Data Documentation

◆ kCookieValue

const int google::protobuf::ArenaHooksTestUtil::kCookieValue = 999
static

◆ num_allocations

uint32 google::protobuf::ArenaHooksTestUtil::num_allocations = 0
static

◆ num_destruct

uint32 google::protobuf::ArenaHooksTestUtil::num_destruct = 0
static

◆ num_init

uint32 google::protobuf::ArenaHooksTestUtil::num_init = 0
static

◆ num_reset

uint32 google::protobuf::ArenaHooksTestUtil::num_reset = 0
static

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:10