Did I find the right examples for you? yes no

All Samples(46)  |  Call(44)  |  Derive(0)  |  Import(2)

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):
    return ll_int2dec(i)
 
def ll_int2dec(i):
    return oostring(i, 10)
def ll_int2hex(i, addPrefix):
    if not addPrefix:
        return oostring(i, 16)
 
    buf = new(StringBuilder)
    buf.ll_append_char('0')
    buf.ll_append_char('x')
    buf.ll_append(oostring(i, 16))
    return buf.ll_build()
 
def ll_int2oct(i, addPrefix):
    if not addPrefix or i==0:
        return oostring(i, 8)

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):
    return ll_int2dec(i)
 
def ll_int2dec(i):
    return oostring(i, 10)
def ll_int2hex(i, addPrefix):
    if not addPrefix:
        return oostring(i, 16)
 
    buf = new(StringBuilder)
    buf.ll_append_char('0')
    buf.ll_append_char('x')
    buf.ll_append(oostring(i, 16))
    return buf.ll_build()
 
def ll_int2oct(i, addPrefix):
    if not addPrefix or i==0:
        return oostring(i, 8)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/llinterp.py   plexnet(Download)
    def op_oostring(self, obj, base):
        return ootype.oostring(obj, base)
 
    def op_oounicode(self, obj, base):
        try:

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/support.py   plexnet(Download)
    def _ll_2_oostring_signed_foldable(n, base):
        return ootype.oostring(n, base)
 
    def _ll_1_oostring_char_foldable(ch):
        return ootype.oostring(ch, -1)
 
    def _ll_1_oostring_unsigned_foldable(n):
        return ootype.oostring(n, -1)
    def _ll_1_oostring_string_foldable(s):
        return ootype.oostring(s, -1)
 
    def _ll_1_oostring_root_foldable(s):
        return ootype.oostring(s, -1)

src/s/y/Sypy-HEAD/rpython/llinterp.py   Sypy(Download)
    def op_oostring(self, obj, base):
        return ootype.oostring(obj, base)
 
    def op_oounicode(self, obj, base):
        try:

src/s/y/Sypy-HEAD/jit/codewriter/support.py   Sypy(Download)
    def _ll_2_oostring_signed_foldable(n, base):
        return ootype.oostring(n, base)
 
    def _ll_1_oostring_char_foldable(ch):
        return ootype.oostring(ch, -1)
 
    def _ll_1_oostring_unsigned_foldable(n):
        return ootype.oostring(n, -1)
    def _ll_1_oostring_string_foldable(s):
        return ootype.oostring(s, -1)
 
    def _ll_1_oostring_root_foldable(s):
        return ootype.oostring(s, -1)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/module/support.py   plexnet(Download)
    def to_rstr(s):
        if s is None:
            return ootype.null(ootype.String)
        return ootype.oostring(s, -1)
    to_rstr = staticmethod(to_rstr)

src/s/y/Sypy-HEAD/rpython/module/support.py   Sypy(Download)
    def to_rstr(s):
        if s is None:
            return ootype.null(ootype.String)
        return ootype.oostring(s, -1)
    to_rstr = staticmethod(to_rstr)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/module/ll_strtod.py   plexnet(Download)
        def oofakeimpl(fmt, x):
            return ootype.oostring(rarithmetic.formatd(fmt._str, x), -1)
 
        return extdef([str, float], str, 'll_strtod.ll_strtod_formatd',
                      llimpl=llimpl, oofakeimpl=oofakeimpl,

src/s/y/Sypy-HEAD/rpython/module/ll_strtod.py   Sypy(Download)
        def oofakeimpl(x, code, precision, flags):
            return ootype.oostring(rfloat.formatd(x, code, precision, flags), -1)
 
        return extdef([float, lltype.Char, int, int],
                      SomeString(can_be_None=True),

  1 | 2  Next