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

Method TIds

library/cpp/blockcodecs/core/stream.cpp:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20 struct TIds {
21 inline TIds() {
22 const TCodecList lst = ListAllCodecs();
23
24 for (size_t i = 0; i < lst.size(); ++i) {
25 const ICodec* c = Codec(lst[i]);
26
27 ByID[CodecID(c)] = c;
28 }
29 }
30
31 static inline TCodecID CodecID(const ICodec* c) {
32 const TStringBuf name = c->Name();

Callers

nothing calls this directly

Calls 2

CodecIDFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected