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

Method Size

common/values/string_value.cc:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141size_t StringValue::Size() const {
142 return NativeValue([](const auto& alternative) -> size_t {
143 return internal::Utf8CodePointCount(alternative);
144 });
145}
146
147bool StringValue::IsEmpty() const {
148 return NativeValue(

Callers

nothing calls this directly

Calls 2

Utf8CodePointCountFunction · 0.85
NativeValueFunction · 0.70

Tested by

no test coverage detected