函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_lzma2.c Create Date:2022-07-27 08:06:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Get a byte from the dictionary at the given distance. The distance is* assumed to valid, or as a special case, zero when the dictionary is* still empty. This special case is needed for single-call decoding to

函数原型:static inline uint32_t dict_get(const struct dictionary *dict, uint32_t dist)

返回类型:uint32_t

参数:

类型参数名称
const struct dictionary *dict
uint32_tdist
322  offset等于Position in buf dist减1
324  如果dist大于等于Position in buf offset加等于End of the dictionary buffer. In multi-call mode, this is* the same as the dictionary size. In single-call mode, this* indicates the size of the output buffer.
327  返回:如果How full dictionary is. This is used to detect corrupt input that* would read beyond the beginning of the uncompressed stream.大于0则Beginning of the history buffer [offset]否则0
调用者
名称描述
lzma_literal_probsGet pointer to literal coder probability array.
lzma_literalDecode a literal (one 8-bit byte)