25 #if FOLLY_HAVE_LIBZSTD 27 #ifndef ZSTD_STATIC_LINKING_ONLY 28 #define ZSTD_STATIC_LINKING_ONLY 45 explicit Options(
int level);
52 void set(ZSTD_cParameter param,
unsigned value);
60 void setMaxWindowSize(
size_t maxWindowSize) {
61 maxWindowSize_ = maxWindowSize;
65 ZSTD_CCtx_params
const*
params()
const {
75 size_t maxWindowSize()
const {
76 return maxWindowSize_;
80 static void freeCCtxParams(ZSTD_CCtx_params*
params);
85 size_t maxWindowSize_{0};
90 std::unique_ptr<Codec>
getCodec(Options options);
—— Concurrent Priority Queue Implementation ——
constexpr Params params[]
std::unique_ptr< StreamCodec > getStreamCodec(CodecType type, int level)
uint64_t value(const typename LockFreeRingBuffer< T, Atom >::Cursor &rbcursor)
std::unique_ptr< Codec > getCodec(CodecType type, int level)