Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)
684
inline static void* aligned_alloc(size_t alignment, size_t size) {
685
return _aligned_malloc(size, alignment);
686
}
687
inline static void aligned_free(void* ptr) {
688
_aligned_free(ptr);
689
}
Callers
8
rte_malloc
Function · 0.85
Future<Void> zeroRangeHelper
Function · 0.85
allocate
Method · 0.85
FastAlloc.cpp
File · 0.85
allocateFast4kAligned
Function · 0.85
Deque
Method · 0.85
operator=
Method · 0.85
grow
Method · 0.85
Calls
no outgoing calls
Tested by
1
rte_malloc
Function · 0.68