Lines Matching refs:mid
271 int mid = (low + high) >>> 1;
272 Comparable<? super T> midVal = list.get(mid);
276 low = mid + 1;
278 high = mid - 1;
280 return mid; // key found
293 int mid = (low + high) >>> 1;
294 Comparable<? super T> midVal = get(i, mid);
298 low = mid + 1;
300 high = mid - 1;
302 return mid; // key found
375 int mid = (low + high) >>> 1;
376 T midVal = l.get(mid);
380 low = mid + 1;
382 high = mid - 1;
384 return mid; // key found
395 int mid = (low + high) >>> 1;
396 T midVal = get(i, mid);
400 low = mid + 1;
402 high = mid - 1;
404 return mid; // key found
424 for (int i=0, mid=size>>1, j=size-1; i<mid; i++, j--)
429 for (int i=0, mid=list.size()>>1; i<mid; i++) {
834 int mid = -distance % size;
835 if (mid < 0)
836 mid += size;
837 if (mid == 0)
840 reverse(list.subList(0, mid));
841 reverse(list.subList(mid, size));