MCPcopy Create free account
hub / github.com/apache/brpc / is_valid

Method is_valid

src/butil/memory/weak_ptr.cc:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool WeakReference::is_valid() const { return flag_.get() && flag_->IsValid(); }
34
35WeakReferenceOwner::WeakReferenceOwner() {
36}

Callers 7

EvictFileFromSystemCacheFunction · 0.45
TESTFunction · 0.45
IsValidMethod · 0.45
SetPlatformFileMethod · 0.45
getMethod · 0.45
ReadProcMapsFunction · 0.45

Calls 2

getMethod · 0.45
IsValidMethod · 0.45

Tested by 2

EvictFileFromSystemCacheFunction · 0.36
TESTFunction · 0.36