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

Method ReferenceCount

common/memory.h:332–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330 static Borrower Arena(std::nullptr_t) = delete;
331
332 static Borrower ReferenceCount(
333 const ReferenceCount* absl_nonnull reference_count
334 ABSL_ATTRIBUTE_LIFETIME_BOUND) noexcept {
335 ABSL_DCHECK(reference_count != nullptr);
336 return Borrower(reinterpret_cast<uintptr_t>(reference_count) |
337 Owner::kReferenceCountBit);
338 }
339
340 static Borrower ReferenceCount(std::nullptr_t) = delete;
341

Callers

nothing calls this directly

Calls 1

BorrowerClass · 0.85

Tested by

no test coverage detected