Function report |
Source Code:lib\zlib_inflate\inflate.c |
Create Date:2022-07-28 06:57:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Update the window with the last wsize (normally 32K) bytes written beforereturning. This is only called when a window is already in use, or whenoutput has been written during this inflate call, but the end of the deflatestream has not been reached yet
Proto:static void zlib_updatewindow(z_streamp strm, unsigned out)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| z_streamp | strm | |
| unsigned | out |
| 109 | copy = out - remaining free space at next_out |
| 110 | If copy >= window size or zero if not using window Then |
| 111 | No 3D Now!(allocated sliding window, if needed , next output byte should be put there - window size or zero if not using window , window size or zero if not using window ) |
| 112 | window write index = 0 |
| 115 | Else |
| 118 | No 3D Now!(allocated sliding window, if needed + window write index , next output byte should be put there - copy, dist) |
| 120 | If copy Then |
| 121 | No 3D Now!(allocated sliding window, if needed , next output byte should be put there - copy, copy) |
| 122 | window write index = copy |
| 125 | Else |
| 126 | window write index += dist |
| 127 | If window write index == window size or zero if not using window Then window write index = 0 |
| Name | Describe |
|---|---|
| zlib_inflate | late() uses a state machine to process as much input data and generate asmuch output data as possible before returning |
| zlib_inflateIncomp | This subroutine adds the data at next_in/avail_in to the output history* without performing any output. The output buffer must be "caught up";* i.e. no pending output but this should always be the case. The state must |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |