Lines Matching refs:checked_in
91 std::atomic_int checked_in{0}; in TEST_F() local
95 Pool.async([this, &checked_in] { in TEST_F()
97 ++checked_in; in TEST_F()
100 ASSERT_EQ(0, checked_in); in TEST_F()
103 ASSERT_EQ(5, checked_in); in TEST_F()
106 static void TestFunc(std::atomic_int &checked_in, int i) { checked_in += i; } in TestFunc() argument
111 std::atomic_int checked_in{0}; in TEST_F() local
115 Pool.async(TestFunc, std::ref(checked_in), i); in TEST_F()
118 ASSERT_EQ(10, checked_in); in TEST_F()
155 std::atomic_int checked_in{0}; in TEST_F() local
159 Pool.async([this, &checked_in] { in TEST_F()
161 ++checked_in; in TEST_F()
164 ASSERT_EQ(0, checked_in); in TEST_F()
167 ASSERT_EQ(5, checked_in); in TEST_F()