/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | LongTest.java | 892 assertEquals(64, Long.numberOfLeadingZeros(0x0L)); in test_numberOfLeadingZerosJ() 893 assertEquals(63, Long.numberOfLeadingZeros(0x1)); in test_numberOfLeadingZerosJ() 894 assertEquals(62, Long.numberOfLeadingZeros(0x2)); in test_numberOfLeadingZerosJ() 895 assertEquals(62, Long.numberOfLeadingZeros(0x3)); in test_numberOfLeadingZerosJ() 896 assertEquals(61, Long.numberOfLeadingZeros(0x4)); in test_numberOfLeadingZerosJ() 897 assertEquals(61, Long.numberOfLeadingZeros(0x5)); in test_numberOfLeadingZerosJ() 898 assertEquals(61, Long.numberOfLeadingZeros(0x6)); in test_numberOfLeadingZerosJ() 899 assertEquals(61, Long.numberOfLeadingZeros(0x7)); in test_numberOfLeadingZerosJ() 900 assertEquals(60, Long.numberOfLeadingZeros(0x8)); in test_numberOfLeadingZerosJ() 901 assertEquals(60, Long.numberOfLeadingZeros(0x9)); in test_numberOfLeadingZerosJ() [all …]
|
D | IntegerTest.java | 1057 assertEquals(32, Integer.numberOfLeadingZeros(0x0)); in test_numberOfLeadingZerosI() 1058 assertEquals(31, Integer.numberOfLeadingZeros(0x1)); in test_numberOfLeadingZerosI() 1059 assertEquals(30, Integer.numberOfLeadingZeros(0x2)); in test_numberOfLeadingZerosI() 1060 assertEquals(30, Integer.numberOfLeadingZeros(0x3)); in test_numberOfLeadingZerosI() 1061 assertEquals(29, Integer.numberOfLeadingZeros(0x4)); in test_numberOfLeadingZerosI() 1062 assertEquals(29, Integer.numberOfLeadingZeros(0x5)); in test_numberOfLeadingZerosI() 1063 assertEquals(29, Integer.numberOfLeadingZeros(0x6)); in test_numberOfLeadingZerosI() 1064 assertEquals(29, Integer.numberOfLeadingZeros(0x7)); in test_numberOfLeadingZerosI() 1065 assertEquals(28, Integer.numberOfLeadingZeros(0x8)); in test_numberOfLeadingZerosI() 1066 assertEquals(28, Integer.numberOfLeadingZeros(0x9)); in test_numberOfLeadingZerosI() [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | AbstractSpinedBuffer.java | 94 … Integer.SIZE - Integer.numberOfLeadingZeros(initialCapacity - 1)); in AbstractSpinedBuffer()
|
/libcore/ojluni/src/main/java/java/util/ |
D | BitSet.java | 802 return (u+1) * BITS_PER_WORD - 1 - Long.numberOfLeadingZeros(word); in previousSetBit() 840 return (u+1) * BITS_PER_WORD -1 - Long.numberOfLeadingZeros(word); in previousClearBit() 860 (BITS_PER_WORD - Long.numberOfLeadingZeros(words[wordsInUse - 1])); in length()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicIntegerArray.java | 62 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
|
D | AtomicLongArray.java | 61 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
|
D | AtomicReferenceArray.java | 69 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Long.java | 209 public static int numberOfLeadingZeros(long i) { in numberOfLeadingZeros() method in Long
|
D | Integer.java | 209 public static int numberOfLeadingZeros(int i) { in numberOfLeadingZeros() method in Integer
|
/libcore/luni/src/main/java/java/math/ |
D | BitLevel.java | 57 bLength -= Integer.numberOfLeadingZeros(highDigit); in bitLength()
|
D | BigDecimal.java | 2963 return 64 - Long.numberOfLeadingZeros(smallValue); in bitLength() 2970 return 32 - Integer.numberOfLeadingZeros(smallValue); in bitLength()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Long.java | 355 int mag = Long.SIZE - Long.numberOfLeadingZeros(val); in toUnsignedString0() 1421 public static int numberOfLeadingZeros(long i) { in numberOfLeadingZeros() method in Long
|
D | Integer.java | 312 int mag = Integer.SIZE - Integer.numberOfLeadingZeros(val); in toUnsignedString0() 1430 public static int numberOfLeadingZeros(int i) {
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Integer.annotated.java | 110 public static int numberOfLeadingZeros(int i) { throw new RuntimeException("Stub!"); } in numberOfLeadingZeros() method in Integer
|
D | Long.annotated.java | 109 public static int numberOfLeadingZeros(long i) { throw new RuntimeException("Stub!"); } in numberOfLeadingZeros() method in Long
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FloatingDecimal.java | 1268 int leadingZeros = Long.numberOfLeadingZeros(bigBbits); 1574 int leadingZeros = Integer.numberOfLeadingZeros(bigBbits); in floatValue() 1772 int leadingZeros = Long.numberOfLeadingZeros(fractBits); in getBinaryToASCIIConverter() 1812 int leadingZeros = Integer.numberOfLeadingZeros(fractBits); in getBinaryToASCIIConverter()
|
D | FDBigInteger.java | 399 int zeros = Integer.numberOfLeadingZeros(data[nWords - 1]); in getNormalizationBias()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinPool.java | 1360 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale); 3479 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
|
D | ConcurrentHashMap.java | 2286 return Integer.numberOfLeadingZeros(n) | (1 << (RESIZE_STAMP_BITS - 1)); in resizeStamp() 6374 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
|