Did I find the right examples for you? yes no

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/interpreter/astcompiler/assemble.py   plexnet(Download)
    ops.INPLACE_XOR : -1,
 
    ops.SLICE+0 : 1,
    ops.SLICE+1 : 0,
    ops.SLICE+2 : 0,
    ops.SLICE+3 : -1,

src/s/y/Sypy-HEAD/interpreter/astcompiler/assemble.py   Sypy(Download)
    ops.INPLACE_XOR : -1,
 
    ops.SLICE+0 : 1,
    ops.SLICE+1 : 0,
    ops.SLICE+2 : 0,
    ops.SLICE+3 : -1,

src/s/y/Sypy-HEAD/interpreter/astcompiler/codegen.py   Sypy(Download)
 
slice_operations = misc.dict_to_switch({
    ast.AugLoad : ops.SLICE,
    ast.Load : ops.SLICE,
    ast.AugStore : ops.STORE_SLICE,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/interpreter/astcompiler/codegen.py   plexnet(Download)
 
slice_operations = misc.dict_to_switch({
    ast.AugLoad : ops.SLICE,
    ast.Load : ops.SLICE,
    ast.AugStore : ops.STORE_SLICE,

src/s/y/Sypy-HEAD/module/sys/vm.py   Sypy(Download)
                    if -3 <= constant <= 1 and constant != -1:
                        need_all_three_args = False
                elif ord(co[p+6]) == stdlib_opcode.SLICE+2:
                    if constant <= 2:
                        need_all_three_args = False
                elif (ord(co[p+6]) == stdlib_opcode.LOAD_CONST and
                      ord(co[p+9]) == stdlib_opcode.SLICE+3):

src/s/y/Sypy-HEAD/interpreter/astcompiler/test/test_compiler.py   Sypy(Download)
        """
        counts = self.count_instructions(source)
        assert counts == {ops.LOAD_CONST: 2, ops.SLICE+2: 1,
                          ops.RETURN_VALUE: 1}