Searched refs:rotateLeftLong (Results 1 – 1 of 1) sorted by relevance
/art/test/565-checker-rotate/src/ |
D | Main.java | 170 private static long rotateLeftLong(long value, int distance) { in rotateLeftLong() method in Main 446 expectEqualsLong(0x0000000000000001L, rotateLeftLong(0x0000000000000001L, 0)); in testRotateLeftLong() 447 expectEqualsLong(0x0000000000000002L, rotateLeftLong(0x0000000000000001L, 1)); in testRotateLeftLong() 448 expectEqualsLong(0x8000000000000000L, rotateLeftLong(0x0000000000000001L, 63)); in testRotateLeftLong() 449 expectEqualsLong(0x0000000000000001L, rotateLeftLong(0x0000000000000001L, 64)); // overshoot in testRotateLeftLong() 450 expectEqualsLong(0x0000000000000003L, rotateLeftLong(0x8000000000000001L, 1)); in testRotateLeftLong() 451 expectEqualsLong(0x0000000000000006L, rotateLeftLong(0x8000000000000001L, 2)); in testRotateLeftLong() 452 expectEqualsLong(0x23456789ABCDEF01L, rotateLeftLong(0x123456789ABCDEF0L, 4)); in testRotateLeftLong() 453 expectEqualsLong(0x3456789ABCDEF012L, rotateLeftLong(0x123456789ABCDEF0L, 8)); in testRotateLeftLong() 456 expectEqualsLong(0x0000000000000000L, rotateLeftLong(0x0000000000000000L, i)); in testRotateLeftLong() [all …]
|