public final class XXH64 extends Object
This was largely based on the following (original) C and Java implementations: https://github.com/Cyan4973/xxHash/blob/master/xxhash.c https://github.com/OpenHFT/Zero-Allocation-Hashing/blob/master/src/main/java/net/openhft/hashing/XxHash_r39.java https://github.com/airlift/slice/blob/master/src/main/java/io/airlift/slice/XxHash64.java
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_SEED |
| Constructor and Description |
|---|
XXH64() |
| Modifier and Type | Method and Description |
|---|---|
static long |
hashInt(int input,
long seed) |
static long |
hashLong(long input,
long seed) |
static long |
hashUnsafeBytes(org.apache.flink.core.memory.MemorySegment ms,
int offset,
int length,
long seed) |
public static final long DEFAULT_SEED
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.