SMurmurHash3_x86_128

MurmurHash3 for x86 processors producing a 128 bits value. This is a lower level implementation that makes finalization optional and have slightly better performance. Note that putRemainder can be called only once and that no subsequent calls to putBlocks is allowed.

Constructors

this
this(uint seed4, uint seed3, uint seed2, uint seed1)
Undocumented in source.
this
this(uint seed)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

Block
alias Block = uint[4]
Undocumented in source.

Functions

finalize
void finalize()

Incorporate size and finalizes the hash.

get
Block get()

Returns the hash as an uint[4] value.

putBlock
void putBlock(Block block)

Adds a single Block of data without increasing size. Make sure to increase size by Block.sizeof for each call to putBlock.

putRemainder
void putRemainder(const(ubyte[]) data)

Put remainder bytes. This must be called only once after putBlock and before finalize.

Variables

size
size_t size;
Undocumented in source.

Meta