Searched refs:powerOf2 (Results 1 – 1 of 1) sorted by relevance
49 uint64_t powerOf2 = highestOneBit(u); in _powerOf2() local50 return powerOf2 ? powerOf2 : 1; in _powerOf2()76 uint64_t powerOf2 = _powerOf2(u); in encodeUnsigned() local77 if (u + 1 == powerOf2 << 1) in encodeUnsigned()78 powerOf2 <<= 1; in encodeUnsigned()79 int shiftWidth = (7 + numberOfTrailingZeros(powerOf2)) / 7 * 7; in encodeUnsigned()95 uint64_t powerOf2 = _powerOf2(u); in sizeOf() local96 int unsignedLength = numberOfTrailingZeros(powerOf2) / 8 + 1; in sizeOf()