Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
adler32.c File Reference
#include "zutil.h"

Macros

#define BASE   65521U /* largest prime smaller than 65536 */
 
#define NMAX   5552
 
#define DO1(buf, i)
 
#define DO2(buf, i)
 
#define DO4(buf, i)
 
#define DO8(buf, i)
 
#define DO16(buf)
 
#define MOD(a)
 
#define MOD28(a)
 
#define MOD63(a)
 

Functions

local uLong adler32_combine_ OF ((uLong adler1, uLong adler2, z_off64_t len2))
 
uLong ZEXPORT adler32_z (uLong adler, const Bytef *buf, z_size_t len)
 
uLong ZEXPORT adler32 (uLong adler, const Bytef *buf, uInt len)
 
local uLong adler32_combine_ (uLong adler1, uLong adler2, z_off64_t len2)
 
uLong ZEXPORT adler32_combine (uLong adler1, uLong adler2, z_off_t len2)
 
uLong ZEXPORT adler32_combine64 (uLong adler1, uLong adler2, z_off64_t len2)
 

Macro Definition Documentation

◆ BASE

#define BASE   65521U /* largest prime smaller than 65536 */

◆ DO1

#define DO1 ( buf,
i )
Value:
{adler += (buf)[i]; sum2 += adler;}
char buf[N_BUF]
Definition spewG.c:36
lzma_index ** i
Definition index.h:629

◆ DO16

#define DO16 ( buf)
Value:
DO8(buf,0); DO8(buf,8);
#define DO8(buf, i)
Definition adler32.c:19

◆ DO2

#define DO2 ( buf,
i )
Value:
DO1(buf,i); DO1(buf,i+1);
#define DO1(buf, i)
Definition adler32.c:16

◆ DO4

#define DO4 ( buf,
i )
Value:
DO2(buf,i); DO2(buf,i+2);
#define DO2(buf, i)
Definition adler32.c:17

◆ DO8

#define DO8 ( buf,
i )
Value:
DO4(buf,i); DO4(buf,i+4);
#define DO4(buf, i)
Definition adler32.c:18

◆ MOD

#define MOD ( a)
Value:
a %= BASE
#define BASE
Definition adler32.c:12
#define a(i)
Definition sha256.c:41

◆ MOD28

#define MOD28 ( a)
Value:
a %= BASE

◆ MOD63

#define MOD63 ( a)
Value:
a %= BASE

◆ NMAX

#define NMAX   5552

Function Documentation

◆ adler32()

uLong ZEXPORT adler32 ( uLong adler,
const Bytef * buf,
uInt len )

◆ adler32_combine()

uLong ZEXPORT adler32_combine ( uLong adler1,
uLong adler2,
z_off_t len2 )

◆ adler32_combine64()

uLong ZEXPORT adler32_combine64 ( uLong adler1,
uLong adler2,
z_off64_t len2 )

◆ adler32_combine_()

local uLong adler32_combine_ ( uLong adler1,
uLong adler2,
z_off64_t len2 )

◆ adler32_z()

uLong ZEXPORT adler32_z ( uLong adler,
const Bytef * buf,
z_size_t len )

◆ OF()

local uLong adler32_combine_ OF ( (uLong adler1, uLong adler2, z_off64_t len2) )