Zlib函數(shù)列表 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.
標(biāo)簽: functions questions deflate inflate
上傳時(shí)間: 2014-01-03
上傳用戶:lhc9102
HDOJ ACM input:The input consists of T test cases. The number of test cases ) (T is given in the first line of the input. Each test case begins with a line containing an integer N , 1<=N<=200 , that represents the number of tables to move. Each of the following N Lines contains two positive integers s and t, representing that a table is to move from room number s to room number t (each room number appears at most once in the N Lines). From the N+3-rd line, the remaining test cases are listed in the same manner as above.
標(biāo)簽: input cases test The
上傳時(shí)間: 2015-10-18
上傳用戶:三人用菜
We propose a simple and effective method for detecting view- and scale-independent ridge-valley Lines defined via first- and secondorder curvature derivatives on shapes approximated by dense triangle meshes.
標(biāo)簽: scale-independent ridge-valley and effective
上傳時(shí)間: 2014-01-08
上傳用戶:sammi
This paper introduces an affine invariant of trapezia, and the explicit constraint equation between the intrinsic matrix of a camera and the similarity invariants of a trapezium are established using the affine invariant. By this constraint, the inner parameters, motion parameters of the cameras and the similarity invariants of trapezia can be linearly determined using some prior knowledge on the cameras or the trapezia. The proposed algorithms have wide applicability since parallel Lines are not rare in many scenes. Experimental results validate the proposed approaches. This work presents a unifying framework based on the parallelism constraint, and the previous methods based on the parallelograms or the parallelepipeds can be integrated into this framework. Key words: invariant parallelism constraint camera calibration 3D reconstruction
標(biāo)簽: introduces constraint invariant explicit
上傳時(shí)間: 2014-01-16
上傳用戶:6546544
/************************************************************************************************** * 簡(jiǎn)介 * * 本模塊僅使用于字符顯示液晶模塊 * * 當(dāng)前版本的驅(qū)動(dòng)僅支持以下類型LCD模塊驅(qū)動(dòng): * Hitachi HD44780 或與之兼容的芯片. * * LCD顯示函數(shù)支持以下格式: * 1 line x 8 characters * 1 line x 16 characters 2 Lines x 16 characters 4 Lines x 16 characters * 1 line x 20 characters 2 Lines x 20 characters 4 Lines x 20 characters * 1 line x 24 characters 2 Lines x 24 characters * 1 line x 40 characters 2 Lines x 40 characters *說(shuō)明: * 1 line x 16 characters 需要定義為2*8的液晶模塊 **************************************************************************************************/
標(biāo)簽:
上傳時(shí)間: 2013-12-06
上傳用戶:zhliu007
這是我自已寫(xiě)的HD44780 LCD1602液晶屏的程序,是基于AVR單片機(jī)上實(shí)現(xiàn)的。 /************************************************************************************************** * 簡(jiǎn)介 * * 本模塊僅使用于字符顯示液晶模塊 * * 當(dāng)前版本的驅(qū)動(dòng)僅支持以下類型LCD模塊驅(qū)動(dòng): * Hitachi HD44780 或與之兼容的芯片. * * LCD顯示函數(shù)支持以下格式: * 1 line x 16 characters 2 Lines x 16 characters 4 Lines x 16 characters * 1 line x 20 characters 2 Lines x 20 characters 4 Lines x 20 characters * 1 line x 24 characters 2 Lines x 24 characters * 1 line x 40 characters 2 Lines x 40 characters *說(shuō)明: * 1 line x 16 characters 需要定義為2*8的液晶模塊 * * 不支持外部?jī)?nèi)存模式 **************************************************************************************************/
上傳時(shí)間: 2015-11-20
上傳用戶:王楚楚
線上求解法求解色譜模型,method of Lines sloving chromatographic model
上傳時(shí)間: 2014-01-11
上傳用戶:liansi
=== === === === === === === === === === ==== IBM PC KEYBOARD INFORMATION FOR SOFTWARE DEVELOPERS ================================================================ Sources: PORTS.A of Ralf Brown s interrupt list collection repairfaq.org keyboard FAQ(doesn t appear to exsist) Linux source code Test hardware: New Samsung KB3T001SAXAA 104-key keyboard Old Maxi 2186035-00-21 101-key keyboard NO WARRANTY. NO GUARANTEE. I have tried to make this information accurate. I don t know if I succeeded. Corrections or additional information would be welcome. This is a plain-text document. If you use a word-processor to view it, use a fixed-pitch font (like Courier) so columnar data and ASCII art Lines up properly.
標(biāo)簽: INFORMATION DEVELOPERS KEYBOARD SOFTWARE
上傳時(shí)間: 2014-08-18
上傳用戶:ecooo
Somebody over on the Generation5 forum asked for a "Hello World!" program for genetic algorithms. I took it literally and created a very simple program (138 Lines of code) that evolves the phrase "Hello world!"
標(biāo)簽: Generation5 algorithms for Somebody
上傳時(shí)間: 2016-03-07
上傳用戶:siguazgb
法國(guó)cromda編寫(xiě)的新版本MATRICE 2(矩陣和矢量運(yùn)算單元)。 // ---------------------------------------------------------- // 12-01-02 : MODIFIED Matrice to Matrice2 (Delphi 6) // All routines now operate on rectangular matrix, except (InvMat and SysLin) // No more need to use the InitMat procedure (suppressed) : // - the routines detect automaticaly the dimensions of matrix and vector // - error code MatDimNul is generated if zero Lines or column in matrix and vector (See DimensionMatrice and DimensionVecteur) // - error code MatMauvDim is generated if the dimensions of matrix/vector don t allow valid result // - // The result matrix is dimensioned automaticaly
標(biāo)簽: MATRICE cromda 法國(guó) 編寫(xiě)
上傳時(shí)間: 2014-01-23
上傳用戶:sy_jiadeyi
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1