Did I find the right examples for you? yes no

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

src/s/y/Sypy-HEAD/interpreter/astcompiler/assemble.py   Sypy(Download)
                        # Optimize an unconditional jump going to another
                        # unconditional jump.
                        if op == ops.JUMP_ABSOLUTE or op == ops.JUMP_FORWARD:
                            if target.instructions:
                                target_op = target.instructions[0].opcode
                                                             target_depth,
                                                             max_depth)
                if jump_op == ops.JUMP_ABSOLUTE or jump_op == ops.JUMP_FORWARD:
                    # Nothing more can occur.
                    done = True
    ops.IMPORT_FROM : 1,
 
    ops.JUMP_FORWARD : 0,
    ops.JUMP_ABSOLUTE : 0,
    ops.JUMP_IF_TRUE_OR_POP : 0,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/interpreter/astcompiler/assemble.py   plexnet(Download)
                        # Optimize an unconditional jump going to another
                        # unconditional jump.
                        if op == ops.JUMP_ABSOLUTE or op == ops.JUMP_FORWARD:
                            if target.instructions:
                                target_op = target.instructions[0].opcode
                                                             depth, max_depth)
                if instr.opcode == ops.JUMP_ABSOLUTE or \
                        instr.opcode == ops.JUMP_FORWARD:
                    # Nothing more can occur.
                    break
    ops.IMPORT_FROM : 1,
 
    ops.JUMP_FORWARD : 0,
    ops.JUMP_ABSOLUTE : 0,
    ops.JUMP_IF_TRUE : 0,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/interpreter/astcompiler/optimize.py   plexnet(Download)
            end = gen.new_block()
            self._accept_jump_if_any_is(gen, not condition, end)
            gen.emit_jump(ops.JUMP_FORWARD, target)
            gen.use_next_block(end)
        else:

src/s/y/Sypy-HEAD/interpreter/astcompiler/optimize.py   Sypy(Download)
            end = gen.new_block()
            self._accept_jump_if_any_is(gen, not condition, end)
            gen.emit_jump(ops.JUMP_FORWARD, target)
            gen.use_next_block(end)
        else:

src/s/y/Sypy-HEAD/interpreter/astcompiler/test/test_compiler.py   Sypy(Download)
        """
        counts = self.count_instructions(source)
        assert ops.JUMP_FORWARD not in counts
        assert ops.JUMP_ABSOLUTE not in counts
        assert counts[ops.RETURN_VALUE] == 2