MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / ProtoMemoryManager

Function ProtoMemoryManager

extensions/protobuf/memory_manager.cc:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace extensions {
24
25MemoryManagerRef ProtoMemoryManager(google::protobuf::Arena* arena) {
26 return arena != nullptr ? MemoryManagerRef::Pooling(arena)
27 : MemoryManagerRef::ReferenceCounting();
28}
29
30google::protobuf::Arena* absl_nullable ProtoMemoryManagerArena(
31 MemoryManager memory_manager) {

Callers 3

TESTFunction · 0.85
ProtoMemoryManagerRefFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68