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

Function SubstGlobal

util/string/subst.cpp:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158static_assert(std::is_unsigned<wchar32>::value == std::is_unsigned<char32_t>::value, "");
159
160size_t SubstGlobal(TString& text, const TStringBuf what, const TStringBuf with, size_t from) {
161 return SubstGlobalImpl(text, what, with, from);
162}
163
164size_t SubstGlobal(std::string& text, const TStringBuf what, const TStringBuf with, size_t from) {
165 return SubstGlobalImpl(text, what, with, from);

Callers 9

AssertSubstGlobalFunction · 0.70
Y_UNIT_TESTFunction · 0.70
JsonEscapeFunction · 0.50
GenerateEnumFunction · 0.50
mainFunction · 0.50
TestUtilsMethod · 0.50
TypeNameImplFunction · 0.50

Calls 4

SubstGlobalImplFunction · 0.70
SubstCharGlobalImplFunction · 0.70
dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

TestUtilsMethod · 0.40