/lz4-3.4.0-2.7.6/examples/ |
D | dictionaryRandomAccess.c | 51 void seek_bin(FILE* fp, long offset, int origin) { in seek_bin() argument 52 if (fseek(fp, offset, origin)) { exit(14); } in seek_bin() 105 void test_decompress(FILE* outFp, FILE* inpFp, void *dict, int dictSize, int offset, int length) in test_decompress() argument 111 int currentBlock = offset / BLOCK_BYTES; in test_decompress() 112 int endBlock = ((offset + length - 1) / BLOCK_BYTES) + 1; in test_decompress() 143 offset = offset % BLOCK_BYTES; in test_decompress() 163 int blockLength = MIN(length, (decBytes - offset)); in test_decompress() 164 write_bin(outFp, decBuf + offset, (size_t)blockLength); in test_decompress() 165 offset = 0; in test_decompress() 204 int offset; in main() local [all …]
|
D | blockStreaming_lineByLine.md | 96 After that, write {Out#1} to the file and forward ringbuffer offset. 103 This time, we should reset ringbuffer offset. 120 - Forward ringbuffer offset. If offset exceedes end of the ringbuffer, reset it.
|
D | dictionaryRandomAccess.md | 60 - Read each offset into an array.
|
/lz4-3.4.0-2.7.6/programs/ |
D | datagen.c | 137 U32 offset = RDG_RAND15BITS + 1; in RDG_genBlock() local 138 if (offset > pos) offset = (U32)pos; in RDG_genBlock() 139 match = pos - offset; in RDG_genBlock()
|
D | lz4io.c | 1141 static int fseek_u32(FILE *fp, unsigned offset, int where) in fseek_u32() argument 1147 while (offset > 0) { in fseek_u32() 1148 unsigned s = offset; in fseek_u32() 1152 offset -= s; in fseek_u32()
|
/lz4-3.4.0-2.7.6/lib/ |
D | lz4.c | 437 LZ4_memcpy_using_offset_base(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base() argument 439 assert(srcPtr + offset == dstPtr); in LZ4_memcpy_using_offset_base() 440 if (offset < 8) { in LZ4_memcpy_using_offset_base() 446 srcPtr += inc32table[offset]; in LZ4_memcpy_using_offset_base() 448 srcPtr -= dec64table[offset]; in LZ4_memcpy_using_offset_base() 476 LZ4_memcpy_using_offset(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const size_t offset) in LZ4_memcpy_using_offset() argument 482 switch(offset) { in LZ4_memcpy_using_offset() 496 LZ4_memcpy_using_offset_base(dstPtr, srcPtr, dstEnd, offset); in LZ4_memcpy_using_offset() 895 U32 offset = 0; in LZ4_compress_generic_validated() local 1010 if (maybe_extMem) offset = current - matchIndex; in LZ4_compress_generic_validated() [all …]
|
D | lz4hc.c | 1394 int const offset = firstMatch.off; in LZ4HC_compress_optimal() local 1399 opt[mlen].off = offset; in LZ4HC_compress_optimal() 1474 int const offset = newMatch.off; in LZ4HC_compress_optimal() local 1498 opt[pos].off = offset; in LZ4HC_compress_optimal() 1542 int const offset = opt[rPos].off; in LZ4HC_compress_optimal() local 1546 assert((offset >= 1) && (offset <= LZ4_DISTANCE_MAX)); in LZ4HC_compress_optimal() 1548 …if ( LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ip - offset, limit, oend) ) { /* updates… in LZ4HC_compress_optimal() 1550 ovref = ip - offset; in LZ4HC_compress_optimal()
|
D | README.md | 57 - `LZ4_DISTANCE_MAX` : control the maximum offset that the compressor will allow.
|
/lz4-3.4.0-2.7.6/doc/ |
D | lz4_Block_format.md | 72 It starts by the `offset`. 76 The `offset` represents the position of the match to be copied from. 78 The maximum `offset` value is 65535, 65536 cannot be coded. 100 In some cases, `matchlength` is larger than `offset`. 104 A common case is an offset of 1,
|
/lz4-3.4.0-2.7.6/tests/ |
D | fuzzer.c | 163 size_t offset = (size_t)FUZ_RAND15BITS + 1; in FUZ_fillCompressibleNoiseBuffer() local 164 while (offset > pos) offset >>= 1; in FUZ_fillCompressibleNoiseBuffer() 165 match = pos - offset; in FUZ_fillCompressibleNoiseBuffer()
|
D | frametest.c | 144 size_t const offset = MIN(offsetRand, pos); in FUZ_fillCompressibleNoiseBuffer() local 145 size_t match = pos - offset; in FUZ_fillCompressibleNoiseBuffer()
|