Searched refs:IsPowerOfTwo (Results 1 – 2 of 2) sorted by relevance
156 static constexpr bool IsPowerOfTwo(uint32_t size) { in IsPowerOfTwo() function166 IsPowerOfTwo(Traits::kStaticRecordCount),254 return IsPowerOfTwo(count) ? count : (NextPowerOf2(count) / 2); in GetRecordCount()497 if (!IsPowerOfTwo(record_count())) return false; in ValidateGeometry()
91 static constexpr bool IsPowerOfTwo(T x) { in IsPowerOfTwo() function99 return DCHECK_CONSTEXPR(IsPowerOfTwo(n), , T(0))(x & -n); in RoundDown()