Lines Matching defs:power
66 // Find next power of two67 int power = 1;68 while (power < size)69 power <<= 1;71 // Yield (power-1, power, power+1)72 if (size < power-1)73 return power-1;75 if (size == power-1)76 return power;78 assert(size == power);79 return power+1;