MCPcopy Create free account
hub / github.com/Snapchat/Valdi / retainCount

Method retainCount

valdi_core/src/valdi_core/cpp/Utils/Shared.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 if (result == 0) {
26 delete this;
27 }
28}
29
30long SimpleRefCountable::retainCount() const {
31 return _retainCount.load();
32}

Callers 1

use_countMethod · 0.45

Calls 2

use_countMethod · 0.80
loadMethod · 0.65

Tested by

no test coverage detected