MCPcopy 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
74static 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
78static void rte_free(void* ptr) {
79 if (!!ptr) {

Callers 1

init_buffersFunction · 0.85

Calls 2

aligned_allocFunction · 0.85
round_upFunction · 0.85

Tested by

no test coverage detected