Did I find the right examples for you? yes no

All Samples(75)  |  Call(36)  |  Derive(0)  |  Import(39)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/warmstate.py   plexnet(Download)
            value = lltype.cast_opaque_ptr(llmemory.GCREF, value)
            if in_const_box:
                return history.ConstPtr(value)
            else:
                return history.BoxPtr(value)

src/s/y/Sypy-HEAD/jit/metainterp/warmstate.py   Sypy(Download)
            value = lltype.cast_opaque_ptr(llmemory.GCREF, value)
            if in_const_box:
                return history.ConstPtr(value)
            else:
                return history.BoxPtr(value)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/typesystem.py   plexnet(Download)
    ConstAddr = history.ConstAddr
    loops_done_with_this_frame_ref = None # patched by compile.py
    CONST_NULL = history.ConstPtr(history.ConstPtr.value)
    CVAL_NULLREF = None # patched by optimizeopt.py
 
    def new_ConstRef(self, x):
        ptrval = lltype.cast_opaque_ptr(llmemory.GCREF, x)
        return history.ConstPtr(ptrval)
 
    def get_typeptr(self, obj):
    def conststr(self, str):
        ll = llstr(str)
        return history.ConstPtr(lltype.cast_opaque_ptr(llmemory.GCREF, ll))
 
    # A dict whose keys are refs (like the .value of BoxPtr).

src/s/y/Sypy-HEAD/jit/metainterp/typesystem.py   Sypy(Download)
    loops_done_with_this_frame_ref = None # patched by compile.py
    NULLREF = history.ConstPtr.value
    CONST_NULL = history.ConstPtr(NULLREF)
    CVAL_NULLREF = None # patched by optimizeopt.py
 
    def new_ConstRef(self, x):
        ptrval = lltype.cast_opaque_ptr(llmemory.GCREF, x)
        return history.ConstPtr(ptrval)
    def conststr(self, str):
        ll = llstr(str)
        return history.ConstPtr(lltype.cast_opaque_ptr(llmemory.GCREF, ll))
 
    # A dict whose keys are refs (like the .value of BoxPtr).

src/s/y/Sypy-HEAD/jit/backend/x86/regalloc.py   Sypy(Download)
 
import os
from pypy.jit.metainterp.history import (Box, Const, ConstInt, ConstPtr,
                                         ResOperation, BoxPtr, ConstFloat,
                                         BoxFloat, INT, REF, FLOAT,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/regalloc.py   plexnet(Download)
 
""" Register allocation scheme.
"""
 
from pypy.jit.metainterp.history import (Box, Const, ConstInt, ConstPtr,

src/s/y/Sypy-HEAD/jit/tool/oparser_model.py   Sypy(Download)
    class LoopModel(object):
        from pypy.jit.metainterp.history import TreeLoop, JitCellToken
        from pypy.jit.metainterp.history import Box, BoxInt, BoxFloat
        from pypy.jit.metainterp.history import ConstInt, ConstObj, ConstPtr, ConstFloat
        from pypy.jit.metainterp.history import BasicFailDescr, TargetToken

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llgraph/llimpl.py   plexnet(Download)
from pypy.objspace.flow.model import Variable, Constant
from pypy.annotation import model as annmodel
from pypy.jit.metainterp.history import (ConstInt, ConstPtr, ConstAddr,
                                         BoxInt, BoxPtr, BoxObj, BoxFloat,
                                         REF, INT, FLOAT)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/optimizeopt.py   plexnet(Download)
from pypy.jit.metainterp.history import Box, BoxInt, LoopToken, BoxFloat,\
     ConstFloat
from pypy.jit.metainterp.history import Const, ConstInt, ConstPtr, ConstObj, REF
from pypy.jit.metainterp.resoperation import rop, ResOperation
from pypy.jit.metainterp.jitprof import OPT_OPS, OPT_GUARDS, OPT_FORCINGS

src/s/y/Sypy-HEAD/jit/metainterp/optimizeopt/vstring.py   Sypy(Download)
from pypy.jit.codewriter.effectinfo import EffectInfo
from pypy.jit.metainterp.history import (BoxInt, Const, ConstInt, ConstPtr,
    get_const_ptr_for_string, get_const_ptr_for_unicode, BoxPtr, REF, INT)
from pypy.jit.metainterp.optimizeopt import optimizer, virtualize
from pypy.jit.metainterp.optimizeopt.optimizer import CONST_0, CONST_1

  1 | 2 | 3 | 4 | 5  Next