Planeshift
|
Go to the source code of this file.
Defines | |
#define | PERMUTE(x) (x) |
#define | SMALL_HASH_DEBUG1(s, inp) |
#define | SMALL_HASH_DEBUG2(s, inp) |
Functions | |
static usize_t | xd3_checksum_hash (const xd3_hash_cfg *cfg, const usize_t cksum) |
static uint32_t | xd3_lcksum (const uint8_t *seg, const usize_t ln) |
static uint32_t | xd3_scksum (uint32_t *state, const uint8_t *base, const usize_t look) |
static uint32_t | xd3_small_cksum_update (uint32_t *state, const uint8_t *base, const usize_t look) |
Variables | |
static const uint32_t | hash_multiplier = 1597334677U |
#define PERMUTE | ( | x | ) | (x) |
Definition at line 45 of file xdelta3-hash.h.
#define SMALL_HASH_DEBUG1 | ( | s, | |
inp | |||
) |
Definition at line 31 of file xdelta3-hash.h.
#define SMALL_HASH_DEBUG2 | ( | s, | |
inp | |||
) |
Definition at line 32 of file xdelta3-hash.h.
static usize_t xd3_checksum_hash | ( | const xd3_hash_cfg * | cfg, |
const usize_t | cksum | ||
) | [inline, static] |
Definition at line 150 of file xdelta3-hash.h.
static uint32_t xd3_lcksum | ( | const uint8_t * | seg, |
const usize_t | ln | ||
) | [inline, static] |
Definition at line 177 of file xdelta3-hash.h.
static uint32_t xd3_scksum | ( | uint32_t * | state, |
const uint8_t * | base, | ||
const usize_t | look | ||
) | [inline, static] |
Definition at line 124 of file xdelta3-hash.h.
static uint32_t xd3_small_cksum_update | ( | uint32_t * | state, |
const uint8_t * | base, | ||
const usize_t | look | ||
) | [inline, static] |
Definition at line 135 of file xdelta3-hash.h.
const uint32_t hash_multiplier = 1597334677U [static] |
Definition at line 38 of file xdelta3-hash.h.