Searched refs:ROTL32 (Results 1 – 3 of 3) sorted by relevance
/PHP-8.3/ext/hash/murmur/ |
H A D | PMurHash.c | 74 #define ROTL32(x,y) _rotl(x,y) macro 78 #define ROTL32(x,r) (((uint32_t)x << r) | ((uint32_t)x >> (32 - r))) macro 96 k1 = ROTL32(k1,15);\ 100 h1 = ROTL32(h1,13);\ 214 k1 *= kC1; k1 = ROTL32(k1,15); k1 *= kC2; h ^= k1; in PMurHash32_Result()
|
H A D | PMurHash128.c | 66 #define ROTL32(x,y) _rotl(x,y) macro 124 k1 *= kC1; k1 = ROTL32(k1,15); k1 *= kC2; h1 ^= k1;\ 126 h1 = ROTL32(h1,19); h1 += h2; h1 = h1*5+0x561ccd1b;\ 128 k2 *= kC2; k2 = ROTL32(k2,16); k2 *= kC3; h2 ^= k2;\ 130 h2 = ROTL32(h2,17); h2 += h3; h2 = h2*5+0x0bcaa747;\ 134 h3 = ROTL32(h3,15); h3 += h4; h3 = h3*5+0x96cd1c35;\ 138 h4 = ROTL32(h4,13); h4 += h1; h4 = h4*5+0x32ac3b17;\ 204 k4 *= kC4; k4 = ROTL32(k4,18); k4 *= kC1; h4 ^= k4; in PMurHash128x86_Result() 207 k3 *= kC3; k3 = ROTL32(k3,17); k3 *= kC4; h3 ^= k3; in PMurHash128x86_Result() 210 k2 *= kC2; k2 = ROTL32(k2,16); k2 *= kC3; h2 ^= k2; in PMurHash128x86_Result() [all …]
|
/PHP-8.3/ext/hash/ |
H A D | hash_md.c | 113 #define ROTL32(s,v) (((v) << (s)) | ((v) >> (32 - (s)))) macro 115 #define MD4_R1(a,b,c,d,k,s) a = ROTL32(s, a + MD4_F(b,c,d) + x[k]) 116 #define MD4_R2(a,b,c,d,k,s) a = ROTL32(s, a + MD4_G(b,c,d) + x[k] + 0x5A827999) 117 #define MD4_R3(a,b,c,d,k,s) a = ROTL32(s, a + MD4_H(b,c,d) + x[k] + 0x6ED9EBA1)
|
Completed in 11 milliseconds