Merge pull request #965 from ThomasWaldmann/fix-typos
fix some typos (work by Andrea Gelmini)
This commit is contained in:
commit
1930488135
@ -1048,7 +1048,7 @@ LZ4_FORCE_INLINE int LZ4_compress_generic_validated(
|
|||||||
_next_match:
|
_next_match:
|
||||||
/* at this stage, the following variables must be correctly set :
|
/* at this stage, the following variables must be correctly set :
|
||||||
* - ip : at start of LZ operation
|
* - ip : at start of LZ operation
|
||||||
* - match : at start of previous pattern occurence; can be within current prefix, or within extDict
|
* - match : at start of previous pattern occurrence; can be within current prefix, or within extDict
|
||||||
* - offset : if maybe_ext_memSegment==1 (constant)
|
* - offset : if maybe_ext_memSegment==1 (constant)
|
||||||
* - lowLimit : must be == dictionary to mean "match is within extDict"; must be == source otherwise
|
* - lowLimit : must be == dictionary to mean "match is within extDict"; must be == source otherwise
|
||||||
* - token and *token : position to write 4-bits for match length; higher 4-bits for literal length supposed already written
|
* - token and *token : position to write 4-bits for match length; higher 4-bits for literal length supposed already written
|
||||||
|
@ -502,7 +502,7 @@ LZ4LIB_STATIC_API void LZ4_attach_dictionary(LZ4_stream_t* workingStream, const
|
|||||||
/*! In-place compression and decompression
|
/*! In-place compression and decompression
|
||||||
*
|
*
|
||||||
* It's possible to have input and output sharing the same buffer,
|
* It's possible to have input and output sharing the same buffer,
|
||||||
* for highly contrained memory environments.
|
* for highly constrained memory environments.
|
||||||
* In both cases, it requires input to lay at the end of the buffer,
|
* In both cases, it requires input to lay at the end of the buffer,
|
||||||
* and decompression to start at beginning of the buffer.
|
* and decompression to start at beginning of the buffer.
|
||||||
* Buffer size must feature some margin, hence be larger than final size.
|
* Buffer size must feature some margin, hence be larger than final size.
|
||||||
|
Loading…
Reference in New Issue
Block a user