Lines Matching full:note
133 * note 1 : a 0 return value means the frame is valid but "empty".
134 …* note 2 : decompressed size is an optional field, it may not be present, typically in streaming…
140 …* note 3 : decompressed size is always present when compression is completed using single-pass f…
142 * note 4 : decompressed size can be very large (64-bits value),
145 * note 5 : If source is untrusted, decompressed size could be wrong or intentionally modified.
148 * note 6 : This function replaces ZSTD_getDecompressedSize() */
154 * NOTE: This function is now obsolete, in favor of ZSTD_getFrameContentSize().
188 * Note : re-using context is just a speed / resource optimization.
190 * Note 2 : In multi-threaded environments,
258 /* note : new strategies _might_ be added in the future.
265 * Note: When compressing with a ZSTD_CDict these parameters are superseded
269 * Note that exact compression parameters are dynamically determined,
273 * Note 1 : it's possible to pass a negative compression level.
274 … * Note 2 : setting a level does not automatically set all other compression parameters
287 * Note: Using a windowLog greater than ZSTD_WINDOWLOG_LIMIT_DEFAULT
308 * Note that Zstandard can still find matches of smaller size,
312 … * Note that currently, for all strategies < btopt, effective minimum is 4.
332 … * Note: enabling this parameter increases default ZSTD_c_windowLog to 128 MB
334 … * Note: will be enabled by default if ZSTD_c_windowLog >= 128 MB and
375 …* (note : a strong exception to this rule is when first invocation of ZSTD_compressStream2() sets …
398 /* note : additional experimental parameters are also available
416 * note : never ever use experimentalParam? names directly;
469 * Note 1 : pledgedSrcSize==0 actually means zero, aka an empty frame.
472 * Note 2 : pledgedSrcSize is only valid once, for the next frame.
474 * Note 3 : Whenever all input data is provided and consumed in a single round,
526 * Note : This API is compatible with existing ZSTD_decompressDCtx() and ZSTD_decompressStream().
539 /* note : additional experimental parameters are also available
547 * note : never ever use experimentalParam? names directly
611 * note : since v1.3.0, ZSTD_CStream and ZSTD_CCtx are the same thing.
623 * Note that the function may not consume the entire input, for example, because
628 * note: ZSTD_e_continue is guaranteed to make some forward progress when called,
638 * Note that, if `output->size` is too small, a single invocation with ZSTD_e_flush might not be en…
642 * note: ZSTD_e_flush will flush as much output as possible, meaning when compressing with multiple…
654 * note: ZSTD_e_end will flush as much output as possible, meaning when compressing with multiple t…
674 … * note : multithreaded compression will block to flush as much output as possible. */
676 … * note that frame is only closed after compressed data is fully flushed (return value == 0).
678 … * note : each frame is independent (does not reference any content from previous frame).
679 … : note : multithreaded compression will block to flush as much output as possible. */
715 * However, note that these recommendations are from the perspective of a C caller program.
745 * NOTE: The return value is different. ZSTD_compressStream() returns a hint for
775 * Note : with no additional input provided, amount of data flushed is necessarily <= ZSTD_BLOCKSIZ…
811 * Note : This function loads the dictionary, resulting in significant startup delay.
813 * Note 2 : When `dict == NULL || dictSize < 8` no dictionary is used. */
823 * Note : This function loads the dictionary, resulting in significant startup delay.
825 * Note : When `dict == NULL || dictSize < 8` no dictionary is used. */
844 …* Note 1 : Consider experimental function `ZSTD_createCDict_byReference()` if you prefer to not d…
845 * Note 2 : A ZSTD_CDict can be created from an empty @dictBuffer,
860 * Note : compression level is _decided at dictionary creation time_,
917 * Note : this use case also happens when using a non-conformant dictionary.
940 * Note 1 : Dictionary is sticky, it will be used for all future compressed frames.
942 * Note 2 : Loading a dictionary involves building tables.
946 * Note 3 :`dict` content will be copied internally.
949 * Note 4 : Use ZSTD_CCtx_loadDictionary_advanced()
955 * Note that compression parameters are enforced from within CDict,
962 * Note 1 : Currently, only one dictionary can be managed.
964 * Note 2 : CDict is just referenced, its lifetime must outlive its usage within CCtx. */
975 * Note 1 : Prefix buffer is referenced. It **must** outlive compression.
977 * Note 2 : If the intention is to diff some large src data blob with some prior version of itself,
980 …* Note 3 : Referencing a prefix involves building tables, which are dependent on compression para…
983 * Note 4 : By default, the prefix is interpreted as raw content (ZSTD_dct_rawContent).
995 * Note 1 : Loading a dictionary involves building tables,
998 * Note 2 :`dict` content will be copied internally, so `dict` can be released after loading.
1000 * Note 3 : Use ZSTD_DCtx_loadDictionary_advanced() to take control of
1016 * Note 1 : Currently, only one dictionary can be managed.
1019 * Note 2 : DDict is just referenced, its lifetime must outlive its usage from DCtx.
1030 * Note 1 : Adding any prefix (including NULL) invalidates any previously set prefix or dictionary
1031 * Note 2 : Prefix buffer is referenced. It **must** outlive decompression.
1034 * Note 3 : By default, the prefix is treated as raw content (ZSTD_dct_rawContent).
1036 * Note 4 : Referencing a raw content prefix has almost no cpu nor memory cost.
1046 * Note that object memory usage can evolve (increase or decrease) over time. */
1123 #define ZSTD_TARGETLENGTH_MIN 0 /* note : comparing this constant to an unsigned results in a…
1168 … /* Note: Users of this API may provide a sequence with matchLength == litLength == offset == 0.
1189 … * Note: This field is optional. ZSTD_generateSequences() will calculate the value of
1236 /* Note: this enum controls ZSTD_d_forceIgnoreChecksum */
1242 /* Note: this enum controls ZSTD_d_refMultipleDDicts */
1248 /* Note: this enum and the behavior it controls are effectively internal
1296 …/* Note: This enum controls features which are conditionally beneficial. Zstd typically will make …
1317 …* note 1 : decompressed size is an optional field, that may not be present, especially in stream…
1320 * note 2 : decompressed size is always present when compression is done with ZSTD_compress()
1321 * note 3 : decompressed size can be very large (64-bits value),
1324 * note 4 : If source is untrusted, decompressed size could be wrong or intentionally modified.
1327 …* note 5 : ZSTD_findDecompressedSize handles multiple frames, and so it must traverse the input …
1339 * note 1 : an error can occur if `src` contains an invalid or incorrectly formatted frame.
1340 …* note 2 : the upper-bound is exact when the decompressed size field is available in every ZSTD …
1342 …* note 3 : when the decompressed size field isn't available, the upper-bound for that frame is c…
1413 …* Note: Repcodes are, as of now, always re-calculated within this function, so ZSTD_Sequence::rep …
1414 …* Note 2: Once we integrate ability to ingest repcodes, the explicit block delims mode must respec…
1470 * Note : Unlike ZSTD_estimateCStreamSize*(), this estimate
1484 * Note 2 : only single-threaded compression is supported.
1498 * Note : CStream size estimation is only correct for single-threaded compression.
1502 * Note : if streaming is init with function ZSTD_init?Stream_usingDict(),
1514 * Note : dictionaries created by reference (`ZSTD_dlm_byRef`) are logically smaller.
1529 * Note : zstd will never resize nor malloc() when using a static buffer.
1532 * Note 2 : there is no corresponding "free" function.
1534 * Note 3 : cParams : use ZSTD_getCParams() to convert a compression level
1589 * Note that the lifetime of such pool must exist while being used.
1626 * note: equivalent to ZSTD_createCDict_advanced(), with dictLoadMethod==ZSTD_dlm_byRef */
1653 * Note : this function is now DEPRECATED.
1664 * Note : this function is now DEPRECATED.
1703 * NOTE 1: rsyncable mode only works when multithreading is enabled.
1704 * NOTE 2: rsyncable performs poorly in combination with long range mode,
1707 * NOTE 3: Rsyncable mode limits maximum compression speed to ~400 MB/s.
1731 * Set to ZSTD_ps_enable to always compress literals. (Note: uncompressed literals
1785 * Note that some of the members of the ZSTD_compressionParameters struct have
1797 * Note that this means that the CDict tables can no longer be copied into the
1825 * NOTE: ZSTD_compressStream2() will error if ZSTD_e_end is not used.
1828 * NOTE: So long as the ZSTD_inBuffer always points to valid memory, using
1907 * Note that this only pertains to compression strategies: greedy, lazy, and lazy2
2022 * Note : Frame Identifier is 4 bytes. If `size < 4`, @return will always be 0.
2023 * Note 2 : Legacy Frame Identifiers are considered valid only if Legacy Support is enabled.
2024 * Note 3 : Skippable Frame Identifiers are considered valid. */
2094 * NOTE: So long as the ZSTD_outBuffer always points to valid memory, using
2179 * ZSTD_CONTENTSIZE_UNKNOWN. Note that, for compatibility with older programs,
2196 * Note: dict is loaded with ZSTD_dct_auto (treated as a full zstd dictionary if
2231 * note : cdict will just be referenced, and must outlive compression session
2262 * Note: ZSTD_resetCStream() interprets pledgedSrcSize == 0 as ZSTD_CONTENTSIZE_UNKNOWN, but
2268 * Note that zcs must be init at least once before using ZSTD_resetCStream().
2292 * Note : (ingested - consumed) is amount of input data buffered internally, not yet compressed.
2321 * note: no dictionary will be used if dict == NULL or dictSize < 8
2322 …* Note : this prototype will be marked as deprecated and generate compilation warnings on reaching…
2332 * note : ddict is referenced, it must outlive decompression session
2333 …* Note : this prototype will be marked as deprecated and generate compilation warnings on reaching…
2343 …* Note : this prototype will be marked as deprecated and generate compilation warnings on reaching…
2389 …D_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict); /*< note: fails if cdict==NU…
2390 …, const ZSTD_CCtx* preparedCCtx, unsigned long long pledgedSrcSize); /*< note: if pledgedSrcSize …
2417 …Note that these values could be wrong, either because of data corruption, or because a 3rd party d…
2436 Note that already decoded data stored in the buffer should be flushed before being overwritten.
2458 …Note : it's possible to know if next input to present is a header or a block, using ZSTD_nextInput…