Lines Matching refs:RingBuffer
54 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), 0u); in TEST_F()
59 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), 0u); in TEST_F()
81 auto it = m::RingBuffer::GetReadIterator(); in TEST_F()
95 auto it = m::RingBuffer::GetReadIterator(); in TEST_F()
114 auto* record = m::RingBuffer::AppendNewRecord(); in TEST_F()
121 auto it = m::RingBuffer::GetReadIterator(); in TEST_F()
143 for (size_t i = 0; i < m::RingBuffer::kCapacity; i++) in TEST_F()
145 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), m::RingBuffer::kCapacity); in TEST_F()
146 ASSERT_FALSE(m::RingBuffer::has_overruns()); in TEST_F()
151 ASSERT_TRUE(m::RingBuffer::has_overruns()); in TEST_F()
152 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), m::RingBuffer::kCapacity); in TEST_F()
154 for (auto it = m::RingBuffer::GetReadIterator(); it; ++it) in TEST_F()
157 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), 0u); in TEST_F()
169 constexpr int kMaxValue = m::RingBuffer::kCapacity * 3; in TEST_F()
174 for (auto it = m::RingBuffer::GetReadIterator(); it; ++it) { in TEST_F()
198 const int kCapacity = static_cast<int>(m::RingBuffer::kCapacity); in TEST_F()
216 EXPECT_FALSE(m::RingBuffer::has_overruns()); in TEST_F()
233 for (size_t i = 0; i < m::RingBuffer::kCapacity + 500; i++) in TEST_F()
246 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), m::RingBuffer::kCapacity); in TEST_F()
249 for (auto it = m::RingBuffer::GetReadIterator(); it; ++it) { in TEST_F()