Home
last modified time | relevance | path

Searched refs:numberOfTrailingZeros (Results 1 – 14 of 14) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DLongTest.java938 assertEquals(64, Long.numberOfTrailingZeros(0x0)); in test_numberOfTrailingZerosJ()
939 assertEquals(63, Long.numberOfTrailingZeros(Long.MIN_VALUE)); in test_numberOfTrailingZerosJ()
940 assertEquals(0, Long.numberOfTrailingZeros(Long.MAX_VALUE)); in test_numberOfTrailingZerosJ()
942 assertEquals(0, Long.numberOfTrailingZeros(0x1)); in test_numberOfTrailingZerosJ()
943 assertEquals(3, Long.numberOfTrailingZeros(0x8)); in test_numberOfTrailingZerosJ()
944 assertEquals(0, Long.numberOfTrailingZeros(0xF)); in test_numberOfTrailingZerosJ()
946 assertEquals(4, Long.numberOfTrailingZeros(0x10)); in test_numberOfTrailingZerosJ()
947 assertEquals(7, Long.numberOfTrailingZeros(0x80)); in test_numberOfTrailingZerosJ()
948 assertEquals(4, Long.numberOfTrailingZeros(0xF0)); in test_numberOfTrailingZerosJ()
950 assertEquals(8, Long.numberOfTrailingZeros(0x100)); in test_numberOfTrailingZerosJ()
[all …]
DIntegerTest.java1103 assertEquals(32, Integer.numberOfTrailingZeros(0x0)); in test_numberOfTrailingZerosI()
1104 assertEquals(31, Integer.numberOfTrailingZeros(Integer.MIN_VALUE)); in test_numberOfTrailingZerosI()
1105 assertEquals(0, Integer.numberOfTrailingZeros(Integer.MAX_VALUE)); in test_numberOfTrailingZerosI()
1107 assertEquals(0, Integer.numberOfTrailingZeros(0x1)); in test_numberOfTrailingZerosI()
1108 assertEquals(3, Integer.numberOfTrailingZeros(0x8)); in test_numberOfTrailingZerosI()
1109 assertEquals(0, Integer.numberOfTrailingZeros(0xF)); in test_numberOfTrailingZerosI()
1111 assertEquals(4, Integer.numberOfTrailingZeros(0x10)); in test_numberOfTrailingZerosI()
1112 assertEquals(7, Integer.numberOfTrailingZeros(0x80)); in test_numberOfTrailingZerosI()
1113 assertEquals(4, Integer.numberOfTrailingZeros(0xF0)); in test_numberOfTrailingZerosI()
1115 assertEquals(8, Integer.numberOfTrailingZeros(0x100)); in test_numberOfTrailingZerosI()
[all …]
/libcore/ojluni/src/main/java/java/util/
DRegularEnumSet.java105 return (E) universe[Long.numberOfTrailingZeros(lastReturned)]; in next()
DJumboEnumSet.java140 + Long.numberOfTrailingZeros(lastReturned)]; in next()
DBitSet.java724 return (u * BITS_PER_WORD) + Long.numberOfTrailingZeros(word); in nextSetBit()
756 return (u * BITS_PER_WORD) + Long.numberOfTrailingZeros(word); in nextClearBit()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DLong.java213 public static int numberOfTrailingZeros(long i) { in numberOfTrailingZeros() method in Long
DInteger.java213 public static int numberOfTrailingZeros(int i) { in numberOfTrailingZeros() method in Integer
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DInteger.annotated.java112 public static int numberOfTrailingZeros(int i) { throw new RuntimeException("Stub!"); } in numberOfTrailingZeros() method in Integer
DLong.annotated.java111 public static int numberOfTrailingZeros(long i) { throw new RuntimeException("Stub!"); } in numberOfTrailingZeros() method in Long
/libcore/ojluni/src/main/java/sun/misc/
DFloatingDecimal.java431 final int tailZeros = Long.numberOfTrailingZeros(fractBits); in dtoa()
1274 int lowOrderZeros = Long.numberOfTrailingZeros(bigBbits);
1580 int lowOrderZeros = Integer.numberOfTrailingZeros(bigBbits); in floatValue()
/libcore/ojluni/src/main/java/java/lang/
DLong.java1450 public static int numberOfTrailingZeros(long i) { in numberOfTrailingZeros() method in Long
DInteger.java1457 public static int numberOfTrailingZeros(int i) { in numberOfTrailingZeros() method in Integer
/libcore/luni/src/main/java/java/math/
DBigInteger.java647 return ((i << 5) + Integer.numberOfTrailingZeros(digits[i])); in getLowestSetBit()
DBigDecimal.java481 trailingZeros = Math.min(scale, Long.numberOfTrailingZeros(mantissa)); in BigDecimal()