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

Function AppendUnicode

util/string/escape.cpp:182–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180namespace {
181 template <class TStr>
182 inline void AppendUnicode(TStr& s, wchar32 v) {
183 char buf[10];
184 size_t sz = 0;
185
186 WriteUTF8Char(v, sz, (ui8*)buf);
187 s.AppendNoAlias(buf, sz);
188 }
189
190 inline void AppendUnicode(TUtf16String& s, wchar32 v) {
191 WriteSymbol(v, s);

Callers 1

escape.cppFile · 0.85

Calls 3

WriteUTF8CharFunction · 0.85
WriteSymbolFunction · 0.85
AppendNoAliasMethod · 0.80

Tested by

no test coverage detected