Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/y/Sypy-HEAD/module/_rawffi/structure.py   Sypy(Download)
from pypy.module._rawffi.interp_rawffi import unroll_letters_for_numbers
from pypy.rlib import clibffi
from pypy.rlib.rarithmetic import intmask, r_uint, signedtype, widen
 
def unpack_fields(space, w_fields):
                value >>= lowbit
                value &= BIT_MASK(numbits)
                if ll_t is lltype.Bool or signedtype(ll_t._type):
                    sign = (value >> (numbits - 1)) & 1
                    if sign: