Name Description Size
allocations.h This file provides custom allocation primitives 1637
bits.h Should not reach this code path 6226
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. 18477
compiler.h -******************************************************* Compiler specifics ******************************************************* 16139
cpu.h Implementation taken from folly/CpuId.h https://github.com/facebook/folly/blob/master/folly/CpuId.h 5393
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) 4009
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 3797
error_private.h Note : this module is expected to remain private, do not expose it 6523
fse.h -***************************************** Dependencies **************************************** 30128
fse_decompress.c Includes ************************************************************** 12383
huf.h Dependencies *** 14203
mem.h -**************************************** Dependencies **************************************** 12855
pool.c ====== Dependencies ======= 11782
pool.h ZSTD_customMem 2653
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. 4487
threading.c This file will hold wrapper for systems, which do not support pthreads 4886
threading.h Windows minimalist Pthread Wrapper 5195
xxhash.c xxhash.c instantiates functions defined in xxhash.h 607
xxhash.h Local adaptations for Zstandard 261469
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. 2508
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 13302
zstd_trace.h weak symbol support For now, enable conservatively: - Only GNUC - Only ELF - Only x86-64, i386 and aarch64 Also, explicitly disable on platforms known not to work so they aren't forgotten in the future. 4619