Lines Matching refs:reverse
1250 Integer.reverse(0x12345678);
1251 Assert.assertEquals(Integer.reverse(1), 0x80000000);
1252 Assert.assertEquals(Integer.reverse(-1), 0xffffffff);
1253 Assert.assertEquals(Integer.reverse(0), 0);
1254 Assert.assertEquals(Integer.reverse(0x12345678), 0x1e6a2c48);
1255 Assert.assertEquals(Integer.reverse(0x87654321), 0x84c2a6e1);
1256 Assert.assertEquals(Integer.reverse(Integer.MAX_VALUE), 0xfffffffe);
1257 Assert.assertEquals(Integer.reverse(Integer.MIN_VALUE), 1);
1261 Long.reverse(0x1234567812345678L);
1262 Assert.assertEquals(Long.reverse(1L), 0x8000000000000000L);
1263 Assert.assertEquals(Long.reverse(-1L), 0xffffffffffffffffL);
1264 Assert.assertEquals(Long.reverse(0L), 0L);
1265 Assert.assertEquals(Long.reverse(0x1234567812345678L), 0x1e6a2c481e6a2c48L);
1266 Assert.assertEquals(Long.reverse(0x8765432187654321L), 0x84c2a6e184c2a6e1L);
1267 Assert.assertEquals(Long.reverse(Long.MAX_VALUE), 0xfffffffffffffffeL);
1268 Assert.assertEquals(Long.reverse(Long.MIN_VALUE), 1L);
1290 long r1 = Long.reverse(l1);
1291 long r2 = Long.reverse(l2);