Searched refs:rotateLeftIntWithByteDistance (Results 1 – 1 of 1) sorted by relevance
/art/test/565-checker-rotate/src/ |
D | Main.java | 340 private static int rotateLeftIntWithByteDistance(int value, byte distance) { in rotateLeftIntWithByteDistance() method in Main 564 expectEqualsInt(0x00000001, rotateLeftIntWithByteDistance(0x00000001, (byte)0)); in testRotateLeftIntWithByteDistance() 565 expectEqualsInt(0x00000002, rotateLeftIntWithByteDistance(0x00000001, (byte)1)); in testRotateLeftIntWithByteDistance() 566 expectEqualsInt(0x80000000, rotateLeftIntWithByteDistance(0x00000001, (byte)31)); in testRotateLeftIntWithByteDistance() 567 expectEqualsInt(0x00000001, rotateLeftIntWithByteDistance(0x00000001, (byte)32)); // overshoot in testRotateLeftIntWithByteDistance() 568 expectEqualsInt(0x00000003, rotateLeftIntWithByteDistance(0x80000001, (byte)1)); in testRotateLeftIntWithByteDistance() 569 expectEqualsInt(0x00000006, rotateLeftIntWithByteDistance(0x80000001, (byte)2)); in testRotateLeftIntWithByteDistance() 570 expectEqualsInt(0x23456781, rotateLeftIntWithByteDistance(0x12345678, (byte)4)); in testRotateLeftIntWithByteDistance() 571 expectEqualsInt(0xBCDEF09A, rotateLeftIntWithByteDistance(0x9ABCDEF0, (byte)8)); in testRotateLeftIntWithByteDistance() 574 expectEqualsInt(0x00000000, rotateLeftIntWithByteDistance(0x00000000, i)); in testRotateLeftIntWithByteDistance() [all …]
|