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

Method GetMediumArena

common/internal/byte_string.cc:655–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655google::protobuf::Arena* absl_nullable ByteString::GetMediumArena(
656 const MediumByteStringRep& rep) {
657 if ((rep.owner & kMetadataOwnerBits) == kMetadataOwnerArenaBit) {
658 return reinterpret_cast<google::protobuf::Arena*>(rep.owner &
659 kMetadataOwnerPointerMask);
660 }
661 return nullptr;
662}
663
664const ReferenceCount* absl_nullable ByteString::GetMediumReferenceCount(
665 const MediumByteStringRep& rep) {

Callers 2

ConstructMethod · 0.80
LegacyByteStringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected