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

Method Decode

library/cpp/blockcodecs/core/codecs.cpp:119–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void ICodec::Decode(const TData& in, TBuffer& out) const {
120 const size_t len = GetDecompressedLength(in);
121
122 out.Reserve(len);
123 out.Resize(Decompress(in, out.Data()));
124}
125
126void ICodec::Encode(const TData& in, TString& out) const {
127 const size_t maxLen = MaxCompressedLength(in);

Callers 7

TestAllAtOnceFunction · 0.45
Y_UNIT_TESTFunction · 0.45
DoUnboundedNextMethod · 0.45
DecodeContentMethod · 0.45
Y_UNIT_TESTFunction · 0.45
Base64DecodeFunction · 0.45
DecompressMethod · 0.45

Calls 6

DecompressFunction · 0.85
ReserveMethod · 0.45
ResizeMethod · 0.45
DataMethod · 0.45
beginMethod · 0.45
resizeMethod · 0.45

Tested by 1

TestAllAtOnceFunction · 0.36