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

Method Init

cpp/src/arrow/util/compression_lz4.cc:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 Status Init() {
78 LZ4F_errorCode_t ret;
79 finished_ = false;
80
81 ret = LZ4F_createDecompressionContext(&ctx_, LZ4F_VERSION);
82 if (LZ4F_isError(ret)) {
83 return LZ4Error(ret, "LZ4 init failed: ");
84 } else {
85 return Status::OK();
86 }
87 }
88
89 Status Reset() override {
90#if defined(LZ4_VERSION_NUMBER) && LZ4_VERSION_NUMBER >= 10800

Callers

nothing calls this directly

Calls 2

LZ4ErrorFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected