reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Support/AllocatorTest.cpp
   65   (void)Alloc.Allocate(5000, 1);
   66   Alloc.Reset();
   68   EXPECT_EQ(0u, Alloc.GetNumSlabs());
   70   Alloc.Allocate(3000, 1);
   71   EXPECT_EQ(1U, Alloc.GetNumSlabs());
   72   Alloc.Allocate(3000, 1);
   73   EXPECT_EQ(2U, Alloc.GetNumSlabs());
   74   Alloc.Reset();
   75   EXPECT_EQ(1U, Alloc.GetNumSlabs());
   76   Alloc.Allocate(3000, 1);
   77   EXPECT_EQ(1U, Alloc.GetNumSlabs());
   78   Alloc.Allocate(3000, 1);
   79   EXPECT_EQ(2U, Alloc.GetNumSlabs());