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

Method FindEncoder

library/cpp/http/io/compression.h:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 inline const TEncoderConstructor* FindEncoder(TStringBuf name) const {
29 if (auto codec = Codecs_.FindPtr(name)) {
30 return &codec->Encoder;
31 }
32
33 return nullptr;
34 }
35
36 inline TArrayRef<const TStringBuf> GetBestCodecs() const {
37 return BestCodecs_;

Callers 2

Y_UNIT_TESTFunction · 0.80
RebuildStreamMethod · 0.80

Calls 1

FindPtrMethod · 0.45

Tested by

no test coverage detected