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

Method Size

common/values/parsed_map_field_value.cc:179–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177bool ParsedMapFieldValue::IsEmpty() const { return Size() == 0; }
178
179size_t ParsedMapFieldValue::Size() const {
180 ABSL_DCHECK(*this);
181 if (ABSL_PREDICT_FALSE(field_ == nullptr)) {
182 return 0;
183 }
184 return static_cast<size_t>(extensions::protobuf_internal::MapSize(
185 *GetReflection(), *message_, *field_));
186}
187
188namespace {
189

Callers

nothing calls this directly

Calls 1

MapSizeFunction · 0.85

Tested by

no test coverage detected