/lz4-3.4.0-2.7.6/tests/ |
D | test-lz4-list.py | 27 for i in SIZES: 28 self.exp_unc_size += os.path.getsize("{}/test_list_{}M".format(TEMP, i)) 39 …for i, line in enumerate(execute("{} --list -m {}/test_list_*.lz4".format(LZ4, TEMP), print_output… 40 if i > 0: 46 for i, nvinfo in enumerate(self.nvinfo_list): 48 all_concat_index = i 96 for i, line in enumerate(lines): 97 if i == 0: 100 elif i == 1: 116 for i, line in enumerate(output): [all …]
|
D | test-lz4-speed.py | 169 for i in range(0, min(len(cspeed), len(last_cspeed))): 170 …ommit, i+1, cspeed[i], last_cspeed[i], cspeed[i]/last_cspeed[i], dspeed[i], last_dspeed[i], dspeed… 171 if (cspeed[i]/last_cspeed[i] < args.lowerLimit): 172 …f cLast=%.2f cDiff=%.4f %s\n" % (executableName, i+1, cspeed[i], last_cspeed[i], cspeed[i]/last_cs… 173 if (dspeed[i]/last_dspeed[i] < args.lowerLimit): 174 …f dLast=%.2f dDiff=%.4f %s\n" % (executableName, i+1, dspeed[i], last_dspeed[i], dspeed[i]/last_ds… 175 if (float(last_csize[i])/csize[i] < args.ratioLimit): 176 …st_cSize=%d diff=%.4f %s\n" % (executableName, i+1, csize[i], last_csize[i], float(last_csize[i])/…
|
D | fullbench.c | 520 { int i; in fullSpeedBench() local 525 for (i=0; i<nbChunks; i++) { in fullSpeedBench() 526 chunkP[i].id = (U32)i; in fullSpeedBench() 527 chunkP[i].origBuffer = in; in += g_chunkSize; in fullSpeedBench() 530 chunkP[i].origSize = g_chunkSize; in fullSpeedBench() 533 chunkP[i].origSize = (int)remaining; in fullSpeedBench() 536 chunkP[i].compressedBuffer = out; out += maxCompressedChunkSize; in fullSpeedBench() 537 chunkP[i].compressedSize = 0; in fullSpeedBench() 580 …{ size_t i; for (i=0; i<benchedSize; i++) compressed_buff[i]=(char)i; } /* warming up memory */ in fullSpeedBench() local 614 { int i; in fullSpeedBench() local [all …]
|
D | decompress-partial.c | 35 int i; in main() local 39 for (i = cmpSize; i < cmpSize + 10; ++i) { in main() 40 int result = LZ4_decompress_safe_partial(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE); in main()
|
D | test-lz4-versions.py | 114 for i, lz4 in enumerate(lz4s): 117 for j in range(i+1, len(lz4s)):
|
D | fuzzer.c | 254 { int i; for (i=0 ; i<nbBuff; i++) free(buffers[i]); } in FUZ_AddressOverflow() local
|
/lz4-3.4.0-2.7.6/examples/ |
D | compress_functions.c | 138 for (int i=1; i<=iterations; i++) in bench() local 151 for (int i=1; i<=iterations; i++) in bench() local 164 for (int i=1; i<=iterations; i++) in bench() local 197 for (int i=1; i<=iterations; i++) in bench() local 210 for (int i=1; i<=iterations; i++) in bench() local
|
D | blockStreaming_ringBuffer.c | 31 size_t write_int32(FILE* fp, int32_t i) { in write_int32() argument 32 return fwrite(&i, sizeof(i), 1, fp); in write_int32() 39 size_t read_int32(FILE* fp, int32_t* i) { in read_int32() argument 40 return fread(i, sizeof(*i), 1, fp); in read_int32()
|
D | blockStreaming_doubleBuffer.c | 22 size_t write_int(FILE* fp, int i) { in write_int() argument 23 return fwrite(&i, sizeof(i), 1, fp); in write_int() 30 size_t read_int(FILE* fp, int* i) { in read_int() argument 31 return fread(i, sizeof(*i), 1, fp); in read_int()
|
D | blockStreaming_lineByLine.c | 16 static size_t write_uint16(FILE* fp, uint16_t i) in write_uint16() argument 18 return fwrite(&i, sizeof(i), 1, fp); in write_uint16() 26 static size_t read_uint16(FILE* fp, uint16_t* i) in read_uint16() argument 28 return fread(i, sizeof(*i), 1, fp); in read_uint16()
|
D | HCStreaming_ringBuffer.c | 38 size_t write_int32(FILE* fp, int32_t i) { in write_int32() argument 39 return fwrite(&i, sizeof(i), 1, fp); in write_int32() 47 size_t read_int32(FILE* fp, int32_t* i) { in read_int32() argument 48 return fread(i, sizeof(*i), 1, fp); in read_int32()
|
D | dictionaryRandomAccess.c | 30 void write_int(FILE* fp, int i) { in write_int() argument 31 size_t written = fwrite(&i, sizeof(i), 1, fp); in write_int() 40 void read_int(FILE* fp, int* i) { in read_int() argument 41 size_t read = fread(i, sizeof(*i), 1, fp); in read_int()
|
/lz4-3.4.0-2.7.6/programs/ |
D | util.h | 590 unsigned i, nbFiles; in UTIL_createFileList() local 597 for (i=0, pos=0, nbFiles=0; i<inputNamesNb; i++) { in UTIL_createFileList() 598 if (!UTIL_isDirectory(inputNames[i])) { in UTIL_createFileList() 599 size_t const len = strlen(inputNames[i]) + 1; /* include nul char */ in UTIL_createFileList() 606 memcpy(buf + pos, inputNames[i], len); in UTIL_createFileList() 611 nbFiles += (unsigned)UTIL_prepareFileList(inputNames[i], &buf, &pos, &bufend); in UTIL_createFileList() 622 for (i=0, pos=0; i<nbFiles; i++) { in UTIL_createFileList() 623 fileTable[i] = buf + pos; in UTIL_createFileList() 624 pos += strlen(fileTable[i]) + 1; in UTIL_createFileList()
|
D | lz4io.c | 490 int i; in LZ4IO_compressMultipleFilenames_Legacy() local 499 for (i=0; i<ifntSize; i++) { in LZ4IO_compressMultipleFilenames_Legacy() 500 size_t const ifnSize = strlen(inFileNamesTable[i]); in LZ4IO_compressMultipleFilenames_Legacy() 503 inFileNamesTable[i], stdoutmark, in LZ4IO_compressMultipleFilenames_Legacy() 515 strcpy(dstFileName, inFileNamesTable[i]); in LZ4IO_compressMultipleFilenames_Legacy() 519 inFileNamesTable[i], dstFileName, in LZ4IO_compressMultipleFilenames_Legacy() 804 int i; in LZ4IO_compressMultipleFilenames() local 815 for (i=0; i<ifntSize; i++) { in LZ4IO_compressMultipleFilenames() 816 size_t const ifnSize = strlen(inFileNamesTable[i]); in LZ4IO_compressMultipleFilenames() 819 inFileNamesTable[i], stdoutmark, in LZ4IO_compressMultipleFilenames() [all …]
|
D | lz4cli.c | 312 int i, local 362 for(i=1; i<argc; i++) { 363 const char* argument = argv[i]; 464 if (i + 1 == argc) { 468 dictionary_filename = argv[++i];
|
D | README.md | 21 CLI supports aggregation of parameters i.e. `-b1`, `-e18`, and `-i1` can be joined into `-b1e18i1`. 32 The `-i` parameter selects a number of seconds used for each of tested levels. 77 -i# : minimum evaluation time in seconds (default : 3s)```
|
D | lz4.1.md | 237 * `-i#`:
|
/lz4-3.4.0-2.7.6/ossfuzz/ |
D | round_trip_stream_fuzzer.c | 158 int i = 0; in state_extDictRoundTrip() local 162 char const* data = (i++ & 1) ? state->data.buf : data2.buf; in state_extDictRoundTrip() 228 int i = 0; in state_extDictHCRoundTrip() local 233 char const* data = (i++ & 1) ? state->data.buf : data2.buf; in state_extDictHCRoundTrip() 290 int i; in LLVMFuzzerTestOneInput() local 292 for (i = 0; i < n; ++i) { in LLVMFuzzerTestOneInput() 293 DEBUGLOG(2, "Round trip %d", i); in LLVMFuzzerTestOneInput() 295 roundTrips[i](&state); in LLVMFuzzerTestOneInput()
|
/lz4-3.4.0-2.7.6/contrib/gen_manual/ |
D | gen_manual.cpp | 240 for (size_t i=0; i<chapters.size(); i++) in main() local 241 ostream << "<li><a href=\"#Chapter" << i+1 << "\">" << chapters[i].c_str() << "</a></li>\n"; in main()
|
/lz4-3.4.0-2.7.6/lib/dll/example/ |
D | README.md | 24 levels starting from `-b` and ending with `-e` with iteration time of `-i` seconds. 25 CLI supports aggregation of parameters i.e. `-b1`, `-e18`, and `-i1` can be joined
|
/lz4-3.4.0-2.7.6/lib/ |
D | lz4.c | 1552 int i; in LZ4_renormDictT() local 1554 for (i=0; i<LZ4_HASH_SIZE_U32; i++) { in LZ4_renormDictT() 1555 if (LZ4_dict->hashTable[i] < delta) LZ4_dict->hashTable[i]=0; in LZ4_renormDictT() 1556 else LZ4_dict->hashTable[i] -= delta; in LZ4_renormDictT()
|
D | lz4hc.c | 82 #define HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-LZ4HC_HASH_LOG)) argument
|
D | lz4frame.c | 1260 size_t o=0, i=0; in LZ4F_getFrameInfo() local 1264 return LZ4F_decompress(dctx, NULL, &o, NULL, &i, NULL); in LZ4F_getFrameInfo()
|