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

Function Arena

common/memory.h:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 static Owner Arena(google::protobuf::Arena* absl_nonnull arena
135 ABSL_ATTRIBUTE_LIFETIME_BOUND) noexcept {
136 ABSL_DCHECK(arena != nullptr);
137 return Owner(reinterpret_cast<uintptr_t>(arena) | kArenaBit);
138 }
139
140 static Owner Arena(std::nullptr_t) = delete;
141

Callers 15

operator()Method · 0.85
WrapFieldImplFunction · 0.85
WrapRepeatedFieldImplFunction · 0.85
WrapMapFieldValueImplFunction · 0.85
WrapMapFieldKeyStringMethod · 0.85
AllocatorFunction · 0.85
AllocatorMethod · 0.85

Calls 1

OwnerFunction · 0.85

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68