Lines Matching refs:SIZE
1380 Assert.assertEquals(Integer.numberOfLeadingZeros(0), Integer.SIZE);
1381 Assert.assertEquals(Integer.numberOfLeadingZeros(1), Integer.SIZE - 1);
1382 Assert.assertEquals(Integer.numberOfLeadingZeros(1 << (Integer.SIZE-1)), 0);
1383 Assert.assertEquals(Integer.numberOfLeadingZeros($noinline$return_int_zero()), Integer.SIZE);
1384 for (int i = 0; i < Integer.SIZE; i++) {
1385 Assert.assertEquals(Integer.numberOfLeadingZeros(1 << i), Integer.SIZE - 1 - i);
1386 Assert.assertEquals(Integer.numberOfLeadingZeros((1 << i) | 1), Integer.SIZE - 1 - i);
1399 Assert.assertEquals(Long.numberOfLeadingZeros(0L), Long.SIZE);
1400 Assert.assertEquals(Long.numberOfLeadingZeros(1L), Long.SIZE - 1);
1401 Assert.assertEquals(Long.numberOfLeadingZeros(1L << ((Long.SIZE/2)-1)), Long.SIZE/2);
1402 Assert.assertEquals(Long.numberOfLeadingZeros(1L << (Long.SIZE-1)), 0);
1403 Assert.assertEquals(Long.numberOfLeadingZeros($noinline$return_long_zero()), Long.SIZE);
1404 for (int i = 0; i < Long.SIZE; i++) {
1405 Assert.assertEquals(Long.numberOfLeadingZeros(1L << i), Long.SIZE - 1 - i);
1406 Assert.assertEquals(Long.numberOfLeadingZeros((1L << i) | 1L), Long.SIZE - 1 - i);
1545 Assert.assertEquals(Integer.numberOfTrailingZeros(0), Integer.SIZE);
1546 for (int i = 0; i < Integer.SIZE; i++) {
1549 Integer.SIZE - 1 - i);
1552 Integer.SIZE - 1 - i);
1558 Assert.assertEquals(Long.numberOfTrailingZeros(0), Long.SIZE);
1559 for (int i = 0; i < Long.SIZE; i++) {
1562 Long.SIZE - 1 - i);
1565 Long.SIZE - 1 - i);
1574 Assert.assertEquals(Integer.rotateRight(0x11, Integer.SIZE - 1), 0x22);
1575 Assert.assertEquals(Integer.rotateRight(0x11, Integer.SIZE), 0x11);
1576 Assert.assertEquals(Integer.rotateRight(0x11, Integer.SIZE + 1), 0x80000008);
1579 Assert.assertEquals(Integer.rotateRight(0x11, -(Integer.SIZE - 1)), 0x80000008);
1580 Assert.assertEquals(Integer.rotateRight(0x11, -Integer.SIZE), 0x11);
1581 Assert.assertEquals(Integer.rotateRight(0x11, -(Integer.SIZE + 1)), 0x22);
1585 for (int i = 0; i < Integer.SIZE; i++) {
1588 (0xBBAAAADD >>> i) | (0xBBAAAADD << (Integer.SIZE - i)));
1596 Assert.assertEquals(Long.rotateRight(0x11, Long.SIZE - 1), 0x22);
1597 Assert.assertEquals(Long.rotateRight(0x11, Long.SIZE), 0x11);
1598 Assert.assertEquals(Long.rotateRight(0x11, Long.SIZE + 1), 0x8000000000000008L);
1601 Assert.assertEquals(Long.rotateRight(0x11, -(Long.SIZE - 1)), 0x8000000000000008L);
1602 Assert.assertEquals(Long.rotateRight(0x11, -Long.SIZE), 0x11);
1603 Assert.assertEquals(Long.rotateRight(0x11, -(Long.SIZE + 1)), 0x22);
1607 for (int i = 0; i < Long.SIZE; i++) {
1610 (0xBBAAAADDFF0000DDL >>> i) | (0xBBAAAADDFF0000DDL << (Long.SIZE - i)));
1618 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE - 1), 0x80000008);
1619 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE), 0x11);
1620 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE + 1), 0x22);
1623 Assert.assertEquals(Integer.rotateLeft(0x11, -(Integer.SIZE - 1)), 0x22);
1624 Assert.assertEquals(Integer.rotateLeft(0x11, -Integer.SIZE), 0x11);
1625 Assert.assertEquals(Integer.rotateLeft(0x11, -(Integer.SIZE + 1)), 0x80000008);
1629 for (int i = 0; i < Integer.SIZE; i++) {
1632 (0xBBAAAADD << i) | (0xBBAAAADD >>> (Integer.SIZE - i)));
1640 Assert.assertEquals(Long.rotateLeft(0x11, Long.SIZE - 1), 0x8000000000000008L);
1641 Assert.assertEquals(Long.rotateLeft(0x11, Long.SIZE), 0x11);
1642 Assert.assertEquals(Long.rotateLeft(0x11, Long.SIZE + 1), 0x22);
1645 Assert.assertEquals(Long.rotateLeft(0x11, -(Long.SIZE - 1)), 0x22);
1646 Assert.assertEquals(Long.rotateLeft(0x11, -Long.SIZE), 0x11);
1647 Assert.assertEquals(Long.rotateLeft(0x11, -(Long.SIZE + 1)), 0x8000000000000008L);
1651 for (int i = 0; i < Long.SIZE; i++) {
1654 (0xBBAAAADDFF0000DDL << i) | (0xBBAAAADDFF0000DDL >>> (Long.SIZE - i)));
1659 for (int i = 0; i < Integer.SIZE * 2; i++) {
1668 for (int i = 0; i < Long.SIZE * 2; i++) {