/third_party/boost/libs/spirit/classic/test/ |
D | grammar_mt_tests.cpp | 182 single_grammar_object_task task1, task2, task3, task4; in single_local_grammar_object_multiple_threads() local 185 boost::thread t2(callable_ref(task2)); in single_local_grammar_object_multiple_threads() 216 two_grammar_objects_task task1, task2, task3, task4; in multiple_local_grammar_objects_multiple_threads() local 219 boost::thread t2(callable_ref(task2)); in multiple_local_grammar_objects_multiple_threads() 248 single_global_grammar_object_task task1, task2, task3, task4; in single_global_grammar_object_multiple_threads() local 251 boost::thread t2(callable_ref(task2)); in single_global_grammar_object_multiple_threads() 282 multiple_global_grammar_objects_task task1, task2, task3, task4; in multiple_global_grammar_objects_multiple_threads() local 285 boost::thread t2(callable_ref(task2)); in multiple_global_grammar_objects_multiple_threads()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstmessage.c | 274 GstTask *task, *task2; in GST_START_TEST() local 314 task2 = g_value_get_object (val); in GST_START_TEST() 316 fail_unless (GST_IS_TASK (task2)); in GST_START_TEST() 317 fail_unless (task2 == task); in GST_START_TEST() 320 ASSERT_OBJECT_REFCOUNT (task2, "task", 1); in GST_START_TEST()
|
/third_party/mindspore/tests/ut/cpp/device/ |
D | ge_runtime_test.cc | 226 …std::shared_ptr<Task> task2 = TaskFactory::GetInstance().Create(model_context, label_goto_task_inf… in TEST_F() local 228 auto label_goto_task_2 = std::dynamic_pointer_cast<LabelGotoTask>(task2); in TEST_F() 232 ASSERT_NO_THROW(task2->Distribute()); in TEST_F() 290 …std::shared_ptr<Task> task2 = TaskFactory::GetInstance().Create(model_context, label_switch_task_i… in TEST_F() local 292 auto label_switch_task_2 = std::dynamic_pointer_cast<LabelSwitchTask>(task2); in TEST_F() 296 ASSERT_NO_THROW(task2->Distribute()); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | layer_norm_grad_cpu_kernel.cc | 109 auto task2 = [this, &x, &dy, &var, &mean, &dx, &gamma, thread_num2](size_t start) { in LaunchKernel() local 148 task2(i); in LaunchKernel()
|
D | roi_align_grad_cpu_kernel.cc | 126 auto task2 = [this, &dy, &rois, &dx](size_t start, size_t end) { in Launch() local 182 CPUKernelUtils::ParallelFor(task2, IntToSize(elem_num)); in Launch()
|
D | nms_with_mask_cpu_kernel.cc | 56 auto task2 = [&](size_t start, size_t end) { in NmsBitonicSortByKeyKernel() local 69 CPUKernelUtils::ParallelFor(task2, ceil_power2); in NmsBitonicSortByKeyKernel()
|
/third_party/python/Lib/test/ |
D | test_thread.py | 189 thread.start_new_thread(self.task2, (i,)) 194 def task2(self, ident): member in BarrierTest
|
/third_party/grpc/src/python/grpcio_tests/tests_aio/health_check/ |
D | health_servicer_test.py | 173 task2 = self.loop.create_task(_pipe_to_queue(call2, queue2)) 194 await task2
|
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/ |
D | call_test.py | 134 task2 = self.loop.create_task(coro()) 138 self.assertEqual(expected, await asyncio.gather(*[task1, task2])) 163 task2 = self.loop.create_task(coro()) 168 asyncio.gather(task1, task2))
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_tasks.py | 2063 self.assertTrue(asyncio.current_task() is task2) 2066 self.assertTrue(asyncio.current_task() is task2) 2069 task2 = self.new_task(self.loop, coro2(self.loop)) 2071 self.loop.run_until_complete(asyncio.wait((task1, task2))) 3143 task2 = mock.Mock() 3147 self._enter_task(loop, task2) 3160 task2 = mock.Mock() 3164 self._leave_task(loop, task2)
|
/third_party/python/Doc/tutorial/ |
D | stdlib2.rst | 314 >>> d = deque(["task1", "task2", "task3"])
|
/third_party/python/Doc/library/ |
D | asyncio-task.rst | 86 task2 = asyncio.create_task( 94 await task2
|