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

Method AddName

library/cpp/charset/codepage.cpp:143–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 inline void AddName(const TString& name, ECharset code) {
144 AddNameWithCheck(name, code);
145
146 TString temp = name;
147 RemoveAll(temp, '-');
148 RemoveAll(temp, '_');
149 AddNameWithCheck(temp, code);
150
151 temp = name;
152 SubstGlobal(temp, '-', '_');
153 AddNameWithCheck(temp, code);
154
155 temp = name;
156 SubstGlobal(temp, '_', '-');
157 AddNameWithCheck(temp, code);
158 }
159
160public:
161 inline TCodePageHash()

Callers

nothing calls this directly

Calls 2

RemoveAllFunction · 0.85
SubstGlobalFunction · 0.50

Tested by

no test coverage detected