| 662 | } |
| 663 | |
| 664 | const ReferenceCount* absl_nullable ByteString::GetMediumReferenceCount( |
| 665 | const MediumByteStringRep& rep) { |
| 666 | if ((rep.owner & kMetadataOwnerBits) == kMetadataOwnerReferenceCountBit) { |
| 667 | return reinterpret_cast<const ReferenceCount*>(rep.owner & |
| 668 | kMetadataOwnerPointerMask); |
| 669 | } |
| 670 | return nullptr; |
| 671 | } |
| 672 | |
| 673 | void ByteString::Construct(const ByteString& other, |
| 674 | absl::optional<Allocator<>> allocator) { |
no outgoing calls
no test coverage detected