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

Method SetDict

util/stream/zlib.cpp:153–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152
153 void SetDict() {
154 if (inflateSetDictionary(Z(), (const Bytef*)Dict.data(), Dict.size()) != Z_OK) {
155 ythrow TZLibCompressorError() << "can not set inflate dictionary";
156 }
157 }
158
159 bool AllowMultipleStreams_ = true;
160 TStringBuf Dict;

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected