Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ AsString
Method
AsString
util/generic/buffer.cpp:96–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
void TBuffer::AsString(TString& s) {
97
s.assign(Data(), Size());
98
Clear();
99
}
100
101
void TBuffer::AsString(std::string& s) {
102
s.assign(Data(), Size());
Callers
2
TestAllAtOnce
Function · 0.45
Y_UNIT_TEST
Function · 0.45
Calls
4
Data
Class · 0.70
Size
Function · 0.50
Clear
Function · 0.50
assign
Method · 0.45
Tested by
1
TestAllAtOnce
Function · 0.36