Home
last modified time | relevance | path

Searched refs:task2 (Results 1 – 12 of 12) sorted by relevance

/third_party/boost/libs/spirit/classic/test/
Dgrammar_mt_tests.cpp182 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/
Dgstmessage.c274 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/
Dge_runtime_test.cc226 …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/
Dlayer_norm_grad_cpu_kernel.cc109 auto task2 = [this, &x, &dy, &var, &mean, &dx, &gamma, thread_num2](size_t start) { in LaunchKernel() local
148 task2(i); in LaunchKernel()
Droi_align_grad_cpu_kernel.cc126 auto task2 = [this, &dy, &rois, &dx](size_t start, size_t end) { in Launch() local
182 CPUKernelUtils::ParallelFor(task2, IntToSize(elem_num)); in Launch()
Dnms_with_mask_cpu_kernel.cc56 auto task2 = [&](size_t start, size_t end) { in NmsBitonicSortByKeyKernel() local
69 CPUKernelUtils::ParallelFor(task2, ceil_power2); in NmsBitonicSortByKeyKernel()
/third_party/python/Lib/test/
Dtest_thread.py189 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/
Dhealth_servicer_test.py173 task2 = self.loop.create_task(_pipe_to_queue(call2, queue2))
194 await task2
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Dcall_test.py134 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/
Dtest_tasks.py2063 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/
Dstdlib2.rst314 >>> d = deque(["task1", "task2", "task3"])
/third_party/python/Doc/library/
Dasyncio-task.rst86 task2 = asyncio.create_task(
94 await task2