Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/s/y/Sypy-HEAD/module/micronumpy/types.py   Sypy(Download)
from pypy.rlib import rfloat, libffi, clibffi
from pypy.rlib.objectmodel import specialize, we_are_translated
from pypy.rlib.rarithmetic import widen, byteswap
from pypy.rpython.lltypesystem import lltype, rffi
from pypy.rlib.rstruct.runpack import runpack
        else:
            res = libffi.array_getitem_T(self.T, width, storage, i, offset)
        return byteswap(res)
 
    def _write(self, storage, width, i, offset, value):
        value = byteswap(value)
    def pack_str(self, box):
        return struct.pack(self.format_code, byteswap(self.unbox(box)))
 
class Bool(BaseType, Primitive):
    _attrs_ = ()