Lines Matching +full:8 +full:- +full:bit
7 * http://www.apache.org/licenses/LICENSE-2.0
50 *buffer = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(*buffer) + result->Size()); in ReadBufferInSize()
63 return sizeof(T) * 8; in CountLeadingZeros()
69 return __builtin_clz(static_cast<uint32_t>(value)) - (32 - std::numeric_limits<T>::digits); in CountLeadingZeros()
101 return sizeof(T) * 8; in CountTrailingZeros()
129 /// isMask_64 - This function returns true if the argument is a non-empty
130 /// sequence of ones starting at the least significant bit with the remainder
131 /// zero (64 bit version).
137 /// isShiftedMask_64 - This function returns true if the argument contains a
138 /// non-empty sequence of ones with the remainder zero (64 bit version.)
141 return Value && IsMask_64((Value - 1) | Value); in IsShiftedMask_64()
148 return (static_cast<size_t>(x) + n - 1U) & (-n); in RoundUp()
152 inline To bit_cast(const From &src) noexcept // NOLINT(readability-identifier-naming) in bit_cast()
164 constexpr int BIT_NUMBER_OF_CHAR = 8; in BitNumbers()