函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Compression function. Returns the block state after the call.

函数原型:static void fill_window(deflate_state *s)

返回类型:void

参数:

类型参数名称
deflate_state *s
740  wsize等于LZ77 window size (32K by default)
742  循环
743  more等于Sliding windowumber of valid bytes ahead in window start of string to insert
746  如果more恒等于0且start of string to insert 恒等于0且umber of valid bytes ahead in window 恒等于0则
747  more等于wsize
749  否则如果more恒等于负1则
753  more自减
760  内存复制((char * )window, (char * )window + wsize, (unsigned)wsize)
774  循环
775  m等于*p先自减
776  p等于如果m大于等于wsizemwsize否则Local data
777 n先自减循环
779  n等于wsize
781  循环
782  m等于*p先自减
783  p等于如果m大于等于wsizemwsize否则Local data
787 n先自减循环
788  more加等于wsize
790  如果 number of bytes available at next_in 恒等于0则返回
805  n等于read_buf(pointer back to this zlib stream , window + start of string to insert + umber of valid bytes ahead in window , more)
806  umber of valid bytes ahead in window 加等于n
820 umber of valid bytes ahead in window 小于Matches of length 3 are discarded if their distance exceeds TOO_FAR number of bytes available at next_in 不等于0循环
调用者
名称描述
deflate_stored
deflate_fast
deflate_slow