Home
last modified time | relevance | path

Searched refs:rotateLeft (Results 1 – 17 of 17) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DLongTest.java1009 assertEquals(0xF, Long.rotateLeft(0xF, 0)); in test_rotateLeftJI()
1010 assertEquals(0xF0, Long.rotateLeft(0xF, 4)); in test_rotateLeftJI()
1011 assertEquals(0xF00, Long.rotateLeft(0xF, 8)); in test_rotateLeftJI()
1012 assertEquals(0xF000, Long.rotateLeft(0xF, 12)); in test_rotateLeftJI()
1013 assertEquals(0xF0000, Long.rotateLeft(0xF, 16)); in test_rotateLeftJI()
1014 assertEquals(0xF00000, Long.rotateLeft(0xF, 20)); in test_rotateLeftJI()
1015 assertEquals(0xF000000, Long.rotateLeft(0xF, 24)); in test_rotateLeftJI()
1016 assertEquals(0xF0000000L, Long.rotateLeft(0xF, 28)); in test_rotateLeftJI()
1017 assertEquals(0xF000000000000000L, Long.rotateLeft(0xF000000000000000L, 64)); in test_rotateLeftJI()
DIntegerTest.java1174 assertEquals(0xF, Integer.rotateLeft(0xF, 0)); in test_rotateLeftII()
1175 assertEquals(0xF0, Integer.rotateLeft(0xF, 4)); in test_rotateLeftII()
1176 assertEquals(0xF00, Integer.rotateLeft(0xF, 8)); in test_rotateLeftII()
1177 assertEquals(0xF000, Integer.rotateLeft(0xF, 12)); in test_rotateLeftII()
1178 assertEquals(0xF0000, Integer.rotateLeft(0xF, 16)); in test_rotateLeftII()
1179 assertEquals(0xF00000, Integer.rotateLeft(0xF, 20)); in test_rotateLeftII()
1180 assertEquals(0xF000000, Integer.rotateLeft(0xF, 24)); in test_rotateLeftII()
1181 assertEquals(0xF0000000, Integer.rotateLeft(0xF, 28)); in test_rotateLeftII()
1182 assertEquals(0xF0000000, Integer.rotateLeft(0xF0000000, 32)); in test_rotateLeftII()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriodImpl.java334 … return (years + Integer.rotateLeft(months, 8) + Integer.rotateLeft(days, 16)) ^ chrono.hashCode(); in hashCode()
DChronoZonedDateTimeImpl.java378 …return toLocalDateTime().hashCode() ^ getOffset().hashCode() ^ Integer.rotateLeft(getZone().hashCo… in hashCode()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransition.java432 …return transition.hashCode() ^ offsetBefore.hashCode() ^ Integer.rotateLeft(offsetAfter.hashCode()… in hashCode()
/libcore/ojluni/src/main/java/java/time/
DPeriod.java1002 return years + Integer.rotateLeft(months, 8) + Integer.rotateLeft(days, 16); in hashCode()
DZonedDateTime.java2184 return dateTime.hashCode() ^ offset.hashCode() ^ Integer.rotateLeft(zone.hashCode(), 3); in hashCode()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DLong.java221 public static long rotateLeft(long i, int distance) { in rotateLeft() method in Long
DInteger.java221 public static int rotateLeft(int i, int distance) { in rotateLeft() method in Integer
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DInteger.annotated.java116 public static int rotateLeft(int i, int distance) { throw new RuntimeException("Stub!"); } in rotateLeft() method in Integer
DLong.annotated.java115 public static long rotateLeft(long i, int distance) { throw new RuntimeException("Stub!"); } in rotateLeft() method in Long
/libcore/ojluni/src/main/java/java/util/
DHashMap.java2182 static <K,V> TreeNode<K,V> rotateLeft(TreeNode<K,V> root, in rotateLeft() method in HashMap.TreeNode
2237 root = rotateLeft(root, x = xp); in balanceInsertion()
2265 root = rotateLeft(root, xpp); in balanceInsertion()
2290 root = rotateLeft(root, xp); in balanceDeletion()
2318 root = rotateLeft(root, xp); in balanceDeletion()
2345 root = rotateLeft(root, xpl); in balanceDeletion()
DTreeMap.java2251 private void rotateLeft(TreeMapEntry<K,V> p) { in rotateLeft() method in TreeMap
2301 rotateLeft(x); in fixAfterInsertion()
2321 rotateLeft(parentOf(parentOf(x))); in fixAfterInsertion()
2388 rotateLeft(parentOf(x)); in fixAfterDeletion()
2406 rotateLeft(parentOf(x)); in fixAfterDeletion()
2427 rotateLeft(sib); in fixAfterDeletion()
/libcore/ojluni/src/main/java/java/lang/
DLong.java1504 public static long rotateLeft(long i, int distance) { in rotateLeft() method in Long
DInteger.java1509 public static int rotateLeft(int i, int distance) { in rotateLeft() method in Integer
/libcore/ojluni/annotations/hiddenapi/java/util/
DHashMap.java603 static <K, V> java.util.HashMap.TreeNode<K, V> rotateLeft( in rotateLeft() method in HashMap.TreeNode
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java3097 static <K,V> TreeNode<K,V> rotateLeft(TreeNode<K,V> root, in rotateLeft() method in ConcurrentHashMap.TreeBin
3152 root = rotateLeft(root, x = xp); in balanceInsertion()
3180 root = rotateLeft(root, xpp); in balanceInsertion()
3205 root = rotateLeft(root, xp); in balanceDeletion()
3233 root = rotateLeft(root, xp); in balanceDeletion()
3260 root = rotateLeft(root, xpl); in balanceDeletion()