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

Method arena

common/memory.h:382–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 explicit operator bool() const noexcept { return !Owner::IsNone(ptr_); }
381
382 google::protobuf::Arena* absl_nullable arena() const noexcept {
383 return (ptr_ & Owner::kBits) == Owner::kArenaBit
384 ? reinterpret_cast<google::protobuf::Arena*>(ptr_ & Owner::kPointerMask)
385 : nullptr;
386 }
387
388 void reset() noexcept { ptr_ = 0; }
389

Callers 15

operator()Method · 0.45
ArenaStringFunction · 0.45
AllocatorFunction · 0.45
AllocatorMethod · 0.45
AllocateUniqueFunction · 0.45
WrapUniqueFunction · 0.45
absl_nullable arenaFunction · 0.45
AllocateSharedFunction · 0.45
WrapSharedFunction · 0.45
arenaMethod · 0.45
MemoryManagerMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TEST_PFunction · 0.36
TEST_PFunction · 0.36