函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\lz4\lz4defs.h Create Date:2022-07-27 07:15:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:LZ4_count

函数原型:static inline __attribute__((__always_inline__)) unsigned int LZ4_count(const BYTE *pIn, const BYTE *pMatch, const BYTE *pInLimit)

返回类型:unsigned int

参数:

类型参数名称
const BYTE *pIn
const BYTE *pMatch
const BYTE *pInLimit
187  pStart等于pIn
189 此条件成立可能性大(为编译器优化)(pIn < pInLimit - (STEPSIZE - 1))循环
190  diff等于LZ4_read_ARCH(pMatch)按位异或LZ4_read_ARCH(pIn)
192  如果非diff
193  pIn加等于STEPSIZE
194  pMatch加等于STEPSIZE
195  继续下一循环
198  pIn加等于LZ4_NbCommonBytes(diff)
200  返回:pInpStart
211  如果pIn小于pInLimit减1且-************************************* Reading and writing into memory恒等于-************************************* Reading and writing into memory
213  pIn加等于2
214  pMatch加等于2
217  如果pIn小于pInLimitpMatch恒等于pInpIn自加
220  返回:pInpStart
调用者
名称描述
LZ4_compress_genericLZ4_compress_generic() :* inlined, to ensure branches are decided at compilation time
LZ4_compress_destSize_generic-******************************* *_destSize() variant
LZ4HC_InsertAndFindBestMatch
LZ4HC_InsertAndGetWiderMatch