Home
last modified time | relevance | path

Searched refs:numberOfLeadingZeros (Results 1 – 12 of 12) sorted by relevance

/external/guava/guava/src/com/google/common/math/
DLongMath.java93 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
97 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
103 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
160 int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)]; in log10Floor()
534 int leadingZeros = Long.numberOfLeadingZeros(a) + Long.numberOfLeadingZeros(~a) in checkedMultiply()
535 + Long.numberOfLeadingZeros(b) + Long.numberOfLeadingZeros(~b); in checkedMultiply()
DIntMath.java95 return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x); in log2()
99 return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1); in log2()
105 int leadingZeros = Integer.numberOfLeadingZeros(x); in log2()
160 int y = maxLog10ForLeadingZeros[Integer.numberOfLeadingZeros(x)]; in log10Floor()
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DIntMath.java92 return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x); in log2()
96 return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1); in log2()
102 int leadingZeros = Integer.numberOfLeadingZeros(x); in log2()
124 int y = maxLog10ForLeadingZeros[Integer.numberOfLeadingZeros(x)]; in log10Floor()
DLongMath.java88 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
92 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
98 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DValueEncoder.java399 65 - Long.numberOfLeadingZeros(value ^ (value >> 63)); in writeSignedIntegralValue()
427 int requiredBits = 64 - Long.numberOfLeadingZeros(value); in writeUnsignedIntegralValue()
/external/jmonkeyengine/engine/src/android/com/jme3/util/
DFastInteger.java194 public static int numberOfLeadingZeros(int i) { in numberOfLeadingZeros() method
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java2850 int numberOfLeadingZeros = 1;
2853 while (numberOfLeadingZeros < nationalNumber.length() - 1 &&
2854 nationalNumber.charAt(numberOfLeadingZeros) == '0') {
2855 numberOfLeadingZeros++;
2857 if (numberOfLeadingZeros != 1) {
2858 phoneNumber.setNumberOfLeadingZeros(numberOfLeadingZeros);
/external/proguard/src/proguard/gui/
Ddefault.pro131 public static int numberOfLeadingZeros(int);
156 public static int numberOfLeadingZeros(long);
Dboilerplate.pro194 public static int numberOfLeadingZeros(int);
220 public static int numberOfLeadingZeros(long);
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DCharMatcher.java1201 static final int WHITESPACE_SHIFT = Integer.numberOfLeadingZeros(WHITESPACE_TABLE.length() - 1);
/external/guava/guava/src/com/google/common/base/
DCharMatcher.java1358 static final int WHITESPACE_SHIFT = Integer.numberOfLeadingZeros(WHITESPACE_TABLE.length() - 1);
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...