Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/foundationdb
/ rte_malloc
Function
rte_malloc
flow/test_memcpy_perf.cpp:74–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
static uint8_t* rte_malloc(char const* ignored, size_t sz, size_t align) {
75
return (uint8_t*)aligned_alloc(align, round_up(sz, align));
76
}
77
78
static void rte_free(void* ptr) {
79
if (!!ptr) {
Callers
1
init_buffers
Function · 0.85
Calls
2
aligned_alloc
Function · 0.85
round_up
Function · 0.85
Tested by
no test coverage detected