Home | History | Annotate | Download | only in src

Lines Matching refs:expectEqualsLong

446     expectEqualsLong(0x0000000000000001L, rotateLeftLong(0x0000000000000001L, 0));
447 expectEqualsLong(0x0000000000000002L, rotateLeftLong(0x0000000000000001L, 1));
448 expectEqualsLong(0x8000000000000000L, rotateLeftLong(0x0000000000000001L, 63));
449 expectEqualsLong(0x0000000000000001L, rotateLeftLong(0x0000000000000001L, 64)); // overshoot
450 expectEqualsLong(0x0000000000000003L, rotateLeftLong(0x8000000000000001L, 1));
451 expectEqualsLong(0x0000000000000006L, rotateLeftLong(0x8000000000000001L, 2));
452 expectEqualsLong(0x23456789ABCDEF01L, rotateLeftLong(0x123456789ABCDEF0L, 4));
453 expectEqualsLong(0x3456789ABCDEF012L, rotateLeftLong(0x123456789ABCDEF0L, 8));
456 expectEqualsLong(0x0000000000000000L, rotateLeftLong(0x0000000000000000L, i));
457 expectEqualsLong(0xFFFFFFFFFFFFFFFFL, rotateLeftLong(0xFFFFFFFFFFFFFFFFL, i));
458 expectEqualsLong(1L << j, rotateLeftLong(0x0000000000000001, i));
459 expectEqualsLong((0x123456789ABCDEF0L << j) | (0x123456789ABCDEF0L >>> -j),
544 expectEqualsLong(0x8000000000000000L, rotateRightLong(0x8000000000000000L, 0));
545 expectEqualsLong(0x4000000000000000L, rotateRightLong(0x8000000000000000L, 1));
546 expectEqualsLong(0x0000000000000001L, rotateRightLong(0x8000000000000000L, 63));
547 expectEqualsLong(0x8000000000000000L, rotateRightLong(0x8000000000000000L, 64)); // overshoot
548 expectEqualsLong(0xC000000000000000L, rotateRightLong(0x8000000000000001L, 1));
549 expectEqualsLong(0x6000000000000000L, rotateRightLong(0x8000000000000001L, 2));
550 expectEqualsLong(0x0123456789ABCDEFL, rotateRightLong(0x123456789ABCDEF0L, 4));
551 expectEqualsLong(0xF0123456789ABCDEL, rotateRightLong(0x123456789ABCDEF0L, 8));
554 expectEqualsLong(0x0000000000000000L, rotateRightLong(0x0000000000000000L, i));
555 expectEqualsLong(0xFFFFFFFFFFFFFFFFL, rotateRightLong(0xFFFFFFFFFFFFFFFFL, i));
556 expectEqualsLong(0x8000000000000000L >>> j, rotateRightLong(0x8000000000000000L, i));
557 expectEqualsLong((0x123456789ABCDEF0L >>> j) | (0x123456789ABCDEF0L << -j),
631 private static void expectEqualsLong(long expected, long result) {