Bug 1927795: apply code formatting via Lando

# ignore-this-changeset
This commit is contained in:
Otto Länd 2024-11-05 12:04:56 +00:00
parent 1c6762edd3
commit 20ff74f64e
2 changed files with 5 additions and 5 deletions

View File

@ -160,9 +160,9 @@ std::pair<Arena*, Arena*> ArenaList::pickArenasToRelocate(
// Count non-full and full arenas and total used cells, and find the last
// non-full arena.
size_t fullArenaCount = 0; // Number of full arenas (not relocated).
size_t nonFullArenaCount = 0; // Number of non-full arenas to consider.
size_t totalUsedCells = 0; // Total used cells in non-full arenas.
size_t fullArenaCount = 0; // Number of full arenas (not relocated).
size_t nonFullArenaCount = 0; // Number of non-full arenas to consider.
size_t totalUsedCells = 0; // Total used cells in non-full arenas.
Arena* lastNonFullArena = nullptr;
Iterator arena = iter();
@ -185,7 +185,7 @@ std::pair<Arena*, Arena*> ArenaList::pickArenasToRelocate(
size_t followingUsedCells =
totalUsedCells; // Total used cells in non full arenas afterwards.
size_t relocCount = nonFullArenaCount; // Number of arenas to relocate.
Arena* prev = nullptr; // The previous arena considered.
Arena* prev = nullptr; // The previous arena considered.
const size_t cellsPerArena = Arena::thingsPerArena(kind);

View File

@ -136,7 +136,7 @@ BEGIN_TEST(testSinglyLinkedList) {
CHECK(list3.isEmpty());
list.prepend(std::move(list2));
CHECK((CheckList<7, 8, 9, 1, 2, 3, 4, 5, 6>(list)));
CHECK((CheckList<7, 8, 9, 1, 2, 3, 4, 5, 6>(list)));
CHECK(list2.isEmpty());
// Test iterators.