Did I find the right examples for you? yes no

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/driver.py   plexnet(Download)
    def task_pyjitpl_lltype(self):
        get_policy = self.extra['jitpolicy']
        self.jitpolicy = get_policy(self)
        #
        from pypy.jit.metainterp.warmspot import apply_jit
        apply_jit(self.translator, policy=self.jitpolicy,
    def task_pyjitpl_ootype(self):
        get_policy = self.extra['jitpolicy']
        self.jitpolicy = get_policy(self)
        #
        from pypy.jit.metainterp.warmspot import apply_jit
        apply_jit(self.translator, policy=self.jitpolicy,

src/s/y/Sypy-HEAD/translator/driver.py   Sypy(Download)
        self.jitpolicy = get_policy(self)
        #
        from pypy.jit.metainterp.warmspot import apply_jit
        apply_jit(self.translator, policy=self.jitpolicy,
                  backend_name=self.config.translation.jit_backend, inline=True)
        self.jitpolicy = get_policy(self)
        #
        from pypy.jit.metainterp.warmspot import apply_jit
        apply_jit(self.translator, policy=self.jitpolicy,
                  backend_name='cli', inline=True) #XXX

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/test/test_zrpy_gc.py   plexnet(Download)
def compile(f, gc, **kwds):
    from pypy.annotation.listdef import s_list_of_strings
    from pypy.translator.translator import TranslationContext
    from pypy.jit.metainterp.warmspot import apply_jit
    from pypy.translator.c import genc
    t.buildrtyper().specialize()
    if kwds['jit']:
        apply_jit(t, optimizer=OPTIMIZER_SIMPLE)
    cbuilder = genc.CStandaloneBuilder(t, f, t.config)
    cbuilder.generate_source()

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llvm/test/test_zrpy_gc.py   plexnet(Download)
def compile_and_run(f, gc, **kwds):
    from pypy.annotation.listdef import s_list_of_strings
    from pypy.translator.translator import TranslationContext
    from pypy.jit.metainterp.warmspot import apply_jit
    from pypy.translator.c import genc
    t.buildrtyper().specialize()
    if kwds['jit']:
        apply_jit(t, CPUClass=LLVMCPU)
    cbuilder = genc.CStandaloneBuilder(t, f, t.config)
    cbuilder.generate_source()

src/s/y/Sypy-HEAD/jit/backend/llvm/test/test_zrpy_gc.py   Sypy(Download)
def compile_and_run(f, gc, **kwds):
    from pypy.annotation.listdef import s_list_of_strings
    from pypy.translator.translator import TranslationContext
    from pypy.jit.metainterp.warmspot import apply_jit
    from pypy.translator.c import genc
    t.buildrtyper().specialize()
    if kwds['jit']:
        apply_jit(t, CPUClass=LLVMCPU)
    cbuilder = genc.CStandaloneBuilder(t, f, t.config)
    cbuilder.generate_source()

src/s/y/Sypy-HEAD/jit/backend/x86/test/test_zrpy_gc.py   Sypy(Download)
def compile(f, gc, enable_opts='', **kwds):
    from pypy.annotation.listdef import s_list_of_strings
    from pypy.translator.translator import TranslationContext
    from pypy.jit.metainterp.warmspot import apply_jit
    from pypy.translator.c import genc
                setattr(obj, attr, value)
            #
            apply_jit(t, enable_opts=enable_opts)
            #
        finally: