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

Function GetSmall

common/internal/byte_string.h:381–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 constexpr ByteStringKind GetKind() const { return rep_.header.kind; }
380
381 absl::string_view GetSmall() const {
382 ABSL_DCHECK_EQ(GetKind(), ByteStringKind::kSmall);
383 return GetSmall(rep_.small);
384 }
385
386 static absl::string_view GetSmall(const SmallByteStringRep& rep) {
387 return absl::string_view(rep.data, rep.size);

Callers 14

VisitFunction · 0.85
FlattenMethod · 0.85
TryFlatMethod · 0.85
CopyToArrayMethod · 0.85
ToStringMethod · 0.85
CopyToStringMethod · 0.85
AppendToStringMethod · 0.85
ToCordMethod · 0.85
CopyToCordMethod · 0.85
AppendToCordMethod · 0.85
ToStringViewMethod · 0.85
AsStringViewMethod · 0.85

Calls 1

GetKindFunction · 0.85

Tested by

no test coverage detected