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

Function request2size

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

pad request, checking for minimum (but not maximum)

Source from the content-addressed store, hash-verified

791
792// pad request, checking for minimum (but not maximum)
793static SPP_FORCEINLINE size_t request2size(size_t req)
794{
795 return req < MIN_REQUEST ? MIN_CHUNK_SIZE : pad_request(req);
796}
797
798
799/* ------------------ Operations on head and foot fields ----------------- */

Callers 4

internal_memalignMethod · 0.85
iallocMethod · 0.85
mspace_reallocFunction · 0.85
mspace_realloc_in_placeFunction · 0.85

Calls 1

pad_requestFunction · 0.85

Tested by

no test coverage detected