Lines Matching refs:myQ
157 LockFreeQueue<int, kCapacity, uint8_t> myQ; in TEST_F() local
160 myQ.push(i); in TEST_F()
161 myQ.pop(result1); in TEST_F()
164 myQ.push(1); in TEST_F()
165 ASSERT_EQ(myQ.size(), 1); in TEST_F()
175 LockFreeQueue<int, kQueueCapacity> myQ; in TEST_F() local
184 std::thread writer([&myQ, &sourceData](){ in TEST_F()
186 myQ.push(sourceData[i]); in TEST_F()
190 std::thread reader([&myQ, &targetData](){ in TEST_F()
193 while (!myQ.pop(targetData[i])){ in TEST_F()
204 ASSERT_FALSE(myQ.pop(v)); in TEST_F()