diff --git a/docs/master/MurmurHash3_8h_source.html b/docs/master/MurmurHash3_8h_source.html
index b562983b..47f62f9e 100644
--- a/docs/master/MurmurHash3_8h_source.html
+++ b/docs/master/MurmurHash3_8h_source.html
@@ -142,10 +142,10 @@
- 74 MURMUR3_FORCE_INLINE uint64_t getblock64 (
const uint64_t * p,
size_t i )
+ 74 MURMUR3_FORCE_INLINE uint64_t getblock64 (
const uint8_t * p,
size_t i )
- 77 memcpy(&res, p + i,
sizeof(res));
+ 77 memcpy(&res, p + i *
sizeof(uint64_t),
sizeof(res));
@@ -175,82 +175,81 @@
- 107 const size_t nblocks = lenBytes >> 4;
+ 107 const size_t nblocks = lenBytes >> 4;
- 110 const uint64_t* blocks = (
const uint64_t*)(data);
- 111 for (
size_t i = 0; i < nblocks; ++i) {
- 112 uint64_t k1 = getblock64(blocks, i * 2 + 0);
- 113 uint64_t k2 = getblock64(blocks, i * 2 + 1);
-
- 115 k1 *= c1; k1 = MURMUR3_ROTL64(k1,31); k1 *= c2; out.h1 ^= k1;
- 116 out.h1 = MURMUR3_ROTL64(out.h1,27);
-
- 118 out.h1 = out.h1*5+0x52dce729;
-
- 120 k2 *= c2; k2 = MURMUR3_ROTL64(k2,33); k2 *= c1; out.h2 ^= k2;
- 121 out.h2 = MURMUR3_ROTL64(out.h2,31);
-
- 123 out.h2 = out.h2*5+0x38495ab5;
-
-
-
- 127 const uint8_t * tail = (
const uint8_t*)(data + (nblocks << 4));
-
-
-
-
- 132 switch(lenBytes & 15)
-
- 134 case 15: k2 ^= ((uint64_t)tail[14]) << 48;
- 135 case 14: k2 ^= ((uint64_t)tail[13]) << 40;
- 136 case 13: k2 ^= ((uint64_t)tail[12]) << 32;
- 137 case 12: k2 ^= ((uint64_t)tail[11]) << 24;
- 138 case 11: k2 ^= ((uint64_t)tail[10]) << 16;
- 139 case 10: k2 ^= ((uint64_t)tail[ 9]) << 8;
- 140 case 9: k2 ^= ((uint64_t)tail[ 8]) << 0;
- 141 k2 *= c2; k2 = MURMUR3_ROTL64(k2,33); k2 *= c1; out.h2 ^= k2;
-
- 143 case 8: k1 ^= ((uint64_t)tail[ 7]) << 56;
- 144 case 7: k1 ^= ((uint64_t)tail[ 6]) << 48;
- 145 case 6: k1 ^= ((uint64_t)tail[ 5]) << 40;
- 146 case 5: k1 ^= ((uint64_t)tail[ 4]) << 32;
- 147 case 4: k1 ^= ((uint64_t)tail[ 3]) << 24;
- 148 case 3: k1 ^= ((uint64_t)tail[ 2]) << 16;
- 149 case 2: k1 ^= ((uint64_t)tail[ 1]) << 8;
- 150 case 1: k1 ^= ((uint64_t)tail[ 0]) << 0;
- 151 k1 *= c1; k1 = MURMUR3_ROTL64(k1,31); k1 *= c2; out.h1 ^= k1;
-
-
-
-
-
-
-
-
-
-
-
- 163 out.h1 = fmix64(out.h1);
- 164 out.h2 = fmix64(out.h2);
-
-
-
-
-
-
-
- 172 MURMUR3_FORCE_INLINE uint16_t compute_seed_hash(uint64_t seed) {
-
- 174 MurmurHash3_x64_128(&seed,
sizeof(seed), 0, hashes);
- 175 return static_cast<uint16_t
>(hashes.h1 & 0xffff);
-
-
- 178 #undef MURMUR3_FORCE_INLINE
- 179 #undef MURMUR3_ROTL64
- 180 #undef MURMUR3_BIG_CONSTANT
-
-
+ 110 for (
size_t i = 0; i < nblocks; ++i) {
+ 111 uint64_t k1 = getblock64(data, i * 2 + 0);
+ 112 uint64_t k2 = getblock64(data, i * 2 + 1);
+
+ 114 k1 *= c1; k1 = MURMUR3_ROTL64(k1,31); k1 *= c2; out.h1 ^= k1;
+ 115 out.h1 = MURMUR3_ROTL64(out.h1,27);
+
+ 117 out.h1 = out.h1*5+0x52dce729;
+
+ 119 k2 *= c2; k2 = MURMUR3_ROTL64(k2,33); k2 *= c1; out.h2 ^= k2;
+ 120 out.h2 = MURMUR3_ROTL64(out.h2,31);
+
+ 122 out.h2 = out.h2*5+0x38495ab5;
+
+
+
+ 126 const uint8_t * tail = (
const uint8_t*)(data + (nblocks << 4));
+
+
+
+
+ 131 switch(lenBytes & 15)
+
+ 133 case 15: k2 ^= ((uint64_t)tail[14]) << 48;
+ 134 case 14: k2 ^= ((uint64_t)tail[13]) << 40;
+ 135 case 13: k2 ^= ((uint64_t)tail[12]) << 32;
+ 136 case 12: k2 ^= ((uint64_t)tail[11]) << 24;
+ 137 case 11: k2 ^= ((uint64_t)tail[10]) << 16;
+ 138 case 10: k2 ^= ((uint64_t)tail[ 9]) << 8;
+ 139 case 9: k2 ^= ((uint64_t)tail[ 8]) << 0;
+ 140 k2 *= c2; k2 = MURMUR3_ROTL64(k2,33); k2 *= c1; out.h2 ^= k2;
+
+ 142 case 8: k1 ^= ((uint64_t)tail[ 7]) << 56;
+ 143 case 7: k1 ^= ((uint64_t)tail[ 6]) << 48;
+ 144 case 6: k1 ^= ((uint64_t)tail[ 5]) << 40;
+ 145 case 5: k1 ^= ((uint64_t)tail[ 4]) << 32;
+ 146 case 4: k1 ^= ((uint64_t)tail[ 3]) << 24;
+ 147 case 3: k1 ^= ((uint64_t)tail[ 2]) << 16;
+ 148 case 2: k1 ^= ((uint64_t)tail[ 1]) << 8;
+ 149 case 1: k1 ^= ((uint64_t)tail[ 0]) << 0;
+ 150 k1 *= c1; k1 = MURMUR3_ROTL64(k1,31); k1 *= c2; out.h1 ^= k1;
+
+
+
+
+
+
+
+
+
+
+
+ 162 out.h1 = fmix64(out.h1);
+ 163 out.h2 = fmix64(out.h2);
+
+
+
+
+
+
+
+ 171 MURMUR3_FORCE_INLINE uint16_t compute_seed_hash(uint64_t seed) {
+
+ 173 MurmurHash3_x64_128(&seed,
sizeof(seed), 0, hashes);
+ 174 return static_cast<uint16_t
>(hashes.h1 & 0xffff);
+
+
+ 177 #undef MURMUR3_FORCE_INLINE
+ 178 #undef MURMUR3_ROTL64
+ 179 #undef MURMUR3_BIG_CONSTANT
+
+