Searched refs:rotateLeft (Results 1 – 6 of 6) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | LongTest.java | 1009 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()
|
D | IntegerTest.java | 1174 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/luni/src/main/java/java/lang/ |
D | Integer.java | 661 public static int rotateLeft(int i, int distance) { in rotateLeft() method in Integer
|
D | Long.java | 679 public static long rotateLeft(long v, int distance) { in rotateLeft() method in Long
|
/libcore/luni/src/main/java/java/util/ |
D | TreeMap.java | 475 rotateLeft(node); // AVL right right in rebalance() 479 rotateLeft(node); in rebalance() 496 rotateLeft(left); // AVL left right in rebalance() 522 private void rotateLeft(Node<K, V> root) { in rotateLeft() method in TreeMap
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 2299 static <K,V> TreeNode<K,V> rotateLeft(TreeNode<K,V> root, in rotateLeft() method in ConcurrentHashMap.TreeBin 2354 root = rotateLeft(root, x = xp); in balanceInsertion() 2382 root = rotateLeft(root, xpp); in balanceInsertion() 2407 root = rotateLeft(root, xp); in balanceDeletion() 2435 root = rotateLeft(root, xp); in balanceDeletion() 2462 root = rotateLeft(root, xpl); in balanceDeletion()
|