Searched refs:IS_POWER_OF_TWO (Results 1 – 3 of 3) sorted by relevance
45 #define IS_POWER_OF_TWO(x) (((x) & ((x) - 1)) == 0) macro51 return IS_POWER_OF_TWO(x); in IsPowerOf2()
140 STATIC_ASSERT(IS_POWER_OF_TWO(kStep));
503 STATIC_ASSERT(IS_POWER_OF_TWO(kSlicedNotConsMask) && kSlicedNotConsMask != 0);7023 STATIC_CHECK(IS_POWER_OF_TWO(kMaxCachedArrayIndexLength + 1));