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

Method GetArena

common/internal/byte_string.cc:190–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190google::protobuf::Arena* absl_nullable ByteString::GetArena() const {
191 switch (GetKind()) {
192 case ByteStringKind::kSmall:
193 return GetSmallArena();
194 case ByteStringKind::kMedium:
195 return GetMediumArena();
196 case ByteStringKind::kLarge:
197 return nullptr;
198 }
199}
200
201bool ByteString::empty() const {
202 switch (GetKind()) {

Callers 14

TEST_PFunction · 0.45
TESTFunction · 0.45
ParsedMessageValueMethod · 0.45
CheckArenaMethod · 0.45
CharAtMethod · 0.45
CheckArenaMethod · 0.45
ParsedMapFieldValueMethod · 0.45
CheckArenaMethod · 0.45

Calls 1

GetKindFunction · 0.85

Tested by 2

TEST_PFunction · 0.36
TESTFunction · 0.36