函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:read_buf

函数原型:static int read_buf(z_streamp strm, Byte *buf, unsigned size)

返回类型:int

参数:

类型参数名称
z_streampstrm
Byte *buf
unsignedsize
499  len等于 number of bytes available at next_in
501  如果len大于sizelen等于size
502  如果len恒等于0则返回:0
504  number of bytes available at next_in 减等于len
506  如果非noheader
507  adler32 value of the uncompressed data 等于Update a running Adler-32 checksum with the bytes buf[0..len-1] andreturn the updated checksum. If buf is NULL, this function returnsthe required initial value for the checksum.An Adler-32 checksum is almost as reliable as a CRC32 but can be computed
509  内存复制(buf, next input byte , len)
510  next input byte 加等于len
511  total nb of input bytes read so far 加等于len
513  返回:len
调用者
名称描述
fill_windowCompression function. Returns the block state after the call.