Searched defs:is_power_of_two (Results 1 – 10 of 10) sorted by relevance
29 is_power_of_two(unsigned long n) in is_power_of_two() function
270 bool is_power_of_two(int number) { return number && !(number & (number - 1)); } in is_power_of_two() function
37 static int is_power_of_two(int N) { in is_power_of_two() function
216 const bool is_power_of_two = (i & (i - 1)) == 0; in initialize_lws_values() local
300 #define is_power_of_two(x) (((x) & ((x)-1)) == 0) macro
158 def is_power_of_two(n): function
53 #define is_power_of_two(x) (((x) & ((x)-1)) == 0) macro
71 def is_power_of_two(v): function
724 static constexpr inline bool is_power_of_two(int value) { in is_power_of_two() function