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

Method MutableArena

eval/compiler/flat_expr_builder_extensions.h:405–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403 bool HasExplicitArena() const { return explicit_arena_; }
404
405 google::protobuf::Arena* absl_nonnull MutableArena() {
406 if (!explicit_arena_ && arena_ == nullptr) {
407 arena_ = std::make_shared<google::protobuf::Arena>();
408 }
409 ABSL_DCHECK(arena_ != nullptr);
410 return arena_.get();
411 }
412
413 // Returns `true` if a message factory was explicitly provided during
414 // planning.

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected