Lines Matching refs:prefill
679 void TestPushPop(typename CQ::size_type prefill, std::ptrdiff_t capacity, std::size_t nthread ) { in TestPushPop() argument
682 std::ptrdiff_t signed_prefill = std::ptrdiff_t(prefill); in TestPushPop()
699 for (typename CQ::size_type i = 0; i < prefill; ++i) { in TestPushPop()
715 int expected = int( nthread * ((M - 1) * M / 2) + ((prefill - 1) * prefill) / 2); in TestPushPop()
716 for (int i = int(prefill); --i>=0;) { in TestPushPop()
731 if (nthread> 1 && prefill == 0) { in TestPushPop()
756 for (std::size_t prefill=0; prefill < 64; prefill += (1 + prefill / 3)) { in TestConcurrentPushPop() local
757 …p<ConcQPushPopWrapper<move_support_tests::Foo>, move_support_tests::Foo>(prefill, std::ptrdiff_t(-… in TestConcurrentPushPop()
758 …p<ConcQPushPopWrapper<move_support_tests::Foo>, move_support_tests::Foo>(prefill, std::ptrdiff_t(1… in TestConcurrentPushPop()
759 …p<ConcQPushPopWrapper<move_support_tests::Foo>, move_support_tests::Foo>(prefill, std::ptrdiff_t(2… in TestConcurrentPushPop()
760 …p<ConcQPushPopWrapper<move_support_tests::Foo>, move_support_tests::Foo>(prefill, std::ptrdiff_t(1… in TestConcurrentPushPop()
761 …p<ConcQPushPopWrapper<move_support_tests::Foo>, move_support_tests::Foo>(prefill, std::ptrdiff_t(1… in TestConcurrentPushPop()
763 for (std::size_t prefill = 0; prefill < 64; prefill += (1 + prefill / 3) ) { in TestConcurrentPushPop() local
765 move_support_tests::Foo>(prefill, std::ptrdiff_t(-1), nthread); in TestConcurrentPushPop()
767 move_support_tests::Foo>(prefill, std::ptrdiff_t(1), nthread); in TestConcurrentPushPop()
769 move_support_tests::Foo>(prefill, std::ptrdiff_t(2), nthread); in TestConcurrentPushPop()
771 move_support_tests::Foo>(prefill, std::ptrdiff_t(10), nthread); in TestConcurrentPushPop()
773 move_support_tests::Foo>(prefill, std::ptrdiff_t(100), nthread); in TestConcurrentPushPop()
962 std::ptrdiff_t prefill; member in SimplePopBody
965 : q(_q), max(hi_thr), prefill(nitems) {} in SimplePopBody()
970 while (q->size()> prefill - max) { in operator ()()