Lines Matching refs:SIZE

1320     Assert.assertEquals(Integer.numberOfLeadingZeros(0), Integer.SIZE);
1321 Assert.assertEquals(Integer.numberOfLeadingZeros(1), Integer.SIZE - 1);
1322 Assert.assertEquals(Integer.numberOfLeadingZeros(1 << (Integer.SIZE-1)), 0);
1323 Assert.assertEquals(Integer.numberOfLeadingZeros($noinline$return_int_zero()), Integer.SIZE);
1324 for (int i = 0; i < Integer.SIZE; i++) {
1325 Assert.assertEquals(Integer.numberOfLeadingZeros(1 << i), Integer.SIZE - 1 - i);
1326 Assert.assertEquals(Integer.numberOfLeadingZeros((1 << i) | 1), Integer.SIZE - 1 - i);
1339 Assert.assertEquals(Long.numberOfLeadingZeros(0L), Long.SIZE);
1340 Assert.assertEquals(Long.numberOfLeadingZeros(1L), Long.SIZE - 1);
1341 Assert.assertEquals(Long.numberOfLeadingZeros(1L << ((Long.SIZE/2)-1)), Long.SIZE/2);
1342 Assert.assertEquals(Long.numberOfLeadingZeros(1L << (Long.SIZE-1)), 0);
1343 Assert.assertEquals(Long.numberOfLeadingZeros($noinline$return_long_zero()), Long.SIZE);
1344 for (int i = 0; i < Long.SIZE; i++) {
1345 Assert.assertEquals(Long.numberOfLeadingZeros(1L << i), Long.SIZE - 1 - i);
1346 Assert.assertEquals(Long.numberOfLeadingZeros((1L << i) | 1L), Long.SIZE - 1 - i);
1485 Assert.assertEquals(Integer.numberOfTrailingZeros(0), Integer.SIZE);
1486 for (int i = 0; i < Integer.SIZE; i++) {
1489 Integer.SIZE - 1 - i);
1492 Integer.SIZE - 1 - i);
1498 Assert.assertEquals(Long.numberOfTrailingZeros(0), Long.SIZE);
1499 for (int i = 0; i < Long.SIZE; i++) {
1502 Long.SIZE - 1 - i);
1505 Long.SIZE - 1 - i);
1514 Assert.assertEquals(Integer.rotateRight(0x11, Integer.SIZE - 1), 0x22);
1515 Assert.assertEquals(Integer.rotateRight(0x11, Integer.SIZE), 0x11);
1516 Assert.assertEquals(Integer.rotateRight(0x11, Integer.SIZE + 1), 0x80000008);
1519 Assert.assertEquals(Integer.rotateRight(0x11, -(Integer.SIZE - 1)), 0x80000008);
1520 Assert.assertEquals(Integer.rotateRight(0x11, -Integer.SIZE), 0x11);
1521 Assert.assertEquals(Integer.rotateRight(0x11, -(Integer.SIZE + 1)), 0x22);
1525 for (int i = 0; i < Integer.SIZE; i++) {
1528 (0xBBAAAADD >>> i) | (0xBBAAAADD << (Integer.SIZE - i)));
1536 Assert.assertEquals(Long.rotateRight(0x11, Long.SIZE - 1), 0x22);
1537 Assert.assertEquals(Long.rotateRight(0x11, Long.SIZE), 0x11);
1538 Assert.assertEquals(Long.rotateRight(0x11, Long.SIZE + 1), 0x8000000000000008L);
1541 Assert.assertEquals(Long.rotateRight(0x11, -(Long.SIZE - 1)), 0x8000000000000008L);
1542 Assert.assertEquals(Long.rotateRight(0x11, -Long.SIZE), 0x11);
1543 Assert.assertEquals(Long.rotateRight(0x11, -(Long.SIZE + 1)), 0x22);
1547 for (int i = 0; i < Long.SIZE; i++) {
1550 (0xBBAAAADDFF0000DDL >>> i) | (0xBBAAAADDFF0000DDL << (Long.SIZE - i)));
1558 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE - 1), 0x80000008);
1559 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE), 0x11);
1560 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE + 1), 0x22);
1563 Assert.assertEquals(Integer.rotateLeft(0x11, -(Integer.SIZE - 1)), 0x22);
1564 Assert.assertEquals(Integer.rotateLeft(0x11, -Integer.SIZE), 0x11);
1565 Assert.assertEquals(Integer.rotateLeft(0x11, -(Integer.SIZE + 1)), 0x80000008);
1569 for (int i = 0; i < Integer.SIZE; i++) {
1572 (0xBBAAAADD << i) | (0xBBAAAADD >>> (Integer.SIZE - i)));
1580 Assert.assertEquals(Long.rotateLeft(0x11, Long.SIZE - 1), 0x8000000000000008L);
1581 Assert.assertEquals(Long.rotateLeft(0x11, Long.SIZE), 0x11);
1582 Assert.assertEquals(Long.rotateLeft(0x11, Long.SIZE + 1), 0x22);
1585 Assert.assertEquals(Long.rotateLeft(0x11, -(Long.SIZE - 1)), 0x22);
1586 Assert.assertEquals(Long.rotateLeft(0x11, -Long.SIZE), 0x11);
1587 Assert.assertEquals(Long.rotateLeft(0x11, -(Long.SIZE + 1)), 0x8000000000000008L);
1591 for (int i = 0; i < Long.SIZE; i++) {
1594 (0xBBAAAADDFF0000DDL << i) | (0xBBAAAADDFF0000DDL >>> (Long.SIZE - i)));
1599 for (int i = 0; i < Integer.SIZE * 2; i++) {
1608 for (int i = 0; i < Long.SIZE * 2; i++) {