Zlib函数列表 We often get questions about how the deflate() and inflate() functions should be used. Users wonder when they should provide more input, when they should use more output, what to do with a Z_BUF_ERROR, how to make sure the process terminates properly, and so on. So for those who have read zlib.h (a few times), and would like further edification, below is an annotated example in C of simple routines to compress and decompress from an input file to an output file using deflate() and inflate() respectively. The annotations are interspersed between lines of the code. So please read between the lines. We hope this helps explain some of the intricacies of zlib.
标签: functions questions deflate inflate
上传时间: 2014-01-03
上传用户:lhc9102
使用 RS232串列通訊和機器人連結,並且給予Output指令去使Robot去移動
上传时间: 2014-01-11
上传用户:qq1604324866
This design package includes reference materials for creating a USB - PS/2 combination mouse that auto-detects the interface and configures itself to operate on the appropriate bus. Documentation docs - Designing a low cost CY7C63723 combination mouse.pdf - application note for this design - schematic.pdf - mouse schematic Firmware Source Files src - chip.c - include file that defines CY7C63723 constants - combi.c - main source file - combi.hex - Intel hex file for programming a CY7C63723 microcontroller - combi.lst - output listing from c-compiler for use with the CYDB debugger - macros.h - defines macros used in combi.c - ps2defs.h - defines PS/2 interface constants - usb_desc.h - defines the USB descriptors - usbdefs.h - defines USB interface constants
标签: combination materials reference creating
上传时间: 2015-10-19
上传用户:784533221
这是CISS会议上发表的著名论文“Tensor Canonical decomposition based method for blind identification of MIMO system with 3-input 2-output case”的源程序,主要是讲基于张量规范分解的多天线系统的忙识别问题,里边包含了相应的文章,可以一起对照着看。
标签: identification decomposition Canonical Tensor
上传时间: 2015-10-21
上传用户:牛津鞋
This simulation script set allows for an OFDM transmission to be simulated. Imagetx.m generates the OFDM signal, saving it as a windows WAV file. This allows the OFDM signal to be played out a sound card and recorded back. Imagerx.m decodes the WAV to extract the data. settings.m contains all the common settings to specify all the simulation parameters such as FFT size, number of carriers, input data source file, input and output WAV files, etc.
标签: transmission simulation generates simulated
上传时间: 2013-12-15
上传用户:dyctj
Input The first line of the input contains a single integer T (1 <= T <= 20), the number of test cases. Then T cases follow. The first line of each case contains N, and the second line contains N integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross. Output For each test case, print a line containing the total number of seconds required for all the N people to cross the river. Sample Input 1 4 1 2 5 10 Sample Output 17
标签: the contains integer number
上传时间: 2015-10-27
上传用户:plsee
Input The input contains blocks of 2 lines. The first line contains the number of sticks parts after cutting, there are at most 64 sticks. The second line contains the lengths of those parts separated by the space. The last line of the file contains zero. Output The output should contains the smallest possible length of original sticks, one per line. Sample Input 9 5 2 1 5 2 1 5 2 1 4 1 2 3 4 0 Sample Output 6 5
标签: contains The blocks number
上传时间: 2015-10-27
上传用户:lepoke
Input The input consists of two lines. The first line contains two integers n and k which are the lengths of the array and the sliding window. There are n integers in the second line. Output There are two lines in the output. The first line gives the minimum values in the window at each position, from left to right, respectively. The second line gives the maximum values. Sample Input 8 3 1 3 -1 -3 5 3 6 7 Sample Output -1 -3 -3 -3 3 3 3 3 5 5 6 7
上传时间: 2014-12-21
上传用户:hongmo
Solutions are obtained for Poissson, diffusion, or wave PDEs homogeneous or nonhomogeneous equations and/or boundary conditions rectangular, cylindrical, or spherical coordinates time, Laplace, or frequency domains Dirichlet, Neumann, Robin, singular, periodic, or incoming/outgoing boundary conditions. Output is suitable for pasting into LaTeX documents.
标签: nonhomogeneous homogeneous Solutions diffusion
上传时间: 2015-10-30
上传用户:JasonC
RAM Disk Driver with custom BoundsChecker events This sample illustrates how to add custom BoundsChecker events to a DDK driver. It links to the kchecker library and has several BOUNDSCHECKER() calls in it. This sample is a software only Windows NT Device Driver. This driver is provided for educational purposes only. Generally the Windows NT cache manager does a much better job of optimizing memory usage than using a RAM disk.
标签: custom BoundsChecker illustrates Bounds
上传时间: 2014-01-04
上传用户:onewq