Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 11 of 11) sorted by relevance

/libcore/tools/upstream/src/main/java/libcore/
DCompareUpstreams.java175 int distance = Util.editDistance(linesA, linesB); in run() local
176 if (distance == 0) { in run()
179 double percentDifferent = 100.0 * distance / Math in run()
183 distance); in run()
185 if (distance < bestDistance) { in run()
186 bestDistance = distance; in run()
/libcore/ojluni/src/main/java/java/util/concurrent/
DArrayBlockingQueue.java1063 int distance = index - prevTakeIndex; in invalidated() local
1064 if (distance < 0) in invalidated()
1065 distance += length; in invalidated()
1066 return dequeues > distance; in invalidated()
1250 private int distance(int index, int prevTakeIndex, int length) { in distance() method in ArrayBlockingQueue.Itr
1251 int distance = index - prevTakeIndex; in distance() local
1252 if (distance < 0) in distance()
1253 distance += length; in distance()
1254 return distance; in distance()
1281 int x = distance(cursor, prevTakeIndex, len); in removedAt()
[all …]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DBuilder.java143 static int distance(GeneralNameInterface base, in distance() method in Builder
366 int distance = distance(perName, target, -1); in targetDistance() local
367 if (distance >= 0) { in targetDistance()
368 return (distance + 1); in targetDistance()
DForwardBuilder.java535 Builder.distance(tSubjectName, cIssuer1Name, -1); in compare()
537 Builder.distance(tSubjectName, cIssuer2Name, -1); in compare()
566 int distanceTto1 = Builder.distance in compare()
568 int distanceTto2 = Builder.distance in compare()
644 int distanceStoI1 = Builder.distance in compare()
646 int distanceStoI2 = Builder.distance in compare()
/libcore/ojluni/src/main/java/java/lang/
DLong.java1504 public static long rotateLeft(long i, int distance) { in rotateLeft() argument
1505 return (i << distance) | (i >>> -distance); in rotateLeft()
1528 public static long rotateRight(long i, int distance) { in rotateRight() argument
1529 return (i >>> distance) | (i << -distance); in rotateRight()
DInteger.java1509 public static int rotateLeft(int i, int distance) { in rotateLeft() argument
1510 return (i << distance) | (i >>> -distance); in rotateLeft()
1533 public static int rotateRight(int i, int distance) { in rotateRight() argument
1534 return (i >>> distance) | (i << -distance); in rotateRight()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DLong.java221 public static long rotateLeft(long i, int distance) { in rotateLeft() argument
225 public static long rotateRight(long i, int distance) { in rotateRight() argument
DInteger.java221 public static int rotateLeft(int i, int distance) { in rotateLeft() argument
225 public static int rotateRight(int i, int distance) { in rotateRight() argument
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DLong.annotated.java115 public static long rotateLeft(long i, int distance) { throw new RuntimeException("Stub!"); } in rotateLeft() argument
117 public static long rotateRight(long i, int distance) { throw new RuntimeException("Stub!"); } in rotateRight() argument
DInteger.annotated.java116 public static int rotateLeft(int i, int distance) { throw new RuntimeException("Stub!"); } in rotateLeft() argument
118 public static int rotateRight(int i, int distance) { throw new RuntimeException("Stub!"); } in rotateRight() argument
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java66 public static void rotate(@libcore.util.NonNull java.util.List<?> list, int distance) { throw new R… in rotate() argument