Lines Matching refs:j
262 int j = i & 31; in testRotateLeftBoolean() local
278 int j = i & 31; in testRotateLeftByte() local
281 expectEqualsInt((1 << j), rotateLeftByte((byte)0x0001, i)); in testRotateLeftByte()
282 expectEqualsInt((0x12 << j) | (0x12 >>> -j), rotateLeftByte((byte)0x12, i)); in testRotateLeftByte()
296 int j = i & 31; in testRotateLeftShort() local
299 expectEqualsInt((1 << j), rotateLeftShort((short)0x0001, i)); in testRotateLeftShort()
300 expectEqualsInt((0x1234 << j) | (0x1234 >>> -j), rotateLeftShort((short)0x1234, i)); in testRotateLeftShort()
315 int j = i & 31; in testRotateLeftChar() local
317 expectEqualsInt((1 << j), rotateLeftChar((char)0x0001, i)); in testRotateLeftChar()
318 expectEqualsInt((0x1234 << j) | (0x1234 >>> -j), rotateLeftChar((char)0x1234, i)); in testRotateLeftChar()
332 int j = i & 31; in testRotateLeftInt() local
335 expectEqualsInt(1 << j, rotateLeftInt(0x00000001, i)); in testRotateLeftInt()
336 expectEqualsInt((0x12345678 << j) | (0x12345678 >>> -j), rotateLeftInt(0x12345678, i)); in testRotateLeftInt()
350 int j = i & 63; in testRotateLeftLong() local
353 expectEqualsLong(1L << j, rotateLeftLong(0x0000000000000001, i)); in testRotateLeftLong()
354 expectEqualsLong((0x123456789ABCDEF0L << j) | (0x123456789ABCDEF0L >>> -j), in testRotateLeftLong()
362 int j = i & 31; in testRotateRightBoolean() local
378 int j = i & 31; in testRotateRightByte() local
381 expectEqualsInt(1 << (32 - j), rotateRightByte((byte)0x01, i)); in testRotateRightByte()
382 expectEqualsInt((0x12 >>> j) | (0x12 << -j), rotateRightByte((byte)0x12, i)); in testRotateRightByte()
396 int j = i & 31; in testRotateRightShort() local
399 expectEqualsInt(1 << (32 - j), rotateRightShort((short)0x0001, i)); in testRotateRightShort()
400 expectEqualsInt((0x1234 >>> j) | (0x1234 << -j), rotateRightShort((short)0x1234, i)); in testRotateRightShort()
414 int j = i & 31; in testRotateRightChar() local
416 expectEqualsInt(1 << (32 - j), rotateRightChar((char)0x0001, i)); in testRotateRightChar()
417 expectEqualsInt((0x1234 >>> j) | (0x1234 << -j), rotateRightChar((char)0x1234, i)); in testRotateRightChar()
431 int j = i & 31; in testRotateRightInt() local
434 expectEqualsInt(0x80000000 >>> j, rotateRightInt(0x80000000, i)); in testRotateRightInt()
435 expectEqualsInt((0x12345678 >>> j) | (0x12345678 << -j), rotateRightInt(0x12345678, i)); in testRotateRightInt()
449 int j = i & 63; in testRotateRightLong() local
452 expectEqualsLong(0x8000000000000000L >>> j, rotateRightLong(0x8000000000000000L, i)); in testRotateRightLong()
453 expectEqualsLong((0x123456789ABCDEF0L >>> j) | (0x123456789ABCDEF0L << -j), in testRotateRightLong()
469 byte j = (byte)(i & 31); in testRotateLeftIntWithByteDistance()
472 expectEqualsInt(1 << j, rotateLeftIntWithByteDistance(0x00000001, i)); in testRotateLeftIntWithByteDistance()
473 expectEqualsInt((0x12345678 << j) | (0x12345678 >>> -j), in testRotateLeftIntWithByteDistance()
488 byte j = (byte)(i & 31); in testRotateRightIntWithByteDistance()
491 expectEqualsInt(0x80000000 >>> j, rotateRightIntWithByteDistance(0x80000000, i)); in testRotateRightIntWithByteDistance()
492 expectEqualsInt((0x12345678 >>> j) | (0x12345678 << -j), in testRotateRightIntWithByteDistance()