Did I find the right examples for you? yes no

All Samples(16)  |  Call(10)  |  Derive(0)  |  Import(6)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/detect_cpu.py   plexnet(Download)
def getcpuclass(backend_name="auto"):
    if backend_name == "auto":
        backend_name = autodetect()
    if backend_name in ('i386', 'x86'):
        from pypy.jit.backend.x86.runner import CPU

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/test/test_runner.py   plexnet(Download)
from pypy.jit.metainterp.history import (BoxInt, BoxPtr, ConstInt, ConstPtr,
                                         Box, BasicFailDescr)
from pypy.jit.backend.x86.runner import CPU
from pypy.jit.backend.x86.regalloc import WORD
from pypy.jit.backend.llsupport import symbolic
    def setup_class(cls):
        cls.cpu = CPU(rtyper=None, stats=FakeStats())
 
    def test_execute_ptr_operation(self):
        cpu = self.cpu

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/test/test_regalloc2.py   plexnet(Download)
import py
from pypy.jit.metainterp.history import ResOperation, BoxInt, ConstInt,\
     BoxPtr, ConstPtr, BasicFailDescr, LoopToken
from pypy.jit.metainterp.resoperation import rop
from pypy.jit.backend.x86.runner import CPU
        ResOperation(rop.FINISH, [v4, v3], None, descr=BasicFailDescr()),
        ]
    cpu = CPU(None, None)
    looptoken = LoopToken()
    cpu.compile_loop(inputargs, operations, looptoken)
        ResOperation(rop.FINISH, [v4, v3, tmp5], None, descr=BasicFailDescr()),
            ]
    cpu = CPU(None, None)
    looptoken = LoopToken()
    cpu.compile_loop(inputargs, operations, looptoken)
        ResOperation(rop.FINISH, [v40, v36, v37, v31, v16, v34, v35, v23, v22, v29, v14, v39, v30, v38], None, descr=BasicFailDescr()),
            ]
    cpu = CPU(None, None)
    looptoken = LoopToken()
    cpu.compile_loop(inputargs, operations, looptoken)
        ResOperation(rop.FINISH, [v40, v10, v36, v26, v13, v30, v21, v33, v18, v25, v31, v32, v28, v29, v35, v38, v20, v39, v34, v23, v37], None, descr=BasicFailDescr()),
            ]
    cpu = CPU(None, None)
    looptoken = LoopToken()
    cpu.compile_loop(inputargs, operations, looptoken)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/test/test_gc_integration.py   plexnet(Download)
from pypy.jit.backend.llsupport.descr import GcCache
from pypy.jit.backend.llsupport.gc import GcLLDescription
from pypy.jit.backend.x86.runner import CPU
from pypy.jit.backend.x86.regalloc import RegAlloc, WORD
from pypy.jit.metainterp.test.oparser import parse
    def test_mark_gc_roots(self):
        cpu = CPU(None, None)
        regalloc = RegAlloc(MockAssembler(cpu, MockGcDescr(False)))
        boxes = [BoxPtr() for i in range(len(X86RegisterManager.all_regs))]
        longevity = {}
class TestRegallocGcIntegration(BaseTestRegalloc):
 
    cpu = CPU(None, None)
    cpu.gc_ll_descr = MockGcDescr(False)
 
    def setup_method(self, method):
        cpu = CPU(None, None)
        cpu.vtable_offset = 4
        cpu.gc_ll_descr = GCDescrFastpathMalloc()
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/test/test_regalloc.py   plexnet(Download)
from pypy.jit.metainterp.resoperation import rop, ResOperation
from pypy.jit.backend.llsupport.descr import GcCache
from pypy.jit.backend.x86.runner import CPU
from pypy.jit.backend.x86.regalloc import RegAlloc, WORD, X86RegisterManager,\
     BASE_CONSTANT_SIZE
    def __init__(self, cpu=None, gc_ll_descr=None):
        self.movs = []
        self.performs = []
        self.lea = []
        self.cpu = cpu or CPU(None, None)
class BaseTestRegalloc(object):
    cpu = CPU(None, None)
 
    def raising_func(i):
        if i:

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/test/test_recompilation.py   plexnet(Download)
 
from pypy.jit.backend.x86.runner import CPU
from pypy.jit.backend.x86.test.test_regalloc import BaseTestRegalloc
 
class TestRecompilation(BaseTestRegalloc):