MCPcopy Create free account
hub / github.com/apache/arrow / Reset

Method Reset

cpp/src/arrow/util/compression_zlib.cc:133–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 Status Reset() override {
134 DCHECK(initialized_);
135 finished_ = false;
136 int ret;
137 if ((ret = inflateReset(&stream_)) != Z_OK) {
138 return ZlibError("zlib inflateReset failed: ");
139 } else {
140 return Status::OK();
141 }
142 }
143
144 Result<DecompressResult> Decompress(int64_t input_len, const uint8_t* input,
145 int64_t output_len, uint8_t* output) override {

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected