Searched refs:CHAR_BIT (Results 1 – 5 of 5) sorted by relevance
53 private static final int CHAR_BIT = 8; field in DnsUtils333 return i * CHAR_BIT + (Integer.numberOfLeadingZeros(x) - 24); // Java ints are 32 bits in compareIpv6PrefixMatchLen()335 return dstByte.length * CHAR_BIT; in compareIpv6PrefixMatchLen()
39 *netid = ((handle >> (CHAR_BIT * sizeof(k32BitMask))) & k32BitMask); in getnetidfromhandle()
68 uint32_t const pixel = (n % std::numeric_limits<uint8_t>::max()) << ((n % 3) * CHAR_BIT); in TEST_F()
228 unsigned char part = pNonce[i] + (unsigned char)(blockIndex >> (i * CHAR_BIT)); in FwdLockFile_CalculateCounter()
550 constexpr int integralShift = std::is_integral<T>::value ? (sizeof(T) * CHAR_BIT - 1) : 0;