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

Function ToUpper

util/charset/wide.cpp:224–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224bool ToUpper(TUtf16String& text, size_t pos, size_t count) {
225 const auto f = [](const wchar32 s) { return ToUpper(s); };
226 return ModifyStringSymbolwise(text, pos, count, f);
227}
228
229bool ToLower(TUtf32String& text, size_t pos, size_t count) {
230 const auto f = [](const wchar32 s) { return ToLower(s); };

Callers 7

TestUnicodeCaseMethod · 0.70
TestToUpperMethod · 0.70
TestWideStringMethod · 0.70
TestToUpperStrMethod · 0.70
ConvertCharFunction · 0.70
ToUpperRetFunction · 0.70
to_upperMethod · 0.50

Calls 1

ModifyStringSymbolwiseFunction · 0.70

Tested by 4

TestUnicodeCaseMethod · 0.56
TestToUpperMethod · 0.56
TestWideStringMethod · 0.56
TestToUpperStrMethod · 0.56