PostgreSQL Source Code
git master
|
#include "port/pg_bswap.h"
Go to the source code of this file.
Macros | |
#define | INIT_CRC32C(crc) ((crc) = 0xFFFFFFFF) |
#define | EQ_CRC32C(c1, c2) ((c1) == (c2)) |
#define | COMP_CRC32C(crc, data, len) ((crc) = pg_comp_crc32c_sb8((crc), (data), (len))) |
#define | FIN_CRC32C(crc) ((crc) ^= 0xFFFFFFFF) |
Typedefs | |
typedef uint32 | pg_crc32c |
Functions | |
pg_crc32c | pg_comp_crc32c_sb8 (pg_crc32c crc, const void *data, size_t len) |
Definition at line 98 of file pg_crc32c.h.
#define EQ_CRC32C | ( | c1, | |
c2 | |||
) | ((c1) == (c2)) |
Definition at line 42 of file pg_crc32c.h.
Definition at line 103 of file pg_crc32c.h.
Definition at line 41 of file pg_crc32c.h.
Definition at line 38 of file pg_crc32c.h.
Definition at line 35 of file pg_crc32c_sb8.c.
References a, b, crc, CRC8, data, len, and pg_crc32c_table.
Referenced by pg_comp_crc32c_choose().