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

Method Decompress

library/cpp/blockcodecs/core/common.h:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 size_t Decompress(const TData& in, void* out) const override {
90 Check(in);
91
92 const auto len = ReadUnaligned<ui64>(in.data());
93
94 if (!len)
95 return 0;
96
97 Base()->DoDecompress(TData(in).Skip(sizeof(len)), out, len);
98 return len;
99 }
100
101 inline const T* Base() const noexcept {
102 return static_cast<const T*>(this);

Callers

nothing calls this directly

Calls 6

BaseClass · 0.85
TDataClass · 0.70
CheckFunction · 0.50
dataMethod · 0.45
DoDecompressMethod · 0.45
SkipMethod · 0.45

Tested by

no test coverage detected