Searched refs:block_store (Results 1 – 2 of 2) sorted by relevance
25 auto end = block_store.end(); in populate_and_iterate()42 &block_store); in populate_and_iterate()47 BlockStore<int, 4, REVERSE> block_store; in back_test() local49 block_store.push_back(i); in back_test()51 ASSERT_EQ(block_store.back(), i); in back_test()52 block_store.destroy(&block_store); in back_test()57 BlockStore<int, 2, REVERSE> block_store; in empty_test() local59 ASSERT_TRUE(block_store.empty()); in empty_test()60 block_store.push_back(1); in empty_test()62 ASSERT_FALSE(block_store.empty()); in empty_test()[all …]
113 static void destroy(BlockStore<T, BLOCK_SIZE, REVERSE_ORDER> *block_store);179 BlockStore<T, BLOCK_SIZE, REVERSE_ORDER> *block_store) { in destroy() argument181 auto current = block_store->current; in destroy()188 auto current = block_store->first.next; in destroy()195 block_store->current = nullptr; in destroy()196 block_store->fill_count = 0; in destroy()