- hash
int hash(const(ubyte)[] data, int seed)
Hashes bytes in an array.
@param data The bytes to hash.
@param seed The seed for the hash.
@return The 32 bit hash of the bytes in question.
- hash
int hash(const(ubyte)[] data, int offset, int length, int seed)
Hashes bytes in part of an array.
@param data The data to hash.
@param offset Where to start munging.
@param length How many bytes to process.
@param seed The seed to start with.
@return The 32-bit hash of the data in question.
- hash
int hash(ByteBuffer buf, int seed)
Hashes the bytes in a buffer from the current position to the limit.
@param buf The bytes to hash.
@param seed The seed for the hash.
@return The 32 bit murmur hash of the bytes in the buffer.
- hash64A
long hash64A(const(ubyte)[] data, int seed)
Undocumented in source. Be warned that the author may not have intended to support it.
- hash64A
long hash64A(const(ubyte)[] data, int offset, int length, int seed)
Undocumented in source. Be warned that the author may not have intended to support it.
- hash64A
long hash64A(ByteBuffer buf, int seed)
Undocumented in source. Be warned that the author may not have intended to support it.
This is a very fast, non-cryptographic hash suitable for general hash-based lookup. See http://murmurhash.googlepages.com/ for more details. <br> <p> The C version of MurmurHash 2.0 found at that site was ported to Java by Andrzej Bialecki (ab at getopt org). </p>