Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Mutable
Method
Mutable
util/generic/ptr.h:1175–1179 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1173
}
1174
1175
inline T* Mutable() {
1176
Unshare();
1177
1178
return T_.Get();
1179
}
1180
1181
inline bool Shared() const noexcept {
1182
return T_.RefCount() > 1;
Callers
2
TestCopyOnWritePtr1
Method · 0.45
TestCopyOnWritePtr2
Method · 0.45
Calls
1
Get
Method · 0.45
Tested by
2
TestCopyOnWritePtr1
Method · 0.36
TestCopyOnWritePtr2
Method · 0.36