Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Unshare
Method
Unshare
util/generic/ptr.h:1204–1208 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1202
#endif
1203
private:
1204
inline void Unshare() {
1205
if (Shared()) {
1206
Reset(TCopy::Copy(T_.Get()));
1207
}
1208
}
1209
1210
private:
1211
TPtr T_;
Callers
nothing calls this directly
Calls
3
Copy
Function · 0.70
Reset
Function · 0.50
Get
Method · 0.45
Tested by
no test coverage detected