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

Function ToUpper

library/cpp/charset/codepage.h:300–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300inline void ToUpper(char* s, size_t n, const CodePage& cp = csYandex) {
301 char* const e = s + n;
302 for (; s != e; ++s)
303 *s = cp.ToUpper(*s);
304}
305
306inline TString ToLower(TString s, const CodePage& cp, size_t pos = 0, size_t n = TString::npos) {
307 s.Transform([&cp](size_t, char c) { return cp.ToLower(c); }, pos, n);

Callers 2

to_upperMethod · 0.50
to_upperFunction · 0.50

Calls 2

ToUpperMethod · 0.60
TransformMethod · 0.45

Tested by

no test coverage detected