Searched refs:numberOfTrailingZeros (Results 1 – 14 of 14) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | LongTest.java | 938 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 …]
|
D | IntegerTest.java | 1103 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/ |
D | RegularEnumSet.java | 105 return (E) universe[Long.numberOfTrailingZeros(lastReturned)]; in next()
|
D | JumboEnumSet.java | 140 + Long.numberOfTrailingZeros(lastReturned)]; in next()
|
D | BitSet.java | 724 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/ |
D | Long.java | 213 public static int numberOfTrailingZeros(long i) { in numberOfTrailingZeros() method in Long
|
D | Integer.java | 213 public static int numberOfTrailingZeros(int i) { in numberOfTrailingZeros() method in Integer
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Integer.annotated.java | 112 public static int numberOfTrailingZeros(int i) { throw new RuntimeException("Stub!"); } in numberOfTrailingZeros() method in Integer
|
D | Long.annotated.java | 111 public static int numberOfTrailingZeros(long i) { throw new RuntimeException("Stub!"); } in numberOfTrailingZeros() method in Long
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FloatingDecimal.java | 431 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/ |
D | Long.java | 1450 public static int numberOfTrailingZeros(long i) { in numberOfTrailingZeros() method in Long
|
D | Integer.java | 1457 public static int numberOfTrailingZeros(int i) { in numberOfTrailingZeros() method in Integer
|
/libcore/luni/src/main/java/java/math/ |
D | BigInteger.java | 647 return ((i << 5) + Integer.numberOfTrailingZeros(digits[i])); in getLowestSetBit()
|
D | BigDecimal.java | 481 trailingZeros = Math.min(scale, Long.numberOfTrailingZeros(mantissa)); in BigDecimal()
|