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

Method CheckArena

common/values/parsed_message_value.h:196–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 }
195
196 static absl::Status CheckArena(const google::protobuf::Message* absl_nullable message,
197 google::protobuf::Arena* absl_nonnull arena) {
198 if (message != nullptr && message->GetArena() != nullptr &&
199 message->GetArena() != arena) {
200 return absl::InvalidArgumentError(
201 "message arena must be the same as arena");
202 }
203 return absl::OkStatus();
204 }
205
206 absl::Status GetField(
207 const google::protobuf::FieldDescriptor* absl_nonnull field,

Callers

nothing calls this directly

Calls 1

GetArenaMethod · 0.45

Tested by

no test coverage detected