Home
last modified time | relevance | path

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

/art/test/565-checker-rotate/src-art/
DMain.java59 private static int rotateLeftShort(short value, int distance) { in rotateLeftShort() method in Main
287 expectEqualsInt(0x00000001, rotateLeftShort((short)0x0001, 0)); in testRotateLeftShort()
288 expectEqualsInt(0x00000002, rotateLeftShort((short)0x0001, 1)); in testRotateLeftShort()
289 expectEqualsInt(0x80000000, rotateLeftShort((short)0x0001, 31)); in testRotateLeftShort()
290 expectEqualsInt(0x00000001, rotateLeftShort((short)0x0001, 32)); // overshoot in testRotateLeftShort()
291 expectEqualsInt(0xFFFF0003, rotateLeftShort((short)0x8001, 1)); in testRotateLeftShort()
292 expectEqualsInt(0xFFFE0007, rotateLeftShort((short)0x8001, 2)); in testRotateLeftShort()
293 expectEqualsInt(0x00012340, rotateLeftShort((short)0x1234, 4)); in testRotateLeftShort()
294 expectEqualsInt(0xFF9ABCFF, rotateLeftShort((short)0x9ABC, 8)); in testRotateLeftShort()
297 expectEqualsInt(0x00000000, rotateLeftShort((short)0x0000, i)); in testRotateLeftShort()
[all …]