MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / roundUpToAwaitAllocatorPageSize

Function roundUpToAwaitAllocatorPageSize

Libraries/Await/Await.cpp:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static size_t roundUpToAwaitAllocatorPageSize(size_t size)
66{
67 const size_t pageSize = awaitAllocatorPageSize();
68 return (size + pageSize - 1) / pageSize * pageSize;
69}
70
71struct AwaitAllocationHeader
72{

Callers 2

createVirtualMethod · 0.85
ensureCommittedMethod · 0.85

Calls 1

awaitAllocatorPageSizeFunction · 0.85

Tested by

no test coverage detected