Lines Matching +full:32 +full:k
5 * produce the same thing and, for cases where a k-bit hash
24 /* 32-bit XORSHIFT generator. Seed must not be zero. */
60 /* Low 32-bits of integer to be hashed. */
85 test_int_hash_64(struct kunit *test, struct test_hash_params *params, u32 const *m, int *k) in test_int_hash_64() argument
87 params->h2 = hash_64_generic(*params->h64, *k); in test_int_hash_64()
91 *params->h64, *k, params->h1, params->h2); in test_int_hash_64()
95 *params->h64, *k, params->h1, *m); in test_int_hash_64()
112 int k; in test_int_hash() local
121 /* Test k = 1..32 bits */ in test_int_hash()
122 for (k = 1; k <= 32; k++) { in test_int_hash()
123 u32 const m = ((u32)2 << (k-1)) - 1; /* Low k bits set */ in test_int_hash()
126 hash_or[0][k] |= params.h1 = hash_32(params.h0, k); in test_int_hash()
129 params.h0, k, params.h1, m); in test_int_hash()
132 hash_or[1][k] |= params.h1 = hash_64(h64, k); in test_int_hash()
135 h64, k, params.h1, m); in test_int_hash()
137 test_int_hash_64(test, ¶ms, &m, &k); in test_int_hash()
195 h64 = h64 << 32 | h0; /* For use with hash_64 */ in test_hash_or()
212 for (i = 1; i <= 32; i++) { in test_hash_or()