Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zlib_deflate\deflate.c Create Date:2022-07-28 06:58:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Compression function. Returns the block state after the call.

Proto:static void fill_window(deflate_state *s)

Type:void

Parameter:

TypeParameterName
deflate_state *s
740  wsize = LZ77 window size (32K by default)
742  Do
743  more = Sliding window - umber of valid bytes ahead in window - start of string to insert
747  more = wsize
749  Else if more == -1 Then
753  more--
760  No 3D Now!((char * )window, (char * )window + wsize, (unsigned)wsize)
774  Do
775  m = *--p
776  p = If m >= wsize Then m - wsize Else Local data
777  When --n cycle
779  n = wsize
781  Do
782  m = *--p
783  p = If m >= wsize Then m - wsize Else Local data
787  When --n cycle
788  more += wsize
790  If number of bytes available at next_in == 0 Then Return
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  When 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 cycle
Caller
NameDescribe
deflate_stored
deflate_fast
deflate_slow