SMurmurHash3_x86_32

MurmurHash3 for x86 processors producing a 32 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 seed)
Undocumented in source.

Postblit

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

Members

Aliases

Block
alias Block = uint
Undocumented in source.

Functions

finalize
void finalize()

Incorporate size and finalizes the hash.

get
Block get()

Returns the hash as an uint value.

putBlock
void putBlock(uint 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