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

Method Allocator

common/memory.h:319–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 static Borrower None() noexcept { return Borrower(); }
318
319 static Borrower Allocator(Allocator<> allocator) noexcept {
320 auto* arena = allocator.arena();
321 return arena != nullptr ? Arena(arena) : None();
322 }
323
324 static Borrower Arena(google::protobuf::Arena* absl_nonnull arena
325 ABSL_ATTRIBUTE_LIFETIME_BOUND) noexcept {

Callers

nothing calls this directly

Calls 2

ArenaFunction · 0.85
arenaMethod · 0.45

Tested by

no test coverage detected