Lines Matching refs:rotateRightLong
318 private static long rotateRightLong(long value, int distance) { in rotateRightLong() method in Main
544 expectEqualsLong(0x8000000000000000L, rotateRightLong(0x8000000000000000L, 0)); in testRotateRightLong()
545 expectEqualsLong(0x4000000000000000L, rotateRightLong(0x8000000000000000L, 1)); in testRotateRightLong()
546 expectEqualsLong(0x0000000000000001L, rotateRightLong(0x8000000000000000L, 63)); in testRotateRightLong()
547 expectEqualsLong(0x8000000000000000L, rotateRightLong(0x8000000000000000L, 64)); // overshoot in testRotateRightLong()
548 expectEqualsLong(0xC000000000000000L, rotateRightLong(0x8000000000000001L, 1)); in testRotateRightLong()
549 expectEqualsLong(0x6000000000000000L, rotateRightLong(0x8000000000000001L, 2)); in testRotateRightLong()
550 expectEqualsLong(0x0123456789ABCDEFL, rotateRightLong(0x123456789ABCDEF0L, 4)); in testRotateRightLong()
551 expectEqualsLong(0xF0123456789ABCDEL, rotateRightLong(0x123456789ABCDEF0L, 8)); in testRotateRightLong()
554 expectEqualsLong(0x0000000000000000L, rotateRightLong(0x0000000000000000L, i)); in testRotateRightLong()
555 expectEqualsLong(0xFFFFFFFFFFFFFFFFL, rotateRightLong(0xFFFFFFFFFFFFFFFFL, i)); in testRotateRightLong()
556 expectEqualsLong(0x8000000000000000L >>> j, rotateRightLong(0x8000000000000000L, i)); in testRotateRightLong()
558 rotateRightLong(0x123456789ABCDEF0L, i)); in testRotateRightLong()