• Home
  • Raw
  • Download

Lines Matching refs:growth_limit

127 …ef MallocSpace* (*CreateSpaceFn)(const std::string& name, size_t initial_size, size_t growth_limit,
131 int round, size_t growth_limit);
144 size_t growth_limit) { in SizeFootPrintGrowthLimitAndTrimBody() argument
145 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) || in SizeFootPrintGrowthLimitAndTrimBody()
146 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) { in SizeFootPrintGrowthLimitAndTrimBody()
158 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
161 EXPECT_LE(space->Size(), growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
168 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1; in SizeFootPrintGrowthLimitAndTrimBody()
227 EXPECT_LE(amount_allocated, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
228 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
229 EXPECT_LE(space->Size(), growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
246 EXPECT_LE(amount_allocated, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
248 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
250 EXPECT_LE(space->Size(), growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
289 size_t three_quarters_space = (growth_limit / 2) + (growth_limit / 4); in SizeFootPrintGrowthLimitAndTrimBody()
303 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
305 EXPECT_LE(space->Size(), growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
312 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
314 EXPECT_LE(space->Size(), growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
325 size_t growth_limit = 8 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() local
327 MallocSpace* space(create_space("test", initial_size, growth_limit, capacity, nullptr)); in SizeFootPrintGrowthLimitAndTrimDriver()
331 EXPECT_EQ(space->Capacity(), growth_limit); in SizeFootPrintGrowthLimitAndTrimDriver()
340 SizeFootPrintGrowthLimitAndTrimBody(space, object_size, 2, growth_limit); in SizeFootPrintGrowthLimitAndTrimDriver()