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

Method RegisterCodec

library/cpp/blockcodecs/core/codecs.cpp:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void NBlockCodecs::RegisterCodec(TCodecPtr codec) {
86 Singleton<TCodecFactory>()->Add(std::move(codec));
87}
88
89void NBlockCodecs::RegisterAlias(TStringBuf from, TStringBuf to) {
90 Singleton<TCodecFactory>()->Alias(from, to);

Callers

nothing calls this directly

Calls 2

moveFunction · 0.50
AddMethod · 0.45

Tested by

no test coverage detected