Lines Matching defs:distance

65   private static int rotateLeftBoolean(boolean value, int distance) {
66 return Integer.rotateLeft(value ? 1 : 0, distance);
86 private static int rotateLeftByte(byte value, int distance) {
87 return Integer.rotateLeft(value, distance);
107 private static int rotateLeftShort(short value, int distance) {
108 return Integer.rotateLeft(value, distance);
128 private static int rotateLeftChar(char value, int distance) {
129 return Integer.rotateLeft(value, distance);
149 private static int rotateLeftInt(int value, int distance) {
150 return Integer.rotateLeft(value, distance);
170 private static long rotateLeftLong(long value, int distance) {
171 return Long.rotateLeft(value, distance);
218 private static int rotateRightBoolean(boolean value, int distance) {
219 return Integer.rotateRight(value ? 1 : 0, distance);
238 private static int rotateRightByte(byte value, int distance) {
239 return Integer.rotateRight(value, distance);
258 private static int rotateRightShort(short value, int distance) {
259 return Integer.rotateRight(value, distance);
278 private static int rotateRightChar(char value, int distance) {
279 return Integer.rotateRight(value, distance);
298 private static int rotateRightInt(int value, int distance) {
299 return Integer.rotateRight(value, distance);
318 private static long rotateRightLong(long value, int distance) {
319 return Long.rotateRight(value, distance);
340 private static int rotateLeftIntWithByteDistance(int value, byte distance) {
341 return Integer.rotateLeft(value, distance);
360 private static int rotateRightIntWithByteDistance(int value, byte distance) {
361 return Integer.rotateRight(value, distance);
617 // Also exercise distance values with types other than int.