Lines Matching +full:32 +full:- +full:bit
7 * http://www.apache.org/licenses/LICENSE-2.0
59 *buffer = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(*buffer) + result->Size()); in ReadBufferInSize()
77 // 32 : 32 mean the bits of type T is less than 32 in CountLeadingZeros()
78 return __builtin_clz(static_cast<uint32_t>(value)) - (32 - std::numeric_limits<T>::digits); in CountLeadingZeros()
138 /// isMask_64 - This function returns true if the argument is a non-empty
139 /// sequence of ones starting at the least significant bit with the remainder
140 /// zero (64 bit version).
146 /// isShiftedMask_64 - This function returns true if the argument contains a
147 /// non-empty sequence of ones with the remainder zero (64 bit version.)
150 return Value && IsMask_64((Value - 1) | Value); in IsShiftedMask_64()
157 return (static_cast<size_t>(x) + n - 1U) & (-n); in RoundUp()
161 inline To bit_cast(const From &src) noexcept // NOLINT(readability-identifier-naming) in bit_cast()