diff options
author | Ruslan Kovalev <ruslan.a.kovalev@gmail.com> | 2022-02-10 16:46:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:45 +0300 |
commit | 9123176b341b6f2658cff5132482b8237c1416c8 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /contrib/libs/zstd06/common/zstd_internal.h | |
parent | 59e19371de37995fcb36beb16cd6ec030af960bc (diff) | |
download | ydb-9123176b341b6f2658cff5132482b8237c1416c8.tar.gz |
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/zstd06/common/zstd_internal.h')
-rw-r--r-- | contrib/libs/zstd06/common/zstd_internal.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/contrib/libs/zstd06/common/zstd_internal.h b/contrib/libs/zstd06/common/zstd_internal.h index 663ccbe430..2ce2b18cf1 100644 --- a/contrib/libs/zstd06/common/zstd_internal.h +++ b/contrib/libs/zstd06/common/zstd_internal.h @@ -1,4 +1,4 @@ -#include <contrib/libs/zstd06/renames.h> +#include <contrib/libs/zstd06/renames.h> /* zstd_internal - common functions to include Header File for include @@ -200,15 +200,15 @@ typedef struct { U32 rep[ZSTD_REP_INIT]; } ZSTD_optimal_t; -//#if ZSTD_OPT_DEBUG == 3 -// #include ".debug/zstd_stats.h" -//#else +//#if ZSTD_OPT_DEBUG == 3 +// #include ".debug/zstd_stats.h" +//#else typedef struct { U32 unused; } ZSTD_stats_t; - MEM_STATIC void ZSTD_statsPrint(ZSTD_stats_t* stats, U32 searchLength) { (void)stats; (void)searchLength; } - MEM_STATIC void ZSTD_statsInit(ZSTD_stats_t* stats) { (void)stats; } - MEM_STATIC void ZSTD_statsResetFreqs(ZSTD_stats_t* stats) { (void)stats; } - MEM_STATIC void ZSTD_statsUpdatePrices(ZSTD_stats_t* stats, size_t litLength, const BYTE* literals, size_t offset, size_t matchLength) { (void)stats; (void)litLength; (void)literals; (void)offset; (void)matchLength; } -//#endif + MEM_STATIC void ZSTD_statsPrint(ZSTD_stats_t* stats, U32 searchLength) { (void)stats; (void)searchLength; } + MEM_STATIC void ZSTD_statsInit(ZSTD_stats_t* stats) { (void)stats; } + MEM_STATIC void ZSTD_statsResetFreqs(ZSTD_stats_t* stats) { (void)stats; } + MEM_STATIC void ZSTD_statsUpdatePrices(ZSTD_stats_t* stats, size_t litLength, const BYTE* literals, size_t offset, size_t matchLength) { (void)stats; (void)litLength; (void)literals; (void)offset; (void)matchLength; } +//#endif typedef struct { void* buffer; @@ -243,9 +243,9 @@ typedef struct { U32 log2litSum; U32 log2offCodeSum; U32 factor; - U32 cachedPrice; - U32 cachedLitLength; - const BYTE* cachedLiterals; + U32 cachedPrice; + U32 cachedLitLength; + const BYTE* cachedLiterals; ZSTD_stats_t stats; } seqStore_t; |