Searched refs:numberOfTrailingZeros (Results 1 – 13 of 13) 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 | Long.annotated.java | 111 public static int numberOfTrailingZeros(long i) { throw new RuntimeException("Stub!"); } in numberOfTrailingZeros() method in Long
|
D | Integer.annotated.java | 112 public static int numberOfTrailingZeros(int i) { throw new RuntimeException("Stub!"); } in numberOfTrailingZeros() method in Integer
|
/libcore/ojluni/src/main/java/java/math/ |
D | MutableBigInteger.java | 359 return ((intLen-1-j)<<5) + Integer.numberOfTrailingZeros(b); in getLowestSetBit() 1956 int aZeros = Integer.numberOfTrailingZeros(a); 1957 int bZeros = Integer.numberOfTrailingZeros(b); 1966 a >>>= Integer.numberOfTrailingZeros(a); 1969 b >>>= Integer.numberOfTrailingZeros(b);
|
D | BigInteger.java | 1620 return new BigInteger(shiftLeft(x,Integer.numberOfTrailingZeros(y)), sign); in multiplyByInt() 3617 lsb += (i << 5) + Integer.numberOfTrailingZeros(b); 3683 magTrailingZeroCount += Integer.numberOfTrailingZeros(mag[j]);
|
/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
|