Did I find the right examples for you? yes no

All Samples(327)  |  Call(237)  |  Derive(0)  |  Import(90)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/interpreter/astcompiler/ast.py   plexnet(Download)
from pypy.interpreter.argument import Arguments
from pypy.interpreter.error import OperationError
from pypy.rlib.unroll import unrolling_iterable
from pypy.tool.pairtype import extendabletype
from pypy.tool.sourcetools import func_with_new_name
    w_self.initialization_state |= 1
 
_Module_field_unroller = unrolling_iterable(['body'])
def Module_init(space, w_self, args):
    w_self = space.descr_self_interp_w(Module, w_self)
    w_self.initialization_state |= 1
 
_Interactive_field_unroller = unrolling_iterable(['body'])
def Interactive_init(space, w_self, args):
    w_self = space.descr_self_interp_w(Interactive, w_self)
    w_self.initialization_state |= 1
 
_Expression_field_unroller = unrolling_iterable(['body'])
def Expression_init(space, w_self, args):
    w_self = space.descr_self_interp_w(Expression, w_self)
    w_self.initialization_state |= 1
 
_Suite_field_unroller = unrolling_iterable(['body'])
def Suite_init(space, w_self, args):
    w_self = space.descr_self_interp_w(Suite, w_self)

src/s/y/Sypy-HEAD/interpreter/astcompiler/ast.py   Sypy(Download)
from pypy.interpreter.gateway import interp2app
from pypy.interpreter.error import OperationError, operationerrfmt
from pypy.rlib.unroll import unrolling_iterable
from pypy.tool.pairtype import extendabletype
from pypy.tool.sourcetools import func_with_new_name
    w_self.initialization_state |= 1
 
_Module_field_unroller = unrolling_iterable(['body'])
def Module_init(space, w_self, __args__):
    w_self = space.descr_self_interp_w(Module, w_self)
    w_self.initialization_state |= 1
 
_Interactive_field_unroller = unrolling_iterable(['body'])
def Interactive_init(space, w_self, __args__):
    w_self = space.descr_self_interp_w(Interactive, w_self)
    w_self.initialization_state |= 1
 
_Expression_field_unroller = unrolling_iterable(['body'])
def Expression_init(space, w_self, __args__):
    w_self = space.descr_self_interp_w(Expression, w_self)
    w_self.initialization_state |= 1
 
_Suite_field_unroller = unrolling_iterable(['body'])
def Suite_init(space, w_self, __args__):
    w_self = space.descr_self_interp_w(Suite, w_self)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/warmstate.py   plexnet(Download)
from pypy.rlib.rarithmetic import intmask
from pypy.rlib.nonconst import NonConstant
from pypy.rlib.unroll import unrolling_iterable
from pypy.rlib.jit import PARAMETERS, OPTIMIZER_SIMPLE, OPTIMIZER_FULL
from pypy.rlib.jit import DEBUG_PROFILE
        #
        warmrunnerdesc = self.warmrunnerdesc
        green_args_spec = unrolling_iterable(warmrunnerdesc.green_args_spec)
        #
        def unwrap_greenkey(greenkey):
    def _make_jitcell_getter_default(self, JitCell):
        "NOT_RPYTHON"
        warmrunnerdesc = self.warmrunnerdesc
        green_args_spec = unrolling_iterable(warmrunnerdesc.green_args_spec)
        #
        cpu = warmrunnerdesc.cpu
        vinfo = warmrunnerdesc.metainterp_sd.virtualizable_info
        red_args_types = unrolling_iterable(warmrunnerdesc.red_args_types)
        #
        def set_future_values(*redargs):
            num_green_args = warmrunnerdesc.num_green_args
            vable_static_fields = unrolling_iterable(
                zip(vinfo.static_extra_types, vinfo.static_fields))
            vable_array_fields = unrolling_iterable(
                zip(vinfo.arrayitem_extra_types, vinfo.array_fields))

src/s/y/Sypy-HEAD/jit/metainterp/virtualizable.py   Sypy(Download)
from pypy.rpython import rvirtualizable2
from pypy.rlib.objectmodel import we_are_translated
from pypy.rlib.unroll import unrolling_iterable
from pypy.rlib.nonconst import NonConstant
from pypy.jit.metainterp.typesystem import deref, fieldType, arrayItem
            assert False, "invalid arrayindex"
        #
        unroll_static_fields = unrolling_iterable(zip(FIELDTYPES,
                                                      static_fields))
        unroll_array_fields = unrolling_iterable(zip(ARRAYITEMTYPES,
                                                     array_fields))
        unroll_static_fields_rev = unrolling_iterable(
                                          reversed(list(unroll_static_fields)))
        unroll_array_fields_rev  = unrolling_iterable(
                                          reversed(list(unroll_array_fields)))

src/s/y/Sypy-HEAD/rlib/clibffi.py   Sypy(Download)
from pypy.rpython.tool import rffi_platform
from pypy.rpython.lltypesystem import lltype, rffi
from pypy.rlib.unroll import unrolling_iterable
from pypy.rlib.rarithmetic import intmask, r_uint, is_emulated_long
from pypy.rlib.objectmodel import we_are_translated
TYPE_MAP = dict(__type_map)
 
ffitype_map_int = unrolling_iterable(__int_type_map)
ffitype_map_int_or_ptr = unrolling_iterable(__int_type_map + __ptr_type_map)
ffitype_map_float = unrolling_iterable(__float_type_map)
ffitype_map = unrolling_iterable(__type_map)

src/s/y/Sypy-HEAD/jit/tl/spli/interpreter.py   Sypy(Download)
import os
from pypy.tool import stdlib_opcode
from pypy.jit.tl.spli import objects, pycode
from pypy.rlib.unroll import unrolling_iterable
from pypy.rlib.jit import JitDriver, promote, dont_look_inside
from pypy.rlib.objectmodel import we_are_translated
 
opcode_method_names = stdlib_opcode.host_bytecode_spec.method_names
unrolling_opcode_descs = unrolling_iterable(
    stdlib_opcode.host_bytecode_spec.ordered_opdescs)
]
unrolling_compare_dispatch_table = unrolling_iterable(
    enumerate(compare_ops))
 
jitdriver = JitDriver(greens = ['instr_index', 'code'],
    if getattr(SPLIFrame, item.methodname, None) is not None:
        items.append(item)
unrolling_opcode_descs = unrolling_iterable(items)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/tl/spli/interpreter.py   plexnet(Download)
from pypy.tool.stdlib_opcode import unrolling_opcode_descs
from pypy.tool.stdlib_opcode import opcode_method_names
from pypy.rlib.unroll import unrolling_iterable
from pypy.rlib.jit import JitDriver, hint, dont_look_inside
from pypy.rlib.objectmodel import we_are_translated
]
unrolling_compare_dispatch_table = unrolling_iterable(
    enumerate(compare_ops))
 
jitdriver = JitDriver(greens = ['code', 'instr_index'],
    if getattr(SPLIFrame, item.methodname, None) is not None:
        items.append(item)
unrolling_opcode_descs = unrolling_iterable(items)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/module/posix/interp_posix.py   plexnet(Download)
from pypy.interpreter.gateway import ObjSpace, W_Root, NoneNotWrapped
from pypy.rlib import rposix
from pypy.rlib.rarithmetic import r_longlong
from pypy.rlib.unroll import unrolling_iterable
from pypy.interpreter.error import OperationError, wrap_oserror
# For LL backends, expose all fields.
# For OO backends, only the portable fields (the first 10).
STAT_FIELDS = unrolling_iterable(enumerate(ll_os_stat.STAT_FIELDS))
PORTABLE_STAT_FIELDS = unrolling_iterable(
                                 enumerate(ll_os_stat.PORTABLE_STAT_FIELDS))

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/virtualizable.py   plexnet(Download)
from pypy.rpython import rvirtualizable2
from pypy.rlib.objectmodel import we_are_translated
from pypy.rlib.unroll import unrolling_iterable
from pypy.jit.metainterp.typesystem import deref, fieldType, arrayItem
from pypy.jit.metainterp import history
            assert False, "invalid arrayindex"
        #
        unroll_static_fields = unrolling_iterable(zip(FIELDTYPES,
                                                      static_fields))
        unroll_array_fields = unrolling_iterable(zip(ARRAYITEMTYPES,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/interpreter/astcompiler/optimize.py   plexnet(Download)
from pypy.tool import stdlib_opcode as ops
from pypy.interpreter.error import OperationError
from pypy.rlib.unroll import unrolling_iterable
 
 
    ast.BitAnd : _binary_fold("and_")
}
unrolling_binary_folders = unrolling_iterable(binary_folders.items())
 
unary_folders = {
    ast.Invert : _unary_fold("invert")
}
unrolling_unary_folders = unrolling_iterable(unary_folders.items())
 
for folder in itertools.chain(binary_folders.itervalues(),

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next