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

/libcore/luni/src/main/java/java/lang/
H A DInteger.java620 * @param distance
625 public static int rotateLeft(int i, int distance) { argument
626 // Shift distances are mod 32 (JLS3 15.19), so we needn't mask -distance
627 return (i << distance) | (i >>> -distance);
636 * @param distance
641 public static int rotateRight(int i, int distance) { argument
642 // Shift distances are mod 32 (JLS3 15.19), so we needn't mask -distance
643 return (i >>> distance) | (i << -distance);
[all...]
H A DLong.java639 * @param distance
644 public static long rotateLeft(long v, int distance) { argument
645 // Shift distances are mod 64 (JLS3 15.19), so we needn't mask -distance
646 return (v << distance) | (v >>> -distance);
655 * @param distance
660 public static long rotateRight(long v, int distance) { argument
661 // Shift distances are mod 64 (JLS3 15.19), so we needn't mask -distance
662 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 102 milliseconds