Lines Matching full:seed

105   uint64_t Seed = 0;
112 uint64_t V1 = Seed + PRIME64_1 + PRIME64_2;
113 uint64_t V2 = Seed + PRIME64_2;
114 uint64_t V3 = Seed + 0;
115 uint64_t V4 = Seed - PRIME64_1;
135 H64 = Seed + PRIME64_5;
226 const uint8_t *secret, uint64_t seed) {
234 seed;
239 const uint8_t *secret, uint64_t seed) {
240 seed ^= (uint64_t)byteswap(uint32_t(seed)) << 32;
244 (endian::read64le(secret + 8) ^ endian::read64le(secret + 16)) - seed;
256 const uint8_t *secret, uint64_t const seed) {
258 (endian::read64le(secret + 24) ^ endian::read64le(secret + 32)) + seed;
260 (endian::read64le(secret + 40) ^ endian::read64le(secret + 48)) - seed;
270 const uint8_t *secret, uint64_t const seed) {
272 return XXH3_len_9to16_64b(input, len, secret, seed);
274 return XXH3_len_4to8_64b(input, len, secret, seed);
276 return XXH3_len_1to3_64b(input, len, secret, seed);
277 return XXH64_avalanche(seed ^ endian::read64le(secret + 56) ^
282 uint64_t seed) {
283 uint64_t lhs = seed;
284 uint64_t rhs = 0U - seed;
296 uint64_t const seed) {
298 acc += XXH3_mix16B(input + 0, secret + 0, seed);
299 acc_end = XXH3_mix16B(input + len - 16, secret + 16, seed);
301 acc += XXH3_mix16B(input + 16, secret + 32, seed);
302 acc_end += XXH3_mix16B(input + len - 32, secret + 48, seed);
304 acc += XXH3_mix16B(input + 32, secret + 64, seed);
305 acc_end += XXH3_mix16B(input + len - 48, secret + 80, seed);
307 acc += XXH3_mix16B(input + 48, secret + 96, seed);
308 acc_end += XXH3_mix16B(input + len - 64, secret + 112, seed);
321 const uint8_t *secret, uint64_t seed) {
325 acc += XXH3_mix16B(input + 16 * i, secret + 16 * i, seed);
330 secret + 16 * (i - 8) + XXH3_MIDSIZE_STARTOFFSET, seed);
335 secret + XXH3_SECRETSIZE_MIN - XXH3_MIDSIZE_LASTOFFSET, seed);
571 * For example, extra steps are taken to avoid the seed-dependent collisions
751 uint64_t seed) {
765 (endian::read32le(secret) ^ endian::read32le(secret + 4)) + seed;
767 (endian::read32le(secret + 8) ^ endian::read32le(secret + 12)) - seed;
778 uint64_t seed) {
779 seed ^= (uint64_t)byteswap((uint32_t)seed) << 32;
784 (endian::read64le(secret + 16) ^ endian::read64le(secret + 24)) + seed;
803 uint64_t seed) {
805 (endian::read64le(secret + 32) ^ endian::read64le(secret + 40)) - seed;
807 (endian::read64le(secret + 48) ^ endian::read64le(secret + 56)) + seed;
879 uint64_t seed) {
881 return XXH3_len_9to16_128b(input, len, secret, seed);
883 return XXH3_len_4to8_128b(input, len, secret, seed);
885 return XXH3_len_1to3_128b(input, len, secret, seed);
891 h128.low64 = XXH64_avalanche(seed ^ bitflipl);
892 h128.high64 = XXH64_avalanche(seed ^ bitfliph);
901 const uint8_t *secret, uint64_t seed) {
902 acc.low64 += XXH3_mix16B(input_1, secret + 0, seed);
904 acc.high64 += XXH3_mix16B(input_2, secret + 16, seed);
911 size_t secretSize, uint64_t seed) {
922 XXH128_mix32B(acc, input + 48, input + len - 64, secret + 96, seed);
924 acc = XXH128_mix32B(acc, input + 32, input + len - 48, secret + 64, seed);
926 acc = XXH128_mix32B(acc, input + 16, input + len - 32, secret + 32, seed);
928 acc = XXH128_mix32B(acc, input, input + len - 16, secret, seed);
932 ((len - seed) * PRIME64_2);
940 size_t secretSize, uint64_t seed) {
955 seed);
966 secret + XXH3_MIDSIZE_STARTOFFSET + i - 160, seed);
972 (uint64_t)0 - seed);
977 ((len - seed) * PRIME64_2);