Path: blob/main/sys/contrib/zstd/lib/compress/zstd_double_fast.h
48378 views
/*1* Copyright (c) Yann Collet, Facebook, Inc.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);22size_t ZSTD_compressBlock_doubleFast(23ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],24void const* src, size_t srcSize);25size_t ZSTD_compressBlock_doubleFast_dictMatchState(26ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],27void const* src, size_t srcSize);28size_t ZSTD_compressBlock_doubleFast_extDict(29ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],30void const* src, size_t srcSize);313233#if defined (__cplusplus)34}35#endif3637#endif /* ZSTD_DOUBLE_FAST_H */383940