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

Method AppendString

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

Source from the content-addressed store, hash-verified

61}
62
63inline void TStringBuilderBase::AppendString(TStringBuf str)
64{
65 if (Y_LIKELY(str)) {
66 char* dst = Preallocate(str.length());
67 ::memcpy(dst, str.begin(), str.length());
68 Advance(str.length());
69 }
70}
71
72inline void TStringBuilderBase::AppendString(const char* str)
73{

Callers 15

FormatValueFunction · 0.45
FormatRangeFunction · 0.45
FormatKeyValueRangeFunction · 0.45
operator()Method · 0.45
FormatStringFunction · 0.45
operator()Method · 0.45
operator()Method · 0.45
RunFormatterFullScanFunction · 0.45
RunFormatterFunction · 0.45
FormatEnumFunction · 0.45
operator&Method · 0.45

Calls 4

AdvanceFunction · 0.50
AppendStringFunction · 0.50
lengthMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected