Searched defs:IsPowerOfTwo (Results 1 – 5 of 5) sorted by relevance
250 struct IsPowerOfTwo { struct251 static const bool value = !(N & (N - 1));
440 INLINE bool IsPowerOfTwo(uptr x) { in IsPowerOfTwo() function
10101 static bool IsPowerOfTwo(unsigned x) { in IsPowerOfTwo() function
12130 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro