Path: blob/master/Utilities/cmzstd/lib/compress/zstd_fast.h
5017 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_FAST_H11#define ZSTD_FAST_H1213#include "../common/mem.h" /* U32 */14#include "zstd_compress_internal.h"1516void ZSTD_fillHashTable(ZSTD_MatchState_t* ms,17void const* end, ZSTD_dictTableLoadMethod_e dtlm,18ZSTD_tableFillPurpose_e tfp);19size_t ZSTD_compressBlock_fast(20ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],21void const* src, size_t srcSize);22size_t ZSTD_compressBlock_fast_dictMatchState(23ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],24void const* src, size_t srcSize);25size_t ZSTD_compressBlock_fast_extDict(26ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],27void const* src, size_t srcSize);2829#endif /* ZSTD_FAST_H */303132