Home
last modified time | relevance | path

Searched refs:ZSTD_e_flush (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dzstd_lib.h730 * using ZSTD_compressStream2() with ZSTD_e_flush. `output->pos` will be updated.
731 * Note that, if `output->size` is too small, a single invocation with ZSTD_e_flush might not be enough (return code > 0).
732 * In which case, make some room to receive more compressed data, and call again ZSTD_compressStream2() with ZSTD_e_flush.
733 * You must continue calling ZSTD_compressStream2() with ZSTD_e_flush until it returns 0, at which point you can change the
735 * note: ZSTD_e_flush will flush as much output as possible, meaning when compressing with multiple threads, it will
744 * flush operation is the same, and follows same rules as calling ZSTD_compressStream2() with ZSTD_e_flush.
764 ZSTD_e_flush=1, /* flush any data provided so far, enumerator
790 * This is useful for ZSTD_e_flush, since in this case more flushes are necessary to empty all buffers.
793 * only ZSTD_e_end or ZSTD_e_flush operations are allowed.
849 /*! Equivalent to ZSTD_compressStream2(zcs, output, &emptyInput, ZSTD_e_flush)
[all...]
/linux/lib/zstd/compress/
H A Dzstd_compress.c6061 if ( (flushMode == ZSTD_e_flush) in ZSTD_compressStream_generic()
6075 if ( (flushMode == ZSTD_e_flush) in ZSTD_compressStream_generic()
7442 return ZSTD_compressStream2(zcs, output, &input, ZSTD_e_flush); in ZSTD_flushStream()