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

Method Compare

common/values/bytes_value.cc:177–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175} // namespace
176
177int BytesValue::Compare(absl::string_view bytes) const {
178 return NativeValue([bytes](const auto& alternative) -> int {
179 return CompareImpl(alternative, bytes);
180 });
181}
182
183int BytesValue::Compare(const absl::Cord& bytes) const {
184 return NativeValue([&bytes](const auto& alternative) -> int {

Callers 10

MatchAndExplainMethod · 0.45
operator<Function · 0.45
CompareImplFunction · 0.45
LessThanFunction · 0.45
LessThanOrEqualFunction · 0.45
GreaterThanFunction · 0.45
GreaterThanOrEqualFunction · 0.45
utils.hFile · 0.45
IsEqualFunction · 0.45

Calls 4

CompareImplFunction · 0.85
CompareFunction · 0.85
NativeValueFunction · 0.70
NativeValueMethod · 0.45

Tested by

no test coverage detected