Did I find the right examples for you? yes no

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/test/test_exceptiontransform.py   plexnet(Download)
    def compile(self, fn, inputargs):
        from pypy.translator.cli.test.runtest import compile_function
        return compile_function(fn, inputargs, auto_raise_exc=True, exctrans=True)
 

src/s/y/Sypy-HEAD/translator/test/test_exceptiontransform.py   Sypy(Download)
    def compile(self, fn, inputargs):
        from pypy.translator.cli.test.runtest import compile_function
        return compile_function(fn, inputargs, auto_raise_exc=True, exctrans=True)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/cli/test/test_backendopt.py   plexnet(Download)
import py
from pypy.translator.cli.test.runtest import compile_function
from pypy.translator.oosupport.test_template.backendopt import BaseTestOptimizedSwitch
 
class TestOptimizedSwitch(BaseTestOptimizedSwitch):
    def getcompiled(self, fn, annotation):
        return compile_function(fn, annotation, backendopt=True)

src/s/y/Sypy-HEAD/translator/cli/test/test_backendopt.py   Sypy(Download)
import py
from pypy.translator.cli.test.runtest import compile_function
from pypy.translator.oosupport.test_template.backendopt import BaseTestOptimizedSwitch
 
class TestOptimizedSwitch(BaseTestOptimizedSwitch):
    def getcompiled(self, fn, annotation):
        return compile_function(fn, annotation, backendopt=True)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/test/support.py   plexnet(Download)
    def run_directly(self, fn, args):
        from pypy.translator.cli.test.runtest import compile_function, get_annotation
        ann = [get_annotation(x) for x in args]
        clifunc = compile_function(fn, ann)
        return clifunc(*args)

src/s/y/Sypy-HEAD/jit/backend/test/support.py   Sypy(Download)
    def run_directly(self, fn, args):
        from pypy.translator.cli.test.runtest import compile_function, get_annotation
        ann = [get_annotation(x) for x in args]
        clifunc = compile_function(fn, ann)
        return clifunc(*args)