Lines Matching full:to

21    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
54 It gives full buffer control to user.
65 Each application is free to encode and pass such metadata in whichever way it wants.
71 Embedding metadata is required for compressed data to be self-contained and portable.
95 # define LZ4LIB_API __declspec(dllimport) LZ4LIB_VISIBILITY /* It isn't required but allows to gen…
112 LZ4LIB_API int LZ4_versionNumber (void); /**< library version number; useful to check dll version …
113 LZ4LIB_API const char* LZ4_versionString (void); /**< library version string; useful to check dll…
123 * Reduced memory usage may improve speed, thanks to better cache locality.
137 * Compression is guaranteed to succeed if 'dstCapacity' >= LZ4_compressBound(srcSize).
158 …* even if the compressed block is maliciously modified to order the decoder to do these a…
160 …* Note 2 : compressedSize and dstCapacity must be provided to the function, the compressed block d…
161 …* The implementation is free to send / store / derive this information in whichever way i…
187 …It's a trade-off. It can be fine tuned, with each successive value providing roughly +~3% to speed.
197 * Use LZ4_sizeofState() to know how much memory must be allocated,
199 * Then, provide this buffer as `void* state` to compression function.
210 * note: acceleration parameter is fixed to "default".
212 * *srcSizePtr : will be modified to indicate how many bytes where read from 'src' to fill 'dst'.
217 * Note : from v1.8.2 to v1.9.1, this function had a bug (fixed un v1.9.2+):
219 * require to be decompressed into a destination buffer larger
220 * by at least 1 byte than the content to decompress.
222 * it's highly recommended to update liblz4 to v1.9.2 or better.
234 * Up to 'targetOutputSize' bytes will be decoded.
236 * This can be useful to boost performance
251 * it could write more bytes, though only up to dstCapacity.
252 * Some "margin" used to be required for this operation to work properly.
254 …* The function nonetheless keeps the same signature, in an effort to preserve API compat…
277 * Use this to prepare an LZ4_stream_t for a new chain of dependent blocks
283 * it's necessary to initialize it first, using LZ4_initStream().
293 * Note: it's only useful to call LZ4_resetStream_fast()
301 * Use this function to reference a static dictionary into LZ4_stream_t.
304 * The same dictionary will have to be loaded on decompression side for successful decoding.
316 …* If dstCapacity >= LZ4_compressBound(srcSize), compression is guaranteed to succeed, and runs fa…
321 * Note 1 : Each invocation to LZ4_compress_fast_continue() generates a new block.
324 …* It's not possible to append blocks together and expect a single invocation of LZ4_deco…
326 …* Note 2 : The previous 64KB of source data is __assumed__ to remain present, unmodified, at same…
339 * If last 64KB data cannot be guaranteed to remain available at its current memory location,
341 * This is schematically equivalent to a memcpy() followed by LZ4_loadDict(),
342 * but is much faster, because LZ4_saveDict() doesn't need to rebuild tables.
363 * Use this function to start decompression of a new stream of blocks.
372 * blocks are presumed decompressed next to each other
373 …* up to the moment there is not enough remaining space for next block (remainingSize < maxBlockSi…
377 * to be compatible with any source respecting maxBlockSize condition.
386 * A block is an unsplittable entity, it must be presented entirely to a decompression function.
394 * In which case, encoding and decoding buffers do not need to be synchronized.
402 * In which case, encoding and decoding buffers do not need to be synchronized,
434 * future. They are therefore only safe to depend on when the caller is
437 * To protect against unsafe usage, not only are the declarations guarded,
441 * In order to access these declarations,
445 * In order to make their implementations accessible dynamically, you must
465 * It is only safe to call if the state buffer is known to be correctly initialized already
468 …* this function initializes the provided state with a call to something like LZ4_resetStream_fast…
469 * while LZ4_compress_fast_extState() starts with a call to LZ4_resetStream().
484 * be expected to work.
494 * The dictionary will only remain attached to the working stream through the
504 * It's possible to have input and output sharing the same buffer,
506 * In both cases, it requires input to lay at the end of the buffer,
507 * and decompression to start at beginning of the buffer.
523 * and it would be more efficient to store such data with a flag indicating it's not compressed.
526 * For in-place compression, margin is larger, as it must be able to cope with both
527 * history preservation, requiring input data to remain unmodified up to LZ4_DISTANCE_MAX,
532 * There are ways to limit this cost for compression :
536 * so it's a reasonable trick when inputs are known to be small.
537 * - Require the compressor to deliver a "maximum compressed size".
541 * The caller must be ready for these cases to happen,
542 * and typically design a backup scheme to send data uncompressed.
550 * so it's possible to reduce memory requirements by playing with them.
557 # define LZ4_DISTANCE_MAX 65535 /* set to maximum value by default */
561 …axCompressedSize is generally LZ4_COMPRESSBOUND(inputSize), but can be set to any lower value, wit…
575 * They are only exposed to allow static allocation of `LZ4_stream_t` and `LZ4_streamDecode_t`.
576 …* Accessing members will expose user code to API and/or ABI break in future versions of the librar…
628 }; /* previously typedef'd to LZ4_stream_t */
636 * Use LZ4_initStream() to properly initialize a newly declared LZ4_stream_t.
649 * information structure to track an LZ4 stream during decompression.
660 } ; /* previously typedef'd to LZ4_streamDecode_t */
671 * This is meant to invite users to update their source code.
672 * Should deprecation warnings be a problem, it is generally possible to disable them,
676 * Another method is to define LZ4_DISABLE_DEPRECATE_WARNINGS
711 * In order to perform streaming compression, these functions depended on data
728 * These functions used to be faster than LZ4_decompress_safe(),
731 …* and therefore must progress more cautiously into the input buffer to not read beyond the end of…
741 * originalSize : is the uncompressed size to regenerate.
744 * The function expects to finish at block's end exactly.
746 …* note : LZ4_decompress_fast*() requires originalSize. Thanks to this information, it never write…
763 * Consider switching to LZ4_initStream(),