code: def index_above(self, value):
      for offset, (u, v) in zip(self.offsets, self.intervals):
          if u >= value:
              return offset
          if value <= v:
              return offset + (value - u)
      return self.size
  
file_path: catboost/contrib/python/hypothesis/py2/hypothesis/internal/intervalsets.py
imports: from __future__ import absolute_import, division, print_function
label_desc: Use image node_id 7 for calling the IntervalSet obj's underlying member method code with example usage: obj.index_above(value) and returns: self, offset, unknown