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

Method StartsWith

common/internal/byte_string.cc:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269bool ByteString::StartsWith(absl::string_view rhs) const {
270 return Visit(absl::Overload(
271 [&rhs](absl::string_view lhs) -> bool {
272 return absl::StartsWith(lhs, rhs);
273 },
274 [&rhs](const absl::Cord& lhs) -> bool { return lhs.StartsWith(rhs); }));
275}
276
277bool ByteString::StartsWith(const absl::Cord& rhs) const {
278 return Visit(absl::Overload(

Callers

nothing calls this directly

Calls 2

VisitFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected