Searched defs:isPowerOf2 (Results 1 – 4 of 4) sorted by relevance
75 bool isPowerOf2() const { in isPowerOf2() function
26 static bool isPowerOf2(unsigned n) { in isPowerOf2() function
324 const isPowerOf2 = !((n - 1) & n); in nextpow2() local
473 const isPowerOf2 = !((n - 1) & n); in nextpow2() local