Name Description Size Coverage
allocations.h This file provides custom allocation primitives 1637 -
bits.h Should not reach this code path 5956 -
bitstream.h This API consists of small unitary functions, which must be inlined for best performance. Since link-time-optimization is not available for all compilers, these functions are defined into a .h to be included. 18727 -
compiler.h -******************************************************* Compiler specifics ******************************************************* 16644 -
cpu.h Implementation taken from folly/CpuId.h https://github.com/facebook/folly/blob/master/folly/CpuId.h 5438 -
debug.c This module only hosts one global variable which can be used to dynamically influence the verbosity of traces, such as DEBUGLOG and RAWLOG 1091 -
debug.h The purpose of this header is to enable debug functions. They regroup assert(), DEBUGLOG() and RAWLOG() for run-time, and DEBUG_STATIC_ASSERT() for compile-time. By default, DEBUGLEVEL==0, which means run-time debug is disabled. Level 1 enables assert() only. Starting level 2, traces can be generated and pushed to stderr. The higher the level, the more verbose the traces. It's possible to dynamically adjust level using variable g_debug_level, which is only declared if DEBUGLEVEL>=2, and is a global variable, not multi-thread protected (use with care) 3925 -
entropy_common.c Dependencies ************************************* 13308 -
error_private.c The purpose of this file is to have a single list of error strings embedded in binary 3905 -
error_private.h Note : this module is expected to remain private, do not expose it 6438 -
fse.h -***************************************** Dependencies **************************************** 30033 -
fse_decompress.c Includes ************************************************************** 12478 -
huf.h Dependencies *** 14119 -
mem.h -**************************************** Dependencies **************************************** 12939 -
pool.c ====== Dependencies ======= 11782 -
pool.h ZSTD_customMem 2569 -
portability_macros.h This header file contains macro definitions to support portability. This header is shared between C and ASM code, so it MUST only contain macro definitions. It MUST not contain any C code. This header ONLY defines macros to detect platforms/feature support. 4916 -
threading.c This file will hold wrapper for systems, which do not support pthreads 4886 -
threading.h Windows minimalist Pthread Wrapper 5112 -
xxhash.c xxhash.c instantiates functions defined in xxhash.h 607 -
xxhash.h Local adaptations for Zstandard 262488 -
zstd_common.c -************************************* Dependencies ************************************* 1683 -
zstd_deps.h This file provides common libc dependencies that zstd requires. The purpose is to allow replacing this file with a custom implementation to compile zstd without libc support. 3010 -
zstd_internal.h this module contains definitions which must be identical across compression, decompression and dictBuilder. It also contains a few functions useful to at least 2 of them and which benefit from being inlined 10911 -
zstd_trace.h weak symbol support For now, enable conservatively: - Only GNUC - Only ELF - Only x86-64, i386, aarch64 and risc-v. Also, explicitly disable on platforms known not to work so they aren't forgotten in the future. 4562 -