MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / align_as_chunk

Function align_as_chunk

libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:780–780  ·  view source on GitHub ↗

chunk associated with aligned address A

Source from the content-addressed store, hash-verified

778
779// chunk associated with aligned address A
780static SPP_FORCEINLINE mchunkptr align_as_chunk(char *A) { return (mchunkptr)(A + align_offset(chunk2mem(A))); }
781
782// Bounds on request (not chunk) sizes.
783static const unsigned MAX_REQUEST = (-MIN_CHUNK_SIZE) << 2;

Callers 5

traverse_and_checkMethod · 0.85
prepend_allocMethod · 0.85
internal_inspect_allMethod · 0.85
init_user_mstateFunction · 0.85

Calls 2

align_offsetFunction · 0.85
chunk2memFunction · 0.85

Tested by

no test coverage detected