Home
last modified time | relevance | path

Searched refs:queue3 (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dwork_queue_sets_unittest.cc127 WorkQueue* queue3 = NewTaskQueue("queue2"); in TEST_F() local
130 queue3->Push(FakeTaskWithEnqueueOrder(4)); in TEST_F()
134 work_queue_sets_->ChangeSetIndex(queue3, set); in TEST_F()
138 EXPECT_EQ(queue3, selected_work_queue); in TEST_F()
144 WorkQueue* queue3 = NewTaskQueue("queue3"); in TEST_F() local
148 queue3->Push(FakeTaskWithEnqueueOrder(4)); in TEST_F()
152 work_queue_sets_->ChangeSetIndex(queue3, set); in TEST_F()
168 WorkQueue* queue3 = NewTaskQueue("queue3"); in TEST_F() local
171 queue3->Push(FakeTaskWithEnqueueOrder(4)); in TEST_F()
175 work_queue_sets_->ChangeSetIndex(queue3, set); in TEST_F()
[all …]
Dsequence_manager_impl_unittest.cc1532 scoped_refptr<TaskQueue> queue3 = CreateTaskQueue(); in TEST_P() local
1535 ASSERT_NE(queue1, queue3); in TEST_P()
1536 ASSERT_NE(queue2, queue3); in TEST_P()
1541 queue3->PostTask(FROM_HERE, BindOnce(&TestTask, 3, &run_order)); in TEST_P()
1552 scoped_refptr<TaskQueue> queue3 = CreateTaskQueue(); in TEST_P() local
1555 ASSERT_NE(queue1, queue3); in TEST_P()
1556 ASSERT_NE(queue2, queue3); in TEST_P()
1561 queue3->PostTask(FROM_HERE, BindOnce(&TestTask, 3, &run_order)); in TEST_P()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dserial_device_batch_scheduler_test.cc123 std::unique_ptr<BatchScheduler<FakeTask>> queue3; in TEST() local
126 TF_ASSERT_OK(scheduler->AddQueue({}, queue_callback, &queue3)); in TEST()
130 TF_ASSERT_OK(ScheduleTask(100, queue3.get())); in TEST()
237 std::unique_ptr<BatchScheduler<FakeTask>> queue3; in TEST() local
243 TF_ASSERT_OK(scheduler->AddQueue(queue_options, queue_callback, &queue3)); in TEST()
251 TF_ASSERT_OK(ScheduleTask(80, queue3.get())); in TEST()