MCPcopy Create free account
hub / github.com/RcppCore/RcppParallel / allocateAligned

Function allocateAligned

src/tbb/src/tbbmalloc/frontend.cpp:2369–2400  ·  view source on GitHub ↗

* All aligned allocations fall into one of the following categories: * 1. if both request size and alignment are <= maxSegregatedObjectSize, * we just align the size up, and request this amount, because for every size * aligned to some power of 2, the allocated object is at least that aligned. * 2. for size<minLargeObjectSize, check if already guaranteed fittingAlignment is enough

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

reallocAlignedFunction · 0.85
pool_aligned_mallocFunction · 0.85
pool_aligned_reallocFunction · 0.85
scalable_posix_memalignFunction · 0.85
scalable_aligned_mallocFunction · 0.85
scalable_aligned_reallocFunction · 0.85

Calls 8

isPowerOfTwoFunction · 0.85
isMallocInitializedFunction · 0.85
doInitializationFunction · 0.85
internalPoolMallocFunction · 0.85
alignUpFunction · 0.85
isAlignedFunction · 0.85
getTLSMethod · 0.80
getFromLLOCacheMethod · 0.80

Tested by

no test coverage detected