Searched defs:distance (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/lang/
H A DInteger.java656 * @param distance
661 public static int rotateLeft(int i, int distance) { argument
662 // Shift distances are mod 32 (JLS3 15.19), so we needn't mask -distance
663 return (i << distance) | (i >>> -distance);
672 * @param distance
677 public static int rotateRight(int i, int distance) { argument
678 // Shift distances are mod 32 (JLS3 15.19), so we needn't mask -distance
679 return (i >>> distance) | (i << -distance);
[all...]
H A DLong.java674 * @param distance
679 public static long rotateLeft(long v, int distance) { argument
680 // Shift distances are mod 64 (JLS3 15.19), so we needn't mask -distance
681 return (v << distance) | (v >>> -distance);
690 * @param distance
695 public static long rotateRight(long v, int distance) { argument
696 // Shift distances are mod 64 (JLS3 15.19), so we needn't mask -distance
697 return (v >>> distance) | (v << -distance);
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DArrayBlockingQueue.java1076 int distance = index - prevTakeIndex;
1077 if (distance < 0)
1078 distance += length;
1079 return dequeues > distance;
1263 private int distance(int index, int prevTakeIndex, int length) { method in class:ArrayBlockingQueue.Itr
1264 int distance = index - prevTakeIndex;
1265 if (distance < 0)
1266 distance += length;
1267 return distance;
1293 int x = distance(curso
[all...]
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 147 milliseconds