mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-15 15:24:59 -04:00
lib/matchfinder: document matchfinder_rebase() preconditions
This commit is contained in:
parent
6d66819651
commit
f8057e8805
@ -75,6 +75,9 @@ matchfinder_init(mf_pos_t *data, size_t size)
|
|||||||
* hash bucket. Note that in the latter table, the links are 1-ary in the case
|
* hash bucket. Note that in the latter table, the links are 1-ary in the case
|
||||||
* of "hash chains", and 2-ary in the case of "binary trees". In either case,
|
* of "hash chains", and 2-ary in the case of "binary trees". In either case,
|
||||||
* the links need to be rebased in the same way.
|
* the links need to be rebased in the same way.
|
||||||
|
*
|
||||||
|
* 'data' must be aligned to a MATCHFINDER_MEM_ALIGNMENT boundary, and
|
||||||
|
* 'size' must be a multiple of MATCHFINDER_SIZE_ALIGNMENT.
|
||||||
*/
|
*/
|
||||||
#ifndef matchfinder_rebase
|
#ifndef matchfinder_rebase
|
||||||
static forceinline void
|
static forceinline void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user