/lz4-3.4.0-2.7.6/examples/ |
D | compress_functions.c | 21 …* faster but this function itself isn't giving that advantage, it's just some logic… 30 * wrapper function because this function isn't exposed with lz4.h. 45 …not advised, period. Furthermore, it is a static inline function in lz4.c, so there isn't a symbol 76 /* Create a crude set of test IDs so we can switch on them later (Can't switch() on a char[] or ch… 134 … run_screaming("Couldn't run LZ4_compress_default()... error code received is in exit code.", rv); in bench() 136 …run_screaming("According to memcmp(), the compressed dst we got doesn't match the known_good_dst..… in bench() 147 … run_screaming("Couldn't run LZ4_compress_fast()... error code received is in exit code.", rv); in bench() 149 …run_screaming("According to memcmp(), the compressed dst we got doesn't match the known_good_dst..… in bench() 160 …run_screaming("Couldn't run LZ4_compress_fast_extState()... error code received is in exit code.",… in bench() 162 …run_screaming("According to memcmp(), the compressed dst we got doesn't match the known_good_dst..… in bench() [all …]
|
D | frameCompress.c | 197 * and the frame isn't over (ret != 0) in decompress_file_internal() 226 /* Check that there isn't trailing data in the file after the frame. in decompress_file_internal() 266 /* Allocating enough space for an entire block isn't necessary for in decompress_file_allocDst()
|
D | dictionaryRandomAccess.c | 27 const char kTestMagic[] = { 'T', 'E', 'S', 'T' };
|
D | blockStreaming_doubleBuffer.md | 74 For the first time, LZ4 doesn't know any previous dependencies,
|
/lz4-3.4.0-2.7.6/tests/ |
D | Makefile | 220 $(LZ4) -v tmplc1 -c | $(LZ4) -t 229 $(DIFF) tmplc1.lz4 tmplc4.lz4 # both don't have content size 230 $(CAT) tmplc1 | $(LZ4) --content-size > tmplc5.lz4 # can't determine content size 231 $(DIFF) tmplc1.lz4 tmplc5.lz4 # both don't have content size 298 $(LZ4) -l -d -f -m tmp-tlm*.lz4 # -l mustn't impact -d option 314 …$(LZ4) -d -l -m tmp-tlm1.lz4 tmp-tlm2.lz4 tmp-tlm3.lz4 -c > tmp-tlm-concat2 # -l mustn't impact op… 323 $(DATAGEN) -g0 | $(LZ4) -v | $(LZ4) -t 324 $(DATAGEN) -g16KB | $(LZ4) -9 | $(LZ4) -t 330 $(DATAGEN) | $(LZ4) -BI | $(LZ4) -t 331 $(DATAGEN) -g6M -P99 | $(LZ4) -9BD | $(LZ4) -t [all …]
|
D | fuzzer.c | 70 typedef size_t uintptr_t; /* true on most systems, except OpenVMS-64 (which doesn't need address … 1177 "LZ4_saveDict() can't save anything into (NULL,0)"); in FUZ_unitTests() 1182 "LZ4_saveDict() can't save anything since compression hasn't started"); in FUZ_unitTests() 1295 "LZ4_saveDictHC() can't save anything into (NULL,0)"); in FUZ_unitTests() 1300 "LZ4_saveDictHC() can't save anything since compression hasn't started"); in FUZ_unitTests() 1328 FUZ_CHECKTEST(srcSize < 1045000, "LZ4_compress_HC_destSize() doesn't compress enough" in FUZ_unitTests() 1699 DISPLAY( " -T# : Duration of tests, in seconds (default: use Nb of tests) \n"); in FUZ_usage() 1701 DISPLAY( " -t# : Select starting test number (default:0)\n"); in FUZ_usage() 1759 case 'T': in main() 1793 case 't': /* select starting test nb */ in main() [all …]
|
D | checkTag.c | 31 * Anything beyond that is free, and doesn't impact validation.
|
D | frametest.c | 1002 …Size, prefsPtr) : compressedBufferSize); /* when flushes are possible, can't guarantee a max comp… in fuzzerTests() 1105 …e, srcStart, srcSize, crcOrig, &randState, dCtxNoise, seed, testNb, 0 /*don't search error Pos*/ ); in fuzzerTests() 1106 /* note : we don't analyze result here : it probably failed, which is expected. in fuzzerTests() 1137 DISPLAY( " -T# : Duration of tests, in seconds (default: use Nb of tests) \n"); in FUZ_usage() 1139 DISPLAY( " -t# : Select starting test number (default:0)\n"); in FUZ_usage() 1203 case 'T': in main() 1237 case 't': in main() 1269 time_t const t = time(NULL); in main() local 1270 U32 const h = XXH32(&t, sizeof(t), 1); in main()
|
/lz4-3.4.0-2.7.6/contrib/djgpp/ |
D | Makefile | 80 @for T in $(LIB); \ 82 echo $(DESTDIR)/$$T >> .footprint; \ 83 cp -v --parents $$T $(DESTDIR) \ 85 @for T in $(INC); \ 87 echo $(DESTDIR)/include/`basename -a $$T` >> .footprint; \ 88 cp -v $$T $(DESTDIR)/include/ \ 92 @for T in $(shell cat .footprint); do rm -v $$T; done
|
D | README.MD | 17 * `make -f contrib/djgpp/Makefile DESTDIR=/home/user/dos install`, however it doesn't make much sen…
|
/lz4-3.4.0-2.7.6/ |
D | appveyor.yml | 89 …ln" %ADDITIONALPARAM% /m /verbosity:minimal /property:PlatformToolset=v100 /t:Clean,Build /p:Platf… 93 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v110 /t:Clean,Build… 97 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v120 /t:Clean,Build… 101 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /t:Clean,Build…
|
D | NEWS | 135 cli : fix : -t correctly validates lz4-compressed files, by Nick Terrell 192 Fixed : older compiler don't like nameless unions, reported by Cheyi Lin 214 Fix : test mode (-t) no longer requires confirmation, thanks to Thary Nguyen
|
/lz4-3.4.0-2.7.6/lib/ |
D | lz4.c | 90 #if defined(_MSC_VER) && defined(_WIN32_WCE) /* Visual Studio for WinCE doesn't support Hardware … 313 * environments, the compiler can't assume the implementation of memcpy() is 314 * standard compliant, so it can't apply its specialized memcpy() inlining 327 … const union { U32 u; BYTE c[4]; } one = { 1 }; /* don't use static : performance detrimental */ in LZ4_isLittleEndian() 569 U64 const t = (((val >> 8) - mask) | val) & mask; in LZ4_NbCommonBytes() 570 return ctz7_tab[(t * 0x0080402010080402ULL) >> 57]; in LZ4_NbCommonBytes() 572 /* this method doesn't consume memory space like the previous one, in LZ4_NbCommonBytes() 809 /* If the table hasn't been used, it's guaranteed to be zeroed out, and is in LZ4_prepareTable() 900 /* If init conditions are not met, we don't have to mark stream in LZ4_compress_generic_validated() 911 /* Subsequent linked blocks can't use the dictionary. */ in LZ4_compress_generic_validated() [all …]
|
D | README.md | 78 …In case the target cpus doesn't support it, or compiler intrinsic doesn't work, or feature bad per…
|
D | lz4.h | 95 # define LZ4LIB_API __declspec(dllimport) LZ4LIB_VISIBILITY /* It isn't required but allows to gen… 223 * If this can't be done or ensured, 342 * but is much faster, because LZ4_saveDict() doesn't need to rebuild tables. 406 …* save the last 64KB of decoded data into a safe buffer where it can't be modified during decompr… 415 * They are stand-alone, and don't need an LZ4_streamDecode_t structure. 713 * possible: using them will still produce a correct output. However, they don't 730 * This is because LZ4_decompress_fast() doesn't know the input size, 747 …* However, since it doesn't know its 'src' size, it may read an unknown amount of input, p…
|
/lz4-3.4.0-2.7.6/ossfuzz/ |
D | fuzz.h | 15 * logging, so aren't recommended. Defining `LZ4_DEBUG=1` is
|
D | decompress_fuzzer.c | 34 /* Prepare the dictionary. The data doesn't matter for decompression. */ in LLVMFuzzerTestOneInput()
|
D | decompress_frame_fuzzer.c | 54 /* Prepare the dictionary. The data doesn't matter for decompression. */ in LLVMFuzzerTestOneInput()
|
/lz4-3.4.0-2.7.6/programs/ |
D | lz4.1 | 101 \fB\-t\fR \fB\-\-test\fR 180 …ivated when the original size can be determined, hence for a file\. It won\'t work with unknown so…
|
D | lz4.1.md | 108 * `-t` `--test`: 194 determined, hence for a file. It won't work with unknown source size,
|
D | lz4cli.c | 135 DISPLAY( " -t : test compressed file integrity\n"); in usage_advanced() 285 * @return 0 and doesn't modify *stringPtr otherwise. 491 case 't': mode = om_test; break; 597 …DISPLAYLEVEL(1, "Warning : %s won't be used ! Do you want multiple input files (-m) ? \n", argumen… 678 * Note : this policy may change in the future, therefore don't rely on it ! 715 /* Exit if trying to read from stdin as this isn't supported in this mode */
|
D | README.md | 60 -t : test compressed file integrity
|
/lz4-3.4.0-2.7.6/build/cmake/ |
D | CMakeLists.txt | 39 # If LZ4 is being bundled in another project, we don't want to 45 # Bundled mode hasn't been set one way or the other, set the default
|
/lz4-3.4.0-2.7.6/doc/ |
D | lz4_manual.html | 151 If this can't be done or ensured, 262 but is much faster, because LZ4_saveDict() doesn't need to rebuild tables. 322 …save the last 64KB of decoded data into a safe buffer where it can't be modified during decompress… 329 They are stand-alone, and don't need an LZ4_streamDecode_t structure. 563 This is because LZ4_decompress_fast() doesn't know the input size, 580 …However, since it doesn't know its 'src' size, it may read an unknown amount of input, past input …
|
D | lz4_Frame_format.md | 50 It doesn’t need to support all options though. 278 which is valid, and therefore doesn't end a frame. 340 This means User Data can’t be bigger than (2^32-1) Bytes.
|