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

Method Destroy

common/internal/byte_string.cc:930–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928}
929
930void ByteString::Destroy() {
931 switch (GetKind()) {
932 case ByteStringKind::kSmall:
933 break;
934 case ByteStringKind::kMedium:
935 DestroyMedium();
936 break;
937 case ByteStringKind::kLarge:
938 DestroyLarge();
939 break;
940 }
941}
942
943void ByteString::SetSmall(google::protobuf::Arena* absl_nullable arena,
944 absl::string_view string) {

Callers

nothing calls this directly

Calls 3

GetKindFunction · 0.85
DestroyMediumFunction · 0.85
DestroyLargeFunction · 0.85

Tested by

no test coverage detected