MCPcopy 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
96void TBuffer::AsString(TString& s) {
97 s.assign(Data(), Size());
98 Clear();
99}
100
101void TBuffer::AsString(std::string& s) {
102 s.assign(Data(), Size());

Callers 2

TestAllAtOnceFunction · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 4

DataClass · 0.70
SizeFunction · 0.50
ClearFunction · 0.50
assignMethod · 0.45

Tested by 1

TestAllAtOnceFunction · 0.36