Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/a/parakeet-0.23.2/parakeet/transforms/negative_index_elim.py   parakeet(Download)
 
from ..analysis.value_range_analysis import TupleOfIntervals, SliceOfIntervals
from ..ndtypes import ArrayT, TupleT, SliceT, ScalarT, NoneType 
from ..syntax import Tuple, Slice, Var, Index  
from ..syntax.helpers import zero_i64, one_i64, slice_none, make_slice_type, none
 
 
        slice_t = make_slice_type(start.type, stop.type, step.type)
        index_elts[i] = Slice(start=start, stop=stop, step = step, type = slice_t)
      if len(index_elts) > 1:

src/p/a/parakeet-HEAD/parakeet/transforms/negative_index_elim.py   parakeet(Download)
 
from ..analysis.value_range_analysis import TupleOfIntervals, SliceOfIntervals
from ..ndtypes import ArrayT, TupleT, SliceT, ScalarT, NoneType 
from ..syntax import Tuple, Slice, Var, Index  
from ..syntax.helpers import zero_i64, one_i64, slice_none, make_slice_type, none
 
 
        slice_t = make_slice_type(start.type, stop.type, step.type)
        index_elts[i] = Slice(start=start, stop=stop, step = step, type = slice_t)
      if len(index_elts) > 1: