MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / aligned_alloc

Function aligned_alloc

tests/unit_test/virtual_memory_test.cpp:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63};
64
65extern "C" void* aligned_alloc(size_t alignment, size_t size) {
66 return MockAllocator::GetInstance().AlignedAlloc(alignment, size);
67}
68
69extern "C" void aligned_free(void* ptr) {
70 MockAllocator::GetInstance().Free(ptr);

Callers 3

TEST_FFunction · 0.70
virtual_memory_testFunction · 0.50
memory_testFunction · 0.50

Calls 1

AlignedAllocMethod · 0.80

Tested by

no test coverage detected