Did I find the right examples for you? yes no

All Samples(86)  |  Call(53)  |  Derive(0)  |  Import(33)

src/s/y/Sypy-HEAD/objspace/std/dictmultiobject.py   Sypy(Download)
from pypy.interpreter.error import OperationError, operationerrfmt
 
from pypy.rlib.objectmodel import r_dict, we_are_translated, specialize
from pypy.rlib.debug import mark_dict_non_null
 
    def get_empty_storage(self):
       new_dict = r_dict(self.space.eq_w, self.space.hash_w,
                         force_non_null=True)
       return self.erase(new_dict)
 

src/s/y/Sypy-HEAD/objspace/std/setobject.py   Sypy(Download)
from pypy.objspace.std.model import registerimplementation, W_Object
from pypy.objspace.std.register_all import register_all
from pypy.rlib.objectmodel import r_dict
from pypy.rlib.rarithmetic import intmask, r_uint
from pypy.interpreter.error import OperationError
def newset(space):
    return r_dict(space.eq_w, space.hash_w, force_non_null=True)
 
def set_strategy_and_setdata(space, w_set, w_iterable):
    from pypy.objspace.std.intobject import W_IntObject

src/s/y/Sypy-HEAD/jit/metainterp/optimizeopt/util.py   Sypy(Download)
import py
from pypy.rlib.objectmodel import r_dict, compute_identity_hash
from pypy.rlib.rarithmetic import intmask
from pypy.rlib.unroll import unrolling_iterable
from pypy.jit.metainterp import resoperation, history
def descrlist_dict():
    return r_dict(descrlist_eq, descrlist_hash)
 
# ____________________________________________________________
 
def args_dict():
    return r_dict(args_eq, args_hash)
 
def args_dict_box():
    return r_dict(args_eq, args_hash)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/microbench/rdict.py   plexnet(Download)
from pypy.rlib.objectmodel import r_dict
from pypy.rpython.microbench.microbench import MetaBench
 
class Obj:
    def __init__(self, x):
    def init():
        return r_dict(mycmp, myhash)
    args = ['obj', 'i']
    def loop(obj, i):
        obj[obj1] = i
    def init():
        res = r_dict(mycmp, myhash)
        res[obj1] = 42
        res[obj2] = 43
        return res
    def init():
        return r_dict(space.mycmp, space.myhash)
    args = ['obj', 'i']
    def loop(obj, i):
        obj[obj1] = i
    def init():
        res = r_dict(space.mycmp, space.myhash)
        res[obj1] = 42
        res[obj2] = 43
        return res

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/history.py   plexnet(Download)
 
from pypy.rpython.extregistry import ExtRegistryEntry
from pypy.rpython.lltypesystem import lltype, llmemory, rffi
from pypy.rpython.ootypesystem import ootype
from pypy.rlib.objectmodel import we_are_translated, r_dict, Symbolic
def dict_equal_consts():
    "NOT_RPYTHON"
    # Returns a dict in which Consts that compare as equal
    # are identified when used as keys.
    return r_dict(dc_eq, dc_hash)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/optimizeutil.py   plexnet(Download)
from pypy.rlib.objectmodel import r_dict
from pypy.rlib.unroll import unrolling_iterable
from pypy.jit.metainterp import resoperation
 
class InvalidLoop(Exception):
def av_newdict():
    return r_dict(av_eq, av_hash)
 
def av_newdict2():
    # another implementation of av_newdict(), allowing different types for
    # the values...
    return r_dict(av_eq, av_hash)

src/s/y/Sypy-HEAD/rpython/microbench/rdict.py   Sypy(Download)
from pypy.rlib.objectmodel import r_dict
from pypy.rpython.microbench.microbench import MetaBench
 
class Obj:
    def __init__(self, x):
    def init():
        return r_dict(mycmp, myhash)
    args = ['obj', 'i']
    def loop(obj, i):
        obj[obj1] = i
    def init():
        res = r_dict(mycmp, myhash)
        res[obj1] = 42
        res[obj2] = 43
        return res
    def init():
        return r_dict(space.mycmp, space.myhash)
    args = ['obj', 'i']
    def loop(obj, i):
        obj[obj1] = i
    def init():
        res = r_dict(space.mycmp, space.myhash)
        res[obj1] = 42
        res[obj2] = 43
        return res

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/warmstate.py   plexnet(Download)
from pypy.rpython.annlowlevel import hlstr, cast_base_ptr_to_instance
from pypy.rpython.annlowlevel import cast_object_to_ptr
from pypy.rlib.objectmodel import specialize, we_are_translated, r_dict
from pypy.rlib.rarithmetic import intmask
from pypy.rlib.nonconst import NonConstant
            return x
        #
        jitcell_dict = r_dict(comparekey, hashkey)
        #
        def get_jitcell(*greenargs):

src/s/y/Sypy-HEAD/jit/metainterp/typesystem.py   Sypy(Download)
from pypy.jit.metainterp import history
from pypy.jit.codewriter import heaptracker
from pypy.rlib.objectmodel import r_dict, specialize
 
def deref(T):
    def new_ref_dict(self):
        return r_dict(rd_eq, rd_hash)
    def new_ref_dict_2(self):
        return r_dict(rd_eq, rd_hash)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/typesystem.py   plexnet(Download)
from pypy.rpython.annlowlevel import cast_instance_to_base_obj
from pypy.jit.metainterp import history
from pypy.rlib.objectmodel import r_dict
 
def deref(T):
    def new_ref_dict(self):
        return r_dict(rd_eq, rd_hash)
    def new_ref_dict_2(self):
        return r_dict(rd_eq, rd_hash)
 

  1 | 2 | 3 | 4  Next