comefrom: <doocs>0702.Search in a Sorted Array of Unknown Size_1.py
code: def search( reader, target):
      left, right = 0, 20000
      while left < right:
          mid = (left + right) >> 1
          if reader.get(mid) >= target:
              right = mid
          else:
              left = mid + 1
      return left if reader.get(left) == target else -1
masked: def sample_funcname ( var_0 , var_1 ) :
      var_2 , var_3 = 0 , 20000
      while var_2 < var_3 :
          var_4 = ( var_2 + var_3 ) >> 1
          if var_0.get ( var_4 ) >= var_1 :
              var_3 = var_4
          else :
              var_2 = var_4 + 1
      return var_2 if var_0.get ( var_2 ) == var_1 else - 1
  