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

Method CharsetByName

library/cpp/charset/codepage.cpp:181–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 }
180
181 inline ECharset CharsetByName(TStringBuf name) {
182 if (!name)
183 return CODES_UNKNOWN;
184
185 TData::const_iterator it = Data.find(name);
186 if (it == Data.end())
187 return CODES_UNKNOWN;
188
189 return it->second;
190 }
191};
192
193ECharset CharsetByName(TStringBuf name) {

Callers 1

CharsetByNameFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected