Did I find the right examples for you? yes no

All Samples(105)  |  Call(97)  |  Derive(0)  |  Import(8)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/cli/runner.py   plexnet(Download)
        def create():
            if isinstance(TYPE, ootype.OOType):
                return boxresult(TYPE, ootype.new(TYPE))
            return None
        def create_array(lengthbox):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llgraph/llimpl.py   plexnet(Download)
    def op_new_with_vtable(self, descr, vtable):
        assert descr is None
        typedescr = get_class_size(self.memocast, vtable)
        return ootype.cast_to_object(ootype.new(typedescr.TYPE))
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/ootypesystem/ll_str.py   plexnet(Download)
import sys
from pypy.rpython.ootypesystem.ootype import new, oostring, StringBuilder
from pypy.rpython.ootypesystem.ootype import make_string
 
def ll_int_str(repr, i):
def ll_int2hex(i, addPrefix):
    if not addPrefix:
        return oostring(i, 16)
 
    buf = new(StringBuilder)
def ll_int2oct(i, addPrefix):
    if not addPrefix or i==0:
        return oostring(i, 8)
 
    buf = new(StringBuilder)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/llinterp.py   plexnet(Download)
    def op_new(self, INST):
        assert isinstance(INST, (ootype.Instance, ootype.BuiltinType))
        return ootype.new(INST)
 
    def op_oonewarray(self, ARRAY, length):

src/s/y/Sypy-HEAD/jit/backend/cli/runner.py   Sypy(Download)
        def create():
            if isinstance(TYPE, ootype.OOType):
                return boxresult(TYPE, ootype.new(TYPE))
            return None
        def create_array(lengthbox):

src/s/y/Sypy-HEAD/jit/backend/llgraph/llimpl.py   Sypy(Download)
    def op_new_with_vtable(self, descr, vtable):
        assert descr is None
        typedescr = get_class_size(self.memocast, vtable)
        return ootype.cast_to_object(ootype.new(typedescr.TYPE))
 

src/s/y/Sypy-HEAD/rpython/ootypesystem/ll_str.py   Sypy(Download)
import sys
from pypy.rpython.ootypesystem.ootype import new, oostring, StringBuilder
from pypy.rpython.ootypesystem.ootype import make_string
 
def ll_int_str(repr, i):
def ll_int2hex(i, addPrefix):
    if not addPrefix:
        return oostring(i, 16)
 
    buf = new(StringBuilder)
def ll_int2oct(i, addPrefix):
    if not addPrefix or i==0:
        return oostring(i, 8)
 
    buf = new(StringBuilder)

src/s/y/Sypy-HEAD/rpython/llinterp.py   Sypy(Download)
    def op_new(self, INST):
        assert isinstance(INST, (ootype.Instance, ootype.BuiltinType))
        return ootype.new(INST)
 
    def op_oonewarray(self, ARRAY, length):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/exceptiontransform.py   plexnet(Download)
        self.EXCDATA = EXCDATA
 
        exc_data = ootype.new(EXCDATA)
        null_type = ootype.null(self.lltype_of_exception_type)
        null_value = ootype.null(self.lltype_of_exception_value)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llgraph/runner.py   plexnet(Download)
        def create():
            return boxresult(TYPE, ootype.new(TYPE))
 
        def create_array(lengthbox):
            n = lengthbox.getint()

  1 | 2 | 3 | 4 | 5 | 6  Next