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

References

unittests/Support/AllocatorTest.cpp
   19   int *a = (int*)Alloc.Allocate(sizeof(int), alignof(int));
   20   int *b = (int*)Alloc.Allocate(sizeof(int) * 10, alignof(int));
   21   int *c = (int*)Alloc.Allocate(sizeof(int), alignof(int));
   30   EXPECT_EQ(1U, Alloc.GetNumSlabs());
   32   BumpPtrAllocator Alloc2 = std::move(Alloc);
   33   EXPECT_EQ(0U, Alloc.GetNumSlabs());
   43   Alloc = std::move(Alloc2);
   45   EXPECT_EQ(1U, Alloc.GetNumSlabs());