Home
last modified time | relevance | path

Searched defs:MurmurHash3 (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/digest/
H A Dmurmurhash.d135 struct MurmurHash3(uint size /* 32 or 128 */ , uint opt = size_t.sizeof == 8 ? 64 : 32) struct
137 enum blockSize = size; // Number of bits of the hashed value.
138 size_t element_count; // The number of full elements pushed, this is used for finalization.
142 private enum uint c1 = 0xcc9e2d51;
143 private enum uint c2 = 0x1b873593;
144 private uint h1;
145 alias Element = uint; /// The element type for 32-bit implementation.
147 this(uint seed) in this()
155 void putElement(uint block) pure nothrow @nogc in this()
161 void putRemainder(scope const(ubyte[]) data...) pure nothrow @nogc in this()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/digest/
H A Dmurmurhash.d135 struct MurmurHash3(uint size /* 32 or 128 */ , uint opt = size_t.sizeof == 8 ? 64 : 32) struct
137 enum blockSize = size; // Number of bits of the hashed value.
138 size_t element_count; // The number of full elements pushed, this is used for finalization.
142 private enum uint c1 = 0xcc9e2d51;
143 private enum uint c2 = 0x1b873593;
144 private uint h1;
145 alias Element = uint; /// The element type for 32-bit implementation.
147 this(uint seed) in this()
155 void putElement(uint block) pure nothrow @nogc in this()
161 void putRemainder(scope const(ubyte[]) data...) pure nothrow @nogc in this()
[all …]