Searched refs:mid (Results 1 – 3 of 3) sorted by relevance
297 let mid = Math.floor((left + right) / 2); variable300 if (ts < this.timeline[mid]) {301 right = mid - 1;302 } else if (ts > this.timeline[mid]) {303 left = mid + 1;305 return mid;307 mid = Math.floor((left + right) / 2);
268 mid = (min + max) // 2269 if mappings[mid].end <= addr:270 min = mid + 1271 elif mappings[mid].start > addr:272 max = mid - 1274 return mappings[mid]
56 ^frameworks/policies/base/mid$