Searched refs:kMaxPageSize (Results 1 – 5 of 5) sorted by relevance
30 constexpr size_t kMaxPageSize = 65536; // arm64 supports 4k, 16k and 64k pages variable55 MemoryHeapBaseAllocator().allocate(BasicAllocRequest{kMaxPageSize});57 MemoryHeapBaseAllocator().allocate(BasicAllocRequest{kMaxPageSize});72 SizePolicy<kMaxPageSize>>> == true);75 SizePolicy<kMaxPageSize>>> == true);77 SnoopingAllocator<MemoryHeapBaseAllocator>, SizePolicy<kMaxPageSize>>> ==169 SizePolicy<kMaxPageSize * 7, kMaxPageSize * 2, kMaxPageSize * 4>{}}; in TEST()171 EXPECT_TRUE(allocator.allocate(BasicAllocRequest{kMaxPageSize * 5}) == nullptr); in TEST()173 EXPECT_TRUE(allocator.allocate(BasicAllocRequest{kMaxPageSize}) == nullptr); in TEST()174 const auto first_memory = allocator.allocate(BasicAllocRequest{kMaxPageSize * 4}); in TEST()[all …]
76 static constexpr size_t kMaxPageSize = 131072; // 128kb variable138 if (mCurrentPage && mPageSize < kMaxPageSize) { in ensureNext()139 mPageSize = min(kMaxPageSize, mPageSize * 2); in ensureNext()
50 inline constexpr size_t kMaxPageSize = 0x10000; // 64KB variable
35 static_assert(kBlockSize % kMaxPageSize == 0);
30 static constexpr size_t kBlockSize = kMaxPageSize;