Searched refs:GetMaxSize (Results 1 – 16 of 16) sorted by relevance
73 InfinitiveAllocate(FreeListAllocator<EmptyMemoryConfig>::GetMaxSize()); in TEST_F()75 InfinitiveAllocate(FreeListAllocator<EmptyMemoryConfig>::GetMaxSize() + 1); in TEST_F()122 mem = allocator_->Alloc(FreeListAllocator<EmptyMemoryConfig>::GetMaxSize()); in TEST_F()127 mem = allocator_->Alloc(FreeListAllocator<EmptyMemoryConfig>::GetMaxSize() + 1); in TEST_F()
83 size_t size = HybridObjectAllocator::LargeObjectAllocator::GetMaxSize() + 1; in TEST_F()92 size = HybridObjectAllocator::LargeObjectAllocator::GetMaxSize() + 1; in TEST_F()
582 for (uint32_t i = 8; i <= RegionNonmovableObjectAllocator::GetMaxSize(); i++) { in TEST_F()596 static constexpr size_t MAX_MT_ALLOC_SIZE = RegionNonmovableObjectAllocator::GetMaxSize(); in TEST_F()614 size_t start_object_size = RegionNonmovableObjectAllocator::GetMaxSize() + 1; in TEST_F()618 ASSERT_TRUE(allocator.Alloc(RegionNonmovableLargeObjectAllocator::GetMaxSize() - 1) != nullptr); in TEST_F()619 ASSERT_TRUE(allocator.Alloc(RegionNonmovableLargeObjectAllocator::GetMaxSize()) != nullptr); in TEST_F()630 static constexpr size_t MIN_MT_ALLOC_SIZE = RegionNonmovableObjectAllocator::GetMaxSize() + 1; in TEST_F()631 static constexpr size_t MAX_MT_ALLOC_SIZE = RegionNonmovableLargeObjectAllocator::GetMaxSize(); in TEST_F()
63 static constexpr size_t MAX_ALLOC_SIZE = NonObjectFreeListAllocator::GetMaxSize();
61 static constexpr size_t GetMaxSize() in GetMaxSize() function63 return RunSlotsAllocator<AllocConfigT>::GetMaxSize(); in GetMaxSize()68 … return state_ == STATE_PYGOTE_INIT && AlignUp(size, GetAlignmentInBytes(align)) <= GetMaxSize(); in CanAllocNonMovable()
77 if (aligned_size <= ObjectAllocator::GetMaxSize()) { in Allocate()80 } else if (aligned_size <= LargeObjectAllocator::GetMaxSize()) { in Allocate()233 if (aligned_size <= ObjectAllocator::GetMaxSize()) { in AllocateNonMovable()237 } else if (aligned_size <= LargeObjectAllocator::GetMaxSize()) { in AllocateNonMovable()255 if (aligned_size <= ObjectAllocator::GetMaxSize()) { in AllocateTenured()258 } else if (aligned_size <= LargeObjectAllocator::GetMaxSize()) { in AllocateTenured()386 return ObjectAllocator::GetMaxSize(); in GetRegularObjectMaxSize()392 return LargeObjectAllocator::GetMaxSize(); in GetLargeObjectMaxSize()450 return ObjectAllocator::GetMaxSize(); in GetRegularObjectMaxSize()456 return LargeObjectAllocator::GetMaxSize(); in GetLargeObjectMaxSize()
169 static_assert(RunSlotsAllocatorT::GetMaxSize() == LocalSmallObjectAllocator::GetMaxSize()); in AllocViaPandaAllocators()170 if (LIKELY(aligned_size <= RunSlotsAllocatorT::GetMaxSize())) { in AllocViaPandaAllocators()188 } else if (aligned_size <= FreeListAllocatorT::GetMaxSize()) { in AllocViaPandaAllocators()
354 constexpr static size_t GetMaxSize() in GetMaxSize() function356 return std::min(ObjectAllocator::GetMaxSize(), static_cast<size_t>(REGION_SIZE - 1_KB)); in GetMaxSize()
156 static constexpr size_t GetMaxSize() in GetMaxSize() function
129 static constexpr size_t GetMaxSize() in GetMaxSize() function
153 static constexpr size_t GetMaxSize() in GetMaxSize() function
138 static constexpr size_t GetMaxSize() in GetMaxSize() function
353 ASSERT(align_size <= ObjectAllocator::GetMaxSize()); in Alloc()
49 if (aligned_size <= LargeObjectAllocator::GetMaxSize()) { in AllocateInLargeAllocator()
206 size_t GetMaxSize() const in GetMaxSize() function
474 ASSERT(unused_bytes + freed_bytes <= common_space_.GetMaxSize()); in GetObjectSpaceFreeBytes()