Some documentation changes.

Identation changes.
This commit is contained in:
Andrea Mazzoleni 2011-05-02 20:35:28 +02:00
parent cfbe9343ae
commit 42ece4eb59
3 changed files with 20 additions and 10 deletions

View file

@ -81,19 +81,19 @@ void MurmurHash3_x86_128(const void * key, unsigned len, uint32_t seed, void* ou
uint32_t k3 = swap32(blocks[2]);
uint32_t k4 = swap32(blocks[3]);
k1 *= c1; k1 = rotl32(k1,15); k1 *= c2; h1 ^= k1;
k1 *= c1; k1 = rotl32(k1,15); k1 *= c2; h1 ^= k1;
h1 = rotl32(h1,19); h1 += h2; h1 = h1*5+0x561ccd1b;
k2 *= c2; k2 = rotl32(k2,16); k2 *= c3; h2 ^= k2;
k2 *= c2; k2 = rotl32(k2,16); k2 *= c3; h2 ^= k2;
h2 = rotl32(h2,17); h2 += h3; h2 = h2*5+0x0bcaa747;
k3 *= c3; k3 = rotl32(k3,17); k3 *= c4; h3 ^= k3;
k3 *= c3; k3 = rotl32(k3,17); k3 *= c4; h3 ^= k3;
h3 = rotl32(h3,15); h3 += h4; h3 = h3*5+0x96cd1c35;
k4 *= c4; k4 = rotl32(k4,18); k4 *= c1; h4 ^= k4;
k4 *= c4; k4 = rotl32(k4,18); k4 *= c1; h4 ^= k4;
h4 = rotl32(h4,13); h4 += h1; h4 = h4*5+0x32ac3b17;