Go to the source code of this file.
|
#define | BASE 65521L /* largest prime smaller than 65536 */ |
|
#define | NMAX 5552 |
|
#define | DO1(buf, i) {s1 += buf[i]; s2 += s1;} |
|
#define | DO2(buf, i) DO1(buf,i); DO1(buf,i+1); |
|
#define | DO4(buf, i) DO2(buf,i); DO2(buf,i+2); |
|
#define | DO8(buf, i) DO4(buf,i); DO4(buf,i+4); |
|
#define | DO16(buf) DO8(buf,0); DO8(buf,8); |
|
◆ BASE
◆ DO1
◆ DO16
◆ DO2
◆ DO4
◆ DO8
◆ NMAX
◆ ZEXPORT()
Definition at line 21 of file adler32.c.
25{
26 unsigned long s1 = adler & 0xffff;
27 unsigned long s2 = (adler >> 16) & 0xffff;
29
31
39 }
46 }
47 return (
s2 << 16) |
s1;
48}
GLenum GLuint GLenum GLsizei const GLchar * buf