Searched defs:isPowerOfTwo (Results 1 - 13 of 13) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/math/
H A DDoubleMathBenchmark.java76 @Benchmark int isPowerOfTwo(int reps) { method in class:DoubleMathBenchmark
80 if (DoubleMath.isPowerOfTwo(doubles[j])) {
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
H A DBigIntegerMath.java53 public static boolean isPowerOfTwo(BigInteger x) { method in class:BigIntegerMath
72 checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through
79 return isPowerOfTwo(x) ? logFloor : logFloor + 1;
H A DLongMath.java56 public static boolean isPowerOfTwo(long x) { method in class:LongMath
84 checkRoundingUnnecessary(isPowerOfTwo(x));
H A DIntMath.java59 public static boolean isPowerOfTwo(int x) { method in class:IntMath
88 checkRoundingUnnecessary(isPowerOfTwo(x));
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java55 public static boolean isPowerOfTwo(BigInteger x) { method in class:BigIntegerMath
74 checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through
81 return isPowerOfTwo(x) ? logFloor : logFloor + 1;
H A DDoubleMath.java197 public static boolean isPowerOfTwo(double x) { method in class:DoubleMath
198 return x > 0.0 && isFinite(x) && LongMath.isPowerOfTwo(getSignificand(x));
244 checkRoundingUnnecessary(isPowerOfTwo(x));
250 increment = !isPowerOfTwo(x);
253 increment = exponent < 0 & !isPowerOfTwo(x);
256 increment = exponent >= 0 & !isPowerOfTwo(x);
H A DIntMath.java62 public static boolean isPowerOfTwo(int x) { method in class:IntMath
91 checkRoundingUnnecessary(isPowerOfTwo(x));
H A DLongMath.java61 public static boolean isPowerOfTwo(long x) { method in class:LongMath
89 checkRoundingUnnecessary(isPowerOfTwo(x));
/external/clang/include/clang/AST/
H A DCharUnits.h127 /// isPowerOfTwo - Test whether the quantity is a power of two.
129 bool isPowerOfTwo() const { function in class:clang::CharUnits
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DFastMath.java86 public static boolean isPowerOfTwo(int number) { method in class:FastMath
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...

Completed in 258 milliseconds