Did I find the right examples for you? yes no

All Samples(95)  |  Call(3)  |  Derive(56)  |  Import(36)

src/s/y/Sypy-HEAD/jit/metainterp/resume.py   Sypy(Download)
import sys, os
from pypy.jit.metainterp.history import Box, Const, ConstInt, getkind
from pypy.jit.metainterp.history import BoxInt, BoxPtr, BoxFloat
from pypy.jit.metainterp.history import INT, REF, FLOAT, HOLE
from pypy.jit.metainterp.history import AbstractDescr

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/cli/runner.py   plexnet(Download)
from pypy.tool.pairtype import extendabletype
from pypy.rpython.ootypesystem import ootype
from pypy.rlib.objectmodel import we_are_translated
from pypy.jit.metainterp import history
from pypy.jit.metainterp.history import AbstractDescr, AbstractMethDescr
class DescrWithKey(AbstractDescr):
    key = -1
 
    @classmethod
    def new(cls, *args):

src/s/y/Sypy-HEAD/jit/backend/cli/runner.py   Sypy(Download)
from pypy.tool.pairtype import extendabletype
from pypy.rpython.ootypesystem import ootype
from pypy.rlib.objectmodel import we_are_translated
from pypy.jit.metainterp import history
from pypy.jit.metainterp.history import AbstractDescr, AbstractMethDescr
class DescrWithKey(AbstractDescr):
    key = -1
 
    @classmethod
    def new(cls, *args):

src/s/y/Sypy-HEAD/jit/metainterp/executor.py   Sypy(Download)
from pypy.rlib.unroll import unrolling_iterable
from pypy.jit.metainterp.history import BoxInt, BoxPtr, BoxFloat, check_descr
from pypy.jit.metainterp.history import INT, REF, FLOAT, VOID, AbstractDescr
from pypy.jit.metainterp import resoperation
from pypy.jit.metainterp.resoperation import rop

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llsupport/descr.py   plexnet(Download)
from pypy.rpython.lltypesystem import lltype
from pypy.jit.backend.llsupport import symbolic
from pypy.jit.metainterp.history import AbstractDescr, getkind, BoxInt, BoxPtr
from pypy.jit.metainterp.history import BasicFailDescr, LoopToken, BoxFloat
from pypy.jit.metainterp.resoperation import ResOperation, rop
class SizeDescr(AbstractDescr):
    size = 0      # help translation
 
    def __init__(self, size):
        self.size = size
class BaseFieldDescr(AbstractDescr):
    offset = 0      # help translation
    _clsname = ''
 
    def __init__(self, offset):
class BaseArrayDescr(AbstractDescr):
    _clsname = ''
 
    def get_base_size(self, translate_support_code):
        basesize, _, _ = symbolic.get_array_token(_A, translate_support_code)
class BaseCallDescr(AbstractDescr):
    _clsname = ''
    loop_token = None
    arg_classes = ''     # <-- annotation hack
 

src/s/y/Sypy-HEAD/jit/backend/llgraph/runner.py   Sypy(Download)
class Descr(history.AbstractDescr):
 
    def __init__(self, ofs, typeinfo, extrainfo=None, name=None,
                 arg_types=None, count_fields_if_immut=-1, ffi_flags=0, width=-1):
 
class OODescr(history.AbstractDescr):
 
    @classmethod
    def new(cls, *args):
        'NOT_RPYTHON'

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llvm/runner.py   plexnet(Download)
from pypy.rlib.objectmodel import we_are_translated, specialize
from pypy.rlib import runicode
from pypy.jit.metainterp.history import AbstractDescr, INT
from pypy.jit.metainterp.history import BoxInt, BoxPtr
from pypy.jit.backend.model import AbstractCPU
class SizeDescr(AbstractDescr):
    def __init__(self, size):
        self.size = size
 
class FieldDescr(AbstractDescr):
class ArrayDescr(AbstractDescr):
    def __init__(self, itemsize, itemsize_index):
        self.itemsize = itemsize
        self.itemsize_index = itemsize_index   # index in cpu.types_by_index
        self.ty_array_ptr = lltype.nullptr(llvm_rffi.LLVMTypeRef.TO)
        # ^^^ set by setup_once()
    def is_array_of_pointers(self):
        return self.itemsize_index == LLVMCPU.SIZE_GCPTR
 
class CallDescr(AbstractDescr):

src/s/y/Sypy-HEAD/jit/backend/llvm/runner.py   Sypy(Download)
from pypy.rlib.objectmodel import we_are_translated, specialize
from pypy.rlib import runicode
from pypy.jit.metainterp.history import AbstractDescr, INT
from pypy.jit.metainterp.history import BoxInt, BoxPtr
from pypy.jit.backend.model import AbstractCPU
class SizeDescr(AbstractDescr):
    def __init__(self, size):
        self.size = size
 
class FieldDescr(AbstractDescr):
class ArrayDescr(AbstractDescr):
    def __init__(self, itemsize, itemsize_index):
        self.itemsize = itemsize
        self.itemsize_index = itemsize_index   # index in cpu.types_by_index
        self.ty_array_ptr = lltype.nullptr(llvm_rffi.LLVMTypeRef.TO)
        # ^^^ set by setup_once()
    def is_array_of_pointers(self):
        return self.itemsize_index == LLVMCPU.SIZE_GCPTR
 
class CallDescr(AbstractDescr):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llgraph/runner.py   plexnet(Download)
class Descr(history.AbstractDescr):
    name = None
    ofs = -1
    typeinfo = '?'
 
class OODescr(history.AbstractDescr):
 
    @classmethod
    def new(cls, *args):
        'NOT_RPYTHON'

src/s/y/Sypy-HEAD/jit/backend/llsupport/descr.py   Sypy(Download)
import py
from pypy.rpython.lltypesystem import lltype, rffi, llmemory
from pypy.rpython.lltypesystem.lloperation import llop
from pypy.jit.backend.llsupport import symbolic, support
from pypy.jit.metainterp.history import AbstractDescr, getkind
class SizeDescr(AbstractDescr):
    size = 0      # help translation
    tid = llop.combine_ushort(lltype.Signed, 0, 0)
 
    def __init__(self, size, count_fields_if_immut=-1):
class FieldDescr(AbstractDescr):
    name = ''
    offset = 0      # help translation
    field_size = 0
    flag = '\x00'
class ArrayDescr(AbstractDescr):
    tid = 0
    basesize = 0       # workaround for the annotator
    itemsize = 0
    lendescr = None
class InteriorFieldDescr(AbstractDescr):
    arraydescr = ArrayDescr(0, 0, None, '\x00')  # workaround for the annotator
    fielddescr = FieldDescr('', 0, 0, '\x00')
 
    def __init__(self, arraydescr, fielddescr):

  1 | 2 | 3 | 4  Next