Searched refs:powerOf2 (Results 1 – 1 of 1) sorted by relevance
47 uint64_t powerOf2 = highestOneBit(u); in _powerOf2() local48 return powerOf2 ? powerOf2 : 1; in _powerOf2()74 uint64_t powerOf2 = _powerOf2(u); in encodeUnsigned() local75 if (u + 1 == powerOf2 << 1) in encodeUnsigned()76 powerOf2 <<= 1; in encodeUnsigned()77 int shiftWidth = (7 + numberOfTrailingZeros(powerOf2)) / 7 * 7; in encodeUnsigned()93 uint64_t powerOf2 = _powerOf2(u); in sizeOf() local94 int unsignedLength = numberOfTrailingZeros(powerOf2) / 8 + 1; in sizeOf()