MCPcopy Create free account
hub / github.com/catboost/catboost / RefCount

Method RefCount

util/generic/ptr.h:948–950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

946 }
947
948 inline long RefCount() const noexcept {
949 return C_ ? C_->Val() : 0;
950 }
951
952 template <class TT>
953 [[nodiscard]] inline TSharedPtr<TT, C, D> As() & noexcept {

Callers 15

RefCountFunction · 0.45
with_lockFunction · 0.45
DropAllLoadersMethod · 0.45
GetMutableMethod · 0.45
DoMethod · 0.45
GetQuantizedObjectsDataFunction · 0.45
TestIntrPtrMethod · 0.45

Calls 1

ValMethod · 0.45

Tested by 6

TestIntrPtrMethod · 0.36
TestMakeIntrusiveMethod · 0.36
TestSharedPtrDowncastMethod · 0.36
TestRefCountMethod · 0.36