Lines Matching refs:v

25 V8_INLINE size_t hash_value_unsigned(T v) {  in hash_value_unsigned()  argument
29 v = ~v + (v << 15); // v = (v << 15) - v - 1; in hash_value_unsigned()
30 v = v ^ (v >> 12); in hash_value_unsigned()
31 v = v + (v << 2); in hash_value_unsigned()
32 v = v ^ (v >> 4); in hash_value_unsigned()
33 v = v * 2057; // v = (v + (v << 3)) + (v << 11); in hash_value_unsigned()
34 v = v ^ (v >> 16); in hash_value_unsigned()
35 return static_cast<size_t>(v); in hash_value_unsigned()
41 v = ~v + (v << 18); // v = (v << 18) - v - 1; in hash_value_unsigned()
42 v = v ^ (v >> 31); in hash_value_unsigned()
43 v = v * 21; // v = (v + (v << 2)) + (v << 4); in hash_value_unsigned()
44 v = v ^ (v >> 11); in hash_value_unsigned()
45 v = v + (v << 6); in hash_value_unsigned()
46 v = v ^ (v >> 22); in hash_value_unsigned()
47 return static_cast<size_t>(v); in hash_value_unsigned()
51 v = ~v + (v << 21); // v = (v << 21) - v - 1; in hash_value_unsigned()
52 v = v ^ (v >> 24); in hash_value_unsigned()
53 v = (v + (v << 3)) + (v << 8); // v * 265 in hash_value_unsigned()
54 v = v ^ (v >> 14); in hash_value_unsigned()
55 v = (v + (v << 2)) + (v << 4); // v * 21 in hash_value_unsigned()
56 v = v ^ (v >> 28); in hash_value_unsigned()
57 v = v + (v << 31); in hash_value_unsigned()
58 return static_cast<size_t>(v); in hash_value_unsigned()
64 return static_cast<size_t>(v); in hash_value_unsigned()
98 size_t hash_value(unsigned int v) { return hash_value_unsigned(v); } in hash_value() argument
101 size_t hash_value(unsigned long v) { // NOLINT(runtime/int) in hash_value() argument
102 return hash_value_unsigned(v); in hash_value()
106 size_t hash_value(unsigned long long v) { // NOLINT(runtime/int) in hash_value() argument
107 return hash_value_unsigned(v); in hash_value()