Home
last modified time | relevance | path

Searched refs:rotateLeftIntWithByteDistance (Results 1 – 1 of 1) sorted by relevance

/art/test/565-checker-rotate/src-art/
DMain.java235 private static int rotateLeftIntWithByteDistance(int value, byte distance) { in rotateLeftIntWithByteDistance() method in Main
460 expectEqualsInt(0x00000001, rotateLeftIntWithByteDistance(0x00000001, (byte)0)); in testRotateLeftIntWithByteDistance()
461 expectEqualsInt(0x00000002, rotateLeftIntWithByteDistance(0x00000001, (byte)1)); in testRotateLeftIntWithByteDistance()
462 expectEqualsInt(0x80000000, rotateLeftIntWithByteDistance(0x00000001, (byte)31)); in testRotateLeftIntWithByteDistance()
463 expectEqualsInt(0x00000001, rotateLeftIntWithByteDistance(0x00000001, (byte)32)); // overshoot in testRotateLeftIntWithByteDistance()
464 expectEqualsInt(0x00000003, rotateLeftIntWithByteDistance(0x80000001, (byte)1)); in testRotateLeftIntWithByteDistance()
465 expectEqualsInt(0x00000006, rotateLeftIntWithByteDistance(0x80000001, (byte)2)); in testRotateLeftIntWithByteDistance()
466 expectEqualsInt(0x23456781, rotateLeftIntWithByteDistance(0x12345678, (byte)4)); in testRotateLeftIntWithByteDistance()
467 expectEqualsInt(0xBCDEF09A, rotateLeftIntWithByteDistance(0x9ABCDEF0, (byte)8)); in testRotateLeftIntWithByteDistance()
470 expectEqualsInt(0x00000000, rotateLeftIntWithByteDistance(0x00000000, i)); in testRotateLeftIntWithByteDistance()
[all …]