![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
Implementation details – not part of the public API. More...
Functions | |
| constexpr uint64_t | rotl64 (uint64_t v, int r) |
Rotate v left by r bits (circular shift). | |
| uint64_t | read_u64_le (const uint8_t *p) |
| Read a little-endian uint64_t from potentially unaligned memory. | |
| uint32_t | read_u32_le (const uint8_t *p) |
| Read a little-endian uint32_t from potentially unaligned memory. | |
| constexpr uint64_t | round (uint64_t acc, uint64_t lane) |
| Round function: accumulate one 8-byte lane into an accumulator. | |
| constexpr uint64_t | merge_accumulator (uint64_t acc, uint64_t v) |
| Merge an accumulator value into the converged accumulator. | |
| constexpr uint64_t | avalanche (uint64_t h) |
| Avalanche / finalization mix to ensure all output bits are well-distributed. | |
Implementation details – not part of the public API.
|
inlineconstexpr |
Avalanche / finalization mix to ensure all output bits are well-distributed.
Applies three rounds of xor-shift-multiply to diffuse entropy.
| h | Raw hash accumulator before finalization. |
Definition at line 133 of file xxhash.hpp.
|
inlineconstexpr |
Merge an accumulator value into the converged accumulator.
Computes: acc = (acc ^ round(0, v)) * PRIME1 + PRIME4
| acc | Converged accumulator (from the 4-lane rotation sum). |
| v | One of the four lane accumulators to merge. |
Definition at line 121 of file xxhash.hpp.
|
inline |
Read a little-endian uint32_t from potentially unaligned memory.
| p | Pointer to 4 bytes of data in little-endian byte order. |
Definition at line 82 of file xxhash.hpp.
|
inline |
Read a little-endian uint64_t from potentially unaligned memory.
| p | Pointer to 8 bytes of data in little-endian byte order. |
Definition at line 61 of file xxhash.hpp.
|
inlineconstexpr |
Rotate v left by r bits (circular shift).
| v | 64-bit value to rotate. |
| r | Number of bit positions to rotate (0-63). |
Definition at line 52 of file xxhash.hpp.
|
inlineconstexpr |
Round function: accumulate one 8-byte lane into an accumulator.
Computes: acc = rotl(acc + lane * PRIME2, 31) * PRIME1
| acc | Current accumulator value. |
| lane | 64-bit data lane to fold in. |
Definition at line 107 of file xxhash.hpp.