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

Function Unown

common/memory.h:277–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 static void Unown(uintptr_t ptr) noexcept {
278 if (IsReferenceCount(ptr)) {
279 const auto* reference_count = AsReferenceCount(ptr);
280 ABSL_ASSUME(reference_count != nullptr);
281 common_internal::StrongUnref(reference_count);
282 }
283 }
284
285 uintptr_t ptr_ = kNone;
286};

Callers 1

DestroyFunction · 0.85

Calls 3

IsReferenceCountFunction · 0.85
AsReferenceCountFunction · 0.85
StrongUnrefFunction · 0.85

Tested by

no test coverage detected