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

Function ReferenceCount

common/memory.h:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 static Owner Arena(std::nullptr_t) = delete;
141
142 static Owner ReferenceCount(const ReferenceCount* absl_nonnull reference_count
143 ABSL_ATTRIBUTE_LIFETIME_BOUND) noexcept {
144 ABSL_DCHECK(reference_count != nullptr);
145 common_internal::StrongRef(*reference_count);
146 return Owner(reinterpret_cast<uintptr_t>(reference_count) |
147 kReferenceCountBit);
148 }
149
150 static Owner ReferenceCount(std::nullptr_t) = delete;
151

Callers

nothing calls this directly

Calls 2

StrongRefFunction · 0.85
OwnerFunction · 0.85

Tested by

no test coverage detected