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

Method Load

catboost/private/libs/text_processing/dictionary.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 void TDictionaryProxy::Load(IInputStream* stream) {
57 ReadMagic(DictionaryMagic.data(), MagicSize, Alignment, stream);
58 Guid.Load(stream);
59
60 auto dictionaryImpl = MakeIntrusive<TMMapDictionary>();
61 dictionaryImpl->Load(stream);
62 DictionaryImpl = std::move(dictionaryImpl);
63 }
64
65 void TDictionaryProxy::LoadNonOwning(TMemoryInput *in) {
66 ReadMagic(DictionaryMagic.data(), MagicSize, Alignment, in);

Callers 1

LoadNonOwningMethod · 0.45

Calls 3

ReadMagicFunction · 0.85
moveFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected