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

Method Create

library/cpp/charset/cp_encrec.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void Recoder::Create(const CodePage& source, const Encoder* wideTarget) {
17 for (size_t i = 0; i != 256; ++i) {
18 Table[i] = wideTarget->Tr(source.unicode[i]);
19 Y_ASSERT(Table[i] != 0 || i == 0);
20 }
21}
22
23void Recoder::Create(const CodePage& page, const Encoder* widePage, wchar32 (*mapfunc)(wchar32)) {
24 for (size_t i = 0; i != 256; ++i) {

Callers

nothing calls this directly

Calls 2

TrMethod · 0.45
CodeMethod · 0.45

Tested by

no test coverage detected