|
Geant4-11
|
Go to the source code of this file.
Macros | |
| #define | DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) |
| #define | DO8 DO1; DO1; DO1; DO1; DO1; DO1; DO1; DO1 |
| #define | GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ |
| #define | TBLS 1 |
Functions | |
| unsigned long ZEXPORT | crc32 (unsigned long crc, const unsigned char FAR *buf, uInt len) |
| uLong ZEXPORT | crc32_combine (uLong crc1, uLong crc2, z_off_t len2) |
| uLong ZEXPORT | crc32_combine64 (uLong crc1, uLong crc2, z_off64_t len2) |
| uLong | crc32_combine_ (uLong crc1, uLong crc2, z_off64_t len2) |
| unsigned long ZEXPORT | crc32_z (unsigned long crc, const unsigned char FAR *buf, z_size_t len) |
| const z_crc_t FAR *ZEXPORT | get_crc_table () |
| void | gf2_matrix_square (unsigned long *square, unsigned long *mat) |
| unsigned long | gf2_matrix_times (unsigned long *mat, unsigned long vec) |
| uLong crc32_combine_ | OF ((uLong crc1, uLong crc2, z_off64_t len2)) |
| unsigned long gf2_matrix_times | OF ((unsigned long *mat, unsigned long vec)) |
| void gf2_matrix_square | OF ((unsigned long *square, unsigned long *mat)) |
| #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) |
| #define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ |
| unsigned long ZEXPORT crc32 | ( | unsigned long | crc, |
| const unsigned char FAR * | buf, | ||
| uInt | len | ||
| ) |
Definition at line 236 of file crc32.c.
References crc32_z().
Referenced by deflate(), deflateResetKeep(), gl2psPrintGzipFooter(), inflate(), and read_buf().
| uLong ZEXPORT crc32_combine | ( | uLong | crc1, |
| uLong | crc2, | ||
| z_off_t | len2 | ||
| ) |
| uLong ZEXPORT crc32_combine64 | ( | uLong | crc1, |
| uLong | crc2, | ||
| z_off64_t | len2 | ||
| ) |
Definition at line 435 of file crc32.c.
References crc32_combine_().
| uLong crc32_combine_ | ( | uLong | crc1, |
| uLong | crc2, | ||
| z_off64_t | len2 | ||
| ) |
Definition at line 371 of file crc32.c.
References GF2_DIM, gf2_matrix_square(), gf2_matrix_times(), and CLHEP::detail::n.
Referenced by crc32_combine(), and crc32_combine64().
| unsigned long ZEXPORT crc32_z | ( | unsigned long | crc, |
| const unsigned char FAR * | buf, | ||
| z_size_t | len | ||
| ) |
Definition at line 201 of file crc32.c.
References DO1, DO8, and Z_NULL.
Referenced by crc32().
| const z_crc_t FAR *ZEXPORT get_crc_table | ( | ) |
| void gf2_matrix_square | ( | unsigned long * | square, |
| unsigned long * | mat | ||
| ) |
Definition at line 360 of file crc32.c.
References GF2_DIM, gf2_matrix_times(), and CLHEP::detail::n.
Referenced by crc32_combine_().
| unsigned long gf2_matrix_times | ( | unsigned long * | mat, |
| unsigned long | vec | ||
| ) |
Definition at line 343 of file crc32.c.
Referenced by crc32_combine_(), and gf2_matrix_square().
| uLong crc32_combine_ OF | ( | (uLong crc1, uLong crc2, z_off64_t len2) | ) |
| unsigned long gf2_matrix_times OF | ( | (unsigned long *mat, unsigned long vec) | ) |
| void gf2_matrix_square OF | ( | (unsigned long *square, unsigned long *mat) | ) |