Searched refs:mid (Results 1 - 6 of 6) sorted by relevance
/libcore/luni/src/main/native/ |
H A D | java_io_ObjectStreamClass.cpp | 24 jmethodID mid = env->GetMethodID(c, "getSignature", "()Ljava/lang/String;"); local 25 if (!mid) { 29 return env->CallNonvirtualObjectMethod(object, objectClass, mid); 45 jmethodID mid = env->GetStaticMethodID(targetClass, "<clinit>", "()V"); local 47 return (mid != 0);
|
/libcore/luni/src/main/java/java/util/ |
H A D | Arrays.java | 194 int mid = (lo + hi) >>> 1; 195 byte midVal = array[mid]; 198 lo = mid + 1; 200 hi = mid - 1; 202 return mid; // value found 244 int mid = (lo + hi) >>> 1; 245 char midVal = array[mid]; 248 lo = mid + 1; 250 hi = mid - 1; 252 return mid; // valu [all...] |
H A D | Collections.java | 1436 int low = 0, mid = list.size(), high = mid - 1, result = -1; 1438 mid = (low + high) >>> 1; 1439 if ((result = -list.get(mid).compareTo(object)) > 0) { 1440 low = mid + 1; 1442 return mid; 1444 high = mid - 1; 1447 return -mid - (result < 0 ? 1 : 2); 1491 int low = 0, mid = list.size(), high = mid [all...] |
H A D | ComparableTimSort.java | 122 * measured to be too expensive when sorting "mid-sized" arrays (e.g., 227 int mid = (left + right) >>> 1; 228 if (pivot.compareTo(a[mid]) < 0) 229 right = mid; 231 left = mid + 1;
|
H A D | TimSort.java | 149 * measured to be too expensive when sorting "mid-sized" arrays (e.g., 260 int mid = (left + right) >>> 1; 261 if (c.compare(pivot, a[mid]) < 0) 262 right = mid; 264 left = mid + 1;
|
/libcore/luni/src/main/java/java/lang/ |
H A D | AbstractStringBuilder.java | 458 for (int i = 0, mid = count / 2; i < mid; i++, --end) {
|
Completed in 106 milliseconds