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

Method Flush

library/cpp/yt/string/string_builder-inl.h:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95////////////////////////////////////////////////////////////////////////////////
96
97inline std::string TStringBuilder::Flush()
98{
99 Buffer_.resize(GetLength());
100 auto result = std::move(Buffer_);
101 Reset();
102 return result;
103}
104
105inline void TStringBuilder::DoReset()
106{

Callers 9

ToStringViaBuilderFunction · 0.45
FormatOldFunction · 0.45
FormatFunction · 0.45
FormatVectorFunction · 0.45
FormatEnumFunction · 0.45
JoinToStringFunction · 0.45
ConvertToStringsFunction · 0.45

Calls 4

GetLengthFunction · 0.50
moveFunction · 0.50
ResetFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected