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

Function Allocator

common/memory.h:129–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 static Owner None() noexcept { return Owner(); }
128
129 static Owner Allocator(Allocator<> allocator) noexcept {
130 auto* arena = allocator.arena();
131 return arena != nullptr ? Arena(arena) : None();
132 }
133
134 static Owner Arena(google::protobuf::Arena* absl_nonnull arena
135 ABSL_ATTRIBUTE_LIFETIME_BOUND) noexcept {

Callers 1

TESTFunction · 0.70

Calls 2

ArenaFunction · 0.85
arenaMethod · 0.45

Tested by 1

TESTFunction · 0.56