Lines Matching refs:rotateRightIntWithByteDistance

360   private static int rotateRightIntWithByteDistance(int value, byte distance) {  in rotateRightIntWithByteDistance()  method in Main
583 expectEqualsInt(0x80000000, rotateRightIntWithByteDistance(0x80000000, (byte)0)); in testRotateRightIntWithByteDistance()
584 expectEqualsInt(0x40000000, rotateRightIntWithByteDistance(0x80000000, (byte)1)); in testRotateRightIntWithByteDistance()
585 expectEqualsInt(0x00000001, rotateRightIntWithByteDistance(0x80000000, (byte)31)); in testRotateRightIntWithByteDistance()
586 expectEqualsInt(0x80000000, rotateRightIntWithByteDistance(0x80000000, (byte)32)); // overshoot in testRotateRightIntWithByteDistance()
587 expectEqualsInt(0xC0000000, rotateRightIntWithByteDistance(0x80000001, (byte)1)); in testRotateRightIntWithByteDistance()
588 expectEqualsInt(0x60000000, rotateRightIntWithByteDistance(0x80000001, (byte)2)); in testRotateRightIntWithByteDistance()
589 expectEqualsInt(0x81234567, rotateRightIntWithByteDistance(0x12345678, (byte)4)); in testRotateRightIntWithByteDistance()
590 expectEqualsInt(0xF09ABCDE, rotateRightIntWithByteDistance(0x9ABCDEF0, (byte)8)); in testRotateRightIntWithByteDistance()
593 expectEqualsInt(0x00000000, rotateRightIntWithByteDistance(0x00000000, i)); in testRotateRightIntWithByteDistance()
594 expectEqualsInt(0xFFFFFFFF, rotateRightIntWithByteDistance(0xFFFFFFFF, i)); in testRotateRightIntWithByteDistance()
595 expectEqualsInt(0x80000000 >>> j, rotateRightIntWithByteDistance(0x80000000, i)); in testRotateRightIntWithByteDistance()
597 rotateRightIntWithByteDistance(0x12345678, i)); in testRotateRightIntWithByteDistance()