Home
last modified time | relevance | path

Searched refs:lowestOneBit (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DLongTest.java863 assertEquals(0x10, Long.lowestOneBit(0xF0)); in test_lowestOneBitJ()
865 assertEquals(0x10, Long.lowestOneBit(0x90)); in test_lowestOneBitJ()
866 assertEquals(0x10, Long.lowestOneBit(0xD0)); in test_lowestOneBitJ()
868 assertEquals(0x10, Long.lowestOneBit(0x123490)); in test_lowestOneBitJ()
869 assertEquals(0x10, Long.lowestOneBit(0x1234D0)); in test_lowestOneBitJ()
871 assertEquals(0x100000, Long.lowestOneBit(0x900000)); in test_lowestOneBitJ()
872 assertEquals(0x100000, Long.lowestOneBit(0xD00000)); in test_lowestOneBitJ()
874 assertEquals(0x40, Long.lowestOneBit(0x40)); in test_lowestOneBitJ()
875 assertEquals(0x40, Long.lowestOneBit(0xC0)); in test_lowestOneBitJ()
877 assertEquals(0x4000, Long.lowestOneBit(0x4000)); in test_lowestOneBitJ()
[all …]
DIntegerTest.java1028 assertEquals(0x10, Integer.lowestOneBit(0xF0)); in test_lowestOneBitI()
1030 assertEquals(0x10, Integer.lowestOneBit(0x90)); in test_lowestOneBitI()
1031 assertEquals(0x10, Integer.lowestOneBit(0xD0)); in test_lowestOneBitI()
1033 assertEquals(0x10, Integer.lowestOneBit(0x123490)); in test_lowestOneBitI()
1034 assertEquals(0x10, Integer.lowestOneBit(0x1234D0)); in test_lowestOneBitI()
1036 assertEquals(0x100000, Integer.lowestOneBit(0x900000)); in test_lowestOneBitI()
1037 assertEquals(0x100000, Integer.lowestOneBit(0xD00000)); in test_lowestOneBitI()
1039 assertEquals(0x40, Integer.lowestOneBit(0x40)); in test_lowestOneBitI()
1040 assertEquals(0x40, Integer.lowestOneBit(0xC0)); in test_lowestOneBitI()
1042 assertEquals(0x4000, Integer.lowestOneBit(0x4000)); in test_lowestOneBitI()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DLong.java1042 public static long lowestOneBit(long i) { in lowestOneBit() method in Long
DInteger.java1120 public static int lowestOneBit(int i) {