Lines Matching defs:shift
144 // We have to shift the result back. The shift amount is
145 // (num_aggregation_bits - 1), which is the shift amount we did originally,
149 // Calculate the multiplier to shift the extracted bits back to the original
181 double shift = static_cast<double>(1ull << 32);
184 result *= shift;
352 uint32_t shift = ReadUnalignedValue<uint32_t>(data + sizeof(input)) & 31;
353 return (input << shift) | (input >> ((32 - shift) & 31));
358 uint32_t shift = ReadUnalignedValue<uint32_t>(data + sizeof(input)) & 31;
359 return (input >> shift) | (input << ((32 - shift) & 31));
364 uint64_t shift = ReadUnalignedValue<uint64_t>(data + sizeof(input)) & 63;
365 uint64_t result = (input << shift) | (input >> ((64 - shift) & 63));
371 uint64_t shift = ReadUnalignedValue<uint64_t>(data + sizeof(input)) & 63;
372 uint64_t result = (input >> shift) | (input << ((64 - shift) & 63));