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

Function IsExpiredRef

common/internal/reference_count.h:384–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384ABSL_MUST_USE_RESULT
385inline bool IsExpiredRef(const ReferenceCount& refcount) noexcept {
386 const auto count = refcount.strong_refcount_.load(std::memory_order_acquire);
387 ABSL_DCHECK_GE(count, 0);
388 ABSL_ASSUME(count >= 0);
389 return count == 0;
390}
391
392ABSL_MUST_USE_RESULT
393inline bool IsExpiredRef(

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68