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

Function absl_nullable arena

common/memory.h:199–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 explicit operator bool() const noexcept { return !IsNone(ptr_); }
198
199 google::protobuf::Arena* absl_nullable arena() const noexcept {
200 return (ptr_ & Owner::kBits) == Owner::kArenaBit
201 ? reinterpret_cast<google::protobuf::Arena*>(ptr_ & Owner::kPointerMask)
202 : nullptr;
203 }
204
205 void reset() noexcept {
206 Destroy(ptr_);

Callers

nothing calls this directly

Calls 1

arenaMethod · 0.45

Tested by

no test coverage detected