Path: blob/master/Utilities/cmzstd/lib/compress/zstd_double_fast.h
3158 views
/*1* Copyright (c) Meta Platforms, Inc. and affiliates.2* All rights reserved.3*4* This source code is licensed under both the BSD-style license (found in the5* LICENSE file in the root directory of this source tree) and the GPLv2 (found6* in the COPYING file in the root directory of this source tree).7* You may select, at your option, one of the above-listed licenses.8*/910#ifndef ZSTD_DOUBLE_FAST_H11#define ZSTD_DOUBLE_FAST_H1213#if defined (__cplusplus)14extern "C" {15#endif1617#include "../common/mem.h" /* U32 */18#include "zstd_compress_internal.h" /* ZSTD_CCtx, size_t */1920void ZSTD_fillDoubleHashTable(ZSTD_matchState_t* ms,21void const* end, ZSTD_dictTableLoadMethod_e dtlm,22ZSTD_tableFillPurpose_e tfp);23size_t ZSTD_compressBlock_doubleFast(24ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],25void const* src, size_t srcSize);26size_t ZSTD_compressBlock_doubleFast_dictMatchState(27ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],28void const* src, size_t srcSize);29size_t ZSTD_compressBlock_doubleFast_extDict(30ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],31void const* src, size_t srcSize);323334#if defined (__cplusplus)35}36#endif3738#endif /* ZSTD_DOUBLE_FAST_H */394041