Lines Matching refs:__len

3087     _Size operator()(const void* __key, _Size __len);
3093 __murmur2_or_cityhash<_Size, 32>::operator()(const void* __key, _Size __len)
3097 _Size __h = __len;
3099 for (; __len >= 4; __data += 4, __len -= 4)
3108 switch (__len)
3127 _Size operator()(const void* __key, _Size __len);
3158 static _Size __hash_len_0_to_16(const char* __s, _Size __len) {
3159 if (__len > 8) {
3161 const _Size __b = __loadword<_Size>(__s + __len - 8);
3162 return __hash_len_16(__a, __rotate_by_at_least_1(__b + __len, __len)) ^ __b;
3164 if (__len >= 4) {
3166 const uint32_t __b = __loadword<uint32_t>(__s + __len - 4);
3167 return __hash_len_16(__len + (__a << 3), __b);
3169 if (__len > 0) {
3171 const unsigned char __b = __s[__len >> 1];
3172 const unsigned char __c = __s[__len - 1];
3175 const uint32_t __z = __len + (static_cast<uint32_t>(__c) << 2);
3181 static _Size __hash_len_17_to_32(const char *__s, _Size __len) {
3184 const _Size __c = __loadword<_Size>(__s + __len - 8) * __k2;
3185 const _Size __d = __loadword<_Size>(__s + __len - 16) * __k0;
3187 __a + __rotate(__b ^ __k3, 20) - __c + __len);
3215 static _Size __hash_len_33_to_64(const char *__s, size_t __len) {
3218 (__len + __loadword<_Size>(__s + __len - 16)) * __k0;
3226 __a = __loadword<_Size>(__s + 16) + __loadword<_Size>(__s + __len - 32);
3227 __z += __loadword<_Size>(__s + __len - 8);
3230 __a += __loadword<_Size>(__s + __len - 24);
3232 __a += __loadword<_Size>(__s + __len - 16);
3243 __murmur2_or_cityhash<_Size, 64>::operator()(const void* __key, _Size __len)
3246 if (__len <= 32) {
3247 if (__len <= 16) {
3248 return __hash_len_0_to_16(__s, __len);
3250 return __hash_len_17_to_32(__s, __len);
3252 } else if (__len <= 64) {
3253 return __hash_len_33_to_64(__s, __len);
3258 _Size __x = __loadword<_Size>(__s + __len - 40);
3259 _Size __y = __loadword<_Size>(__s + __len - 16) +
3260 __loadword<_Size>(__s + __len - 56);
3261 _Size __z = __hash_len_16(__loadword<_Size>(__s + __len - 48) + __len,
3262 __loadword<_Size>(__s + __len - 24));
3263 pair<_Size, _Size> __v = __weak_hash_len_32_with_seeds(__s + __len - 64, __len, __z);
3264 pair<_Size, _Size> __w = __weak_hash_len_32_with_seeds(__s + __len - 32, __y + __k1, __x);
3268 __len = (__len - 1) & ~static_cast<_Size>(63);
3280 __len -= 64;
3281 } while (__len != 0);