reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
139 PageSize = getPlatformPageSize(); 150 PageSize * (1 + MaxSimultaneousAllocations) + 259 size_t GuardedPoolAllocator::maximumAllocationSize() const { return PageSize; } 268 return ByteOffsetFromPoolStart / (maximumAllocationSize() + PageSize); 272 return GuardedPagePool + (PageSize * (1 + N)) + (maximumAllocationSize() * N); 277 return Ptr & ~(static_cast<uintptr_t>(PageSize) - 1); 282 size_t PageOffsetFromPoolStart = (Ptr - GuardedPagePool) / PageSize; 283 size_t PagesPerSlot = maximumAllocationSize() / PageSize; 333 if (Ptr <= GuardedPagePool + PageSize) 335 if (Ptr > GuardedPagePoolEnd - PageSize) 341 if (Ptr % PageSize <= PageSize / 2) 341 if (Ptr % PageSize <= PageSize / 2) 342 return addrToSlot(Ptr - PageSize); // Round down. 343 return addrToSlot(Ptr + PageSize); // Round up.