Lines Matching refs:mid
1306 size_t mid = (left + right) / 2;1307 if(array[mid] <= value) left = mid + 1; /*the value to find is more to the right*/1308 else if(array[mid - 1] > value) right = mid - 1; /*the value to find is more to the left*/1309 else return mid - 1;