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_3 , var_5 = 0 , 20000
      while var_3 < var_5 :
          var_7 = ( var_3 + var_5 ) >> 1
          if var_0.get ( var_7 ) >= var_1 :
              var_5 = var_7
          else :
              var_3 = var_7 + 1
      return var_3 if var_0.get ( var_3 ) == var_1 else - 1
  