MCPcopy Create free account
hub / github.com/apple/foundationdb / aligned_alloc

Function aligned_alloc

flow/include/flow/Platform.h:684–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682
683#if defined(_MSC_VER)
684inline static void* aligned_alloc(size_t alignment, size_t size) {
685 return _aligned_malloc(size, alignment);
686}
687inline static void aligned_free(void* ptr) {
688 _aligned_free(ptr);
689}

Callers 8

rte_mallocFunction · 0.85
allocateMethod · 0.85
FastAlloc.cppFile · 0.85
allocateFast4kAlignedFunction · 0.85
DequeMethod · 0.85
operator=Method · 0.85
growMethod · 0.85

Calls

no outgoing calls

Tested by 1

rte_mallocFunction · 0.68