zstd_compression_format.md moved to doc/
This commit is contained in:
parent
4732074a71
commit
3ee94a7600
@ -377,7 +377,7 @@ static void ZSTD_reduceIndex (ZSTD_CCtx* zc, const U32 reducerValue)
|
|||||||
* Block entropic compression
|
* Block entropic compression
|
||||||
*********************************************************/
|
*********************************************************/
|
||||||
|
|
||||||
/* See zstd_compression_format.md for detailed format description */
|
/* See doc/zstd_compression_format.md for detailed format description */
|
||||||
|
|
||||||
size_t ZSTD_noCompressBlock (void* dst, size_t dstCapacity, const void* src, size_t srcSize)
|
size_t ZSTD_noCompressBlock (void* dst, size_t dstCapacity, const void* src, size_t srcSize)
|
||||||
{
|
{
|
||||||
|
@ -191,7 +191,7 @@ static void ZSTD_refDCtx(ZSTD_DCtx* dstDCtx, const ZSTD_DCtx* srcDCtx)
|
|||||||
* Decompression section
|
* Decompression section
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
/* See compression format details in : zstd_compression_format.md */
|
/* See compression format details in : doc/zstd_compression_format.md */
|
||||||
|
|
||||||
/** ZSTD_frameHeaderSize() :
|
/** ZSTD_frameHeaderSize() :
|
||||||
* srcSize must be >= ZSTD_frameHeaderSize_prefix.
|
* srcSize must be >= ZSTD_frameHeaderSize_prefix.
|
||||||
|
@ -14,6 +14,7 @@ ZSTDLIBRARY = $(ZSTDLIBDIR)/libzstd.a
|
|||||||
ZLIBWRAPPER_PATH = .
|
ZLIBWRAPPER_PATH = .
|
||||||
EXAMPLE_PATH = examples
|
EXAMPLE_PATH = examples
|
||||||
PROGRAMS_PATH = ../programs
|
PROGRAMS_PATH = ../programs
|
||||||
|
TEST_FILE = ../doc/zstd_compression_format.md
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CFLAGS ?= -O3
|
CFLAGS ?= -O3
|
||||||
CFLAGS += $(LOC) -I$(PROGRAMS_PATH) -I$(ZSTDLIBDIR) -I$(ZSTDLIBDIR)/common -I$(ZLIBWRAPPER_PATH) -std=gnu99
|
CFLAGS += $(LOC) -I$(PROGRAMS_PATH) -I$(ZSTDLIBDIR) -I$(ZSTDLIBDIR)/common -I$(ZLIBWRAPPER_PATH) -std=gnu99
|
||||||
@ -27,11 +28,11 @@ all: clean fitblk example zwrapbench
|
|||||||
test: example fitblk example_zstd fitblk_zstd zwrapbench
|
test: example fitblk example_zstd fitblk_zstd zwrapbench
|
||||||
./example
|
./example
|
||||||
./example_zstd
|
./example_zstd
|
||||||
./fitblk 10240 <../zstd_compression_format.md
|
./fitblk 10240 <$(TEST_FILE)
|
||||||
./fitblk 40960 <../zstd_compression_format.md
|
./fitblk 40960 <$(TEST_FILE)
|
||||||
./fitblk_zstd 10240 <../zstd_compression_format.md
|
./fitblk_zstd 10240 <$(TEST_FILE)
|
||||||
./fitblk_zstd 40960 <../zstd_compression_format.md
|
./fitblk_zstd 40960 <$(TEST_FILE)
|
||||||
./zwrapbench -qb3B1K ../zstd_compression_format.md
|
./zwrapbench -qb3B1K $(TEST_FILE)
|
||||||
./zwrapbench -rqb1e5 ../lib ../programs ../tests
|
./zwrapbench -rqb1e5 ../lib ../programs ../tests
|
||||||
|
|
||||||
#valgrindTest: ZSTDLIBRARY = $(ZSTDLIBDIR)/libzstd.so
|
#valgrindTest: ZSTDLIBRARY = $(ZSTDLIBDIR)/libzstd.so
|
||||||
@ -40,11 +41,11 @@ valgrindTest: clean example fitblk example_zstd fitblk_zstd zwrapbench
|
|||||||
@echo "\n ---- valgrind tests ----"
|
@echo "\n ---- valgrind tests ----"
|
||||||
$(VALGRIND) ./example
|
$(VALGRIND) ./example
|
||||||
$(VALGRIND) ./example_zstd
|
$(VALGRIND) ./example_zstd
|
||||||
$(VALGRIND) ./fitblk 10240 <../zstd_compression_format.md
|
$(VALGRIND) ./fitblk 10240 <$(TEST_FILE)
|
||||||
$(VALGRIND) ./fitblk 40960 <../zstd_compression_format.md
|
$(VALGRIND) ./fitblk 40960 <$(TEST_FILE)
|
||||||
$(VALGRIND) ./fitblk_zstd 10240 <../zstd_compression_format.md
|
$(VALGRIND) ./fitblk_zstd 10240 <$(TEST_FILE)
|
||||||
$(VALGRIND) ./fitblk_zstd 40960 <../zstd_compression_format.md
|
$(VALGRIND) ./fitblk_zstd 40960 <$(TEST_FILE)
|
||||||
$(VALGRIND) ./zwrapbench -qb3B1K ../zstd_compression_format.md
|
$(VALGRIND) ./zwrapbench -qb3B1K $(TEST_FILE)
|
||||||
$(VALGRIND) ./zwrapbench -rqb1e5 ../lib ../programs ../tests
|
$(VALGRIND) ./zwrapbench -rqb1e5 ../lib ../programs ../tests
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
|
Loading…
Reference in New Issue
Block a user