(self, req)
return (req + self.size_sz + self.malloc_align_mask) & ~self.malloc_align_mask
Corresponds to request2size in glibc malloc.c
Corresponds to request2size in glibc malloc.c
Corresponds to request2size in glibc malloc . c
def _request2size(self, req):
        """Corresponds to request2size in glibc malloc.c"""
        if req + self.size_sz + self.malloc_align_mask < self.minsize:
            return self.minsize
        return (req + self.size_sz + self.malloc_align_mask) & ~self.malloc_align_mask
def _request2size ( self , req ) : if req + self . size_sz + self . malloc_align_mask < self . minsize : return self . minsize return ( req + self . size_sz + self . malloc_align_mask ) & ~ self . malloc_align_mask