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

Method ListCodecs

library/cpp/blockcodecs/core/codecs.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 inline void ListCodecs(TCodecList& lst) const {
37 for (const auto& it : Registry) {
38 lst.push_back(it.first);
39 }
40
41 Sort(lst.begin(), lst.end());
42 }
43
44 inline void Add(ICodec* codec) {
45 Registry[codec->Name()] = codec;

Callers 1

ListAllCodecsMethod · 0.80

Calls 4

SortFunction · 0.50
push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected