Home
last modified time | relevance | path

Searched refs:Task (Results 1 – 25 of 199) sorted by relevance

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dtask.h25 class Task {
39 MARL_NO_EXPORT inline Task();
40 MARL_NO_EXPORT inline Task(const Task&);
41 MARL_NO_EXPORT inline Task(Task&&);
42 MARL_NO_EXPORT inline Task(const Function& function,
44 MARL_NO_EXPORT inline Task(Function&& function, Flags flags = Flags::None);
45 MARL_NO_EXPORT inline Task& operator=(const Task&);
46 MARL_NO_EXPORT inline Task& operator=(Task&&);
47 MARL_NO_EXPORT inline Task& operator=(const Function&);
48 MARL_NO_EXPORT inline Task& operator=(Function&&);
[all …]
/third_party/typescript/tests/baselines/reference/
DasyncImportedPromise_es6.types2 export class Task<T> extends Promise<T> { }
3 >Task : Task<T>
7 import { Task } from "./task";
8 >Task : typeof Task
13 async example<T>(): Task<T> { return; }
14 >example : <T>() => Task<T>
DasyncImportedPromise_es5.types2 export class Task<T> extends Promise<T> { }
3 >Task : Task<T>
7 import { Task } from "./task";
8 >Task : typeof Task
13 async example<T>(): Task<T> { return; }
14 >example : <T>() => Task<T>
DasyncImportedPromise_es5.symbols2 export class Task<T> extends Promise<T> { }
3 >Task : Symbol(Task, Decl(task.ts, 0, 0))
9 import { Task } from "./task";
10 >Task : Symbol(Task, Decl(test.ts, 0, 8))
15 async example<T>(): Task<T> { return; }
18 >Task : Symbol(Task, Decl(test.ts, 0, 8))
DasyncImportedPromise_es6.symbols2 export class Task<T> extends Promise<T> { }
3 >Task : Symbol(Task, Decl(task.ts, 0, 0))
9 import { Task } from "./task";
10 >Task : Symbol(Task, Decl(test.ts, 0, 8))
15 async example<T>(): Task<T> { return; }
18 >Task : Symbol(Task, Decl(test.ts, 0, 8))
DasyncImportedPromise_es5.js4 export class Task<T> extends Promise<T> { } class
7 import { Task } from "./task";
9 async example<T>(): Task<T> { return; } field in Test
30 exports.Task = void 0;
31 var Task = /** @class */ (function (_super) {
32 __extends(Task, _super);
33 function Task() { class in Task
36 return Task;
38 exports.Task = Task;
83 … return __awaiter(this, void 0, task_1.Task, function () { return __generator(this, function (_a) {
DasyncImportedPromise_es6.js4 export class Task<T> extends Promise<T> { } class
7 import { Task } from "./task";
9 async example<T>(): Task<T> { return; } field in Test
15 exports.Task = void 0;
16 class Task extends Promise {
18 exports.Task = Task;
/third_party/node/deps/v8/src/libplatform/
Ddefault-foreground-task-runner.h40 std::unique_ptr<Task> PopTaskFromQueue(MessageLoopBehavior wait_for_work); in NON_EXPORTED_BASE()
47 void PostTask(std::unique_ptr<Task> task) override; in NON_EXPORTED_BASE()
48 void PostDelayedTask(std::unique_ptr<Task> task, in NON_EXPORTED_BASE()
54 void PostNonNestableTask(std::unique_ptr<Task> task) override; in NON_EXPORTED_BASE()
55 void PostNonNestableDelayedTask(std::unique_ptr<Task> task, in NON_EXPORTED_BASE()
67 void PostTaskLocked(std::unique_ptr<Task> task, Nestability nestability, in NON_EXPORTED_BASE()
73 void PostDelayedTaskLocked(std::unique_ptr<Task> task, in NON_EXPORTED_BASE()
79 std::unique_ptr<Task> PopTaskFromDelayedQueueLocked(const base::MutexGuard&, in NON_EXPORTED_BASE()
95 using TaskQueueEntry = std::pair<Nestability, std::unique_ptr<Task>>; in NON_EXPORTED_BASE()
105 std::unique_ptr<Task> task; in NON_EXPORTED_BASE()
Ddelayed-task-queue.h19 class Task; variable
40 void Append(std::unique_ptr<Task> task);
45 void AppendDelayed(std::unique_ptr<Task> task, double delay_in_seconds);
51 std::unique_ptr<Task> GetNext();
57 std::unique_ptr<Task> PopTaskFromDelayedQueue(double now);
61 std::queue<std::unique_ptr<Task>> task_queue_;
62 std::multimap<double, std::unique_ptr<Task>> delayed_task_queue_;
Ddefault-foreground-task-runner.cc39 void DefaultForegroundTaskRunner::PostTaskLocked(std::unique_ptr<Task> task, in PostTaskLocked()
47 void DefaultForegroundTaskRunner::PostTask(std::unique_ptr<Task> task) { in PostTask()
57 std::unique_ptr<Task> task, double delay_in_seconds, in PostDelayedTaskLocked()
66 void DefaultForegroundTaskRunner::PostDelayedTask(std::unique_ptr<Task> task, in PostDelayedTask()
73 std::unique_ptr<Task> task, double delay_in_seconds) { in PostNonNestableDelayedTask()
90 std::unique_ptr<Task> task) { in PostNonNestableTask()
110 std::unique_ptr<Task> task = in MoveExpiredDelayedTasks()
118 std::unique_ptr<Task> DefaultForegroundTaskRunner::PopTaskFromQueue( in PopTaskFromQueue()
136 std::unique_ptr<Task> task = std::move(it->second); in PopTaskFromQueue()
142 std::unique_ptr<Task>
[all …]
Ddelayed-task-queue.cc27 void DelayedTaskQueue::Append(std::unique_ptr<Task> task) { in Append()
34 void DelayedTaskQueue::AppendDelayed(std::unique_ptr<Task> task, in AppendDelayed()
46 std::unique_ptr<Task> DelayedTaskQueue::GetNext() { in GetNext()
51 std::unique_ptr<Task> task = PopTaskFromDelayedQueue(now); in GetNext()
57 std::unique_ptr<Task> result = std::move(task_queue_.front()); in GetNext()
86 std::unique_ptr<Task> DelayedTaskQueue::PopTaskFromDelayedQueue(double now) { in PopTaskFromDelayedQueue()
92 std::unique_ptr<Task> result = std::move(it->second); in PopTaskFromDelayedQueue()
Dtask-queue.h19 class Task; variable
32 void Append(std::unique_ptr<Task> task);
36 std::unique_ptr<Task> GetNext();
48 std::queue<std::unique_ptr<Task>> task_queue_;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreadPool.cpp34 PackagedTaskTy Task; in ThreadPool() local
52 Task = std::move(Tasks.front()); in ThreadPool()
56 Task(); in ThreadPool()
81 std::shared_future<void> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl() argument
83 PackagedTaskTy PackagedTask(std::move(Task)); in asyncImpl()
125 auto Task = std::move(Tasks.front()); in wait() local
127 Task(); in wait()
131 std::shared_future<void> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl() argument
133 auto Future = std::async(std::launch::deferred, std::move(Task)).share(); in asyncImpl()
/third_party/node/src/
Dnode_platform.cc15 using v8::Task;
20 TaskQueue<Task>* task_queue;
31 TaskQueue<Task>* pending_worker_tasks = worker_data->task_queue; in PlatformWorkerThread()
42 while (std::unique_ptr<Task> task = pending_worker_tasks->BlockingPop()) { in PlatformWorkerThread()
59 explicit DelayedTaskScheduler(TaskQueue<Task>* tasks) in DelayedTaskScheduler()
74 void PostDelayedTask(std::unique_ptr<Task> task, double delay_in_seconds) { in PostDelayedTask()
102 while (std::unique_ptr<Task> task = scheduler->tasks_.Pop()) in FlushTasks()
106 class StopTask : public Task {
124 class ScheduleTask : public Task {
127 std::unique_ptr<Task> task, in ScheduleTask()
[all …]
Dnode_platform.h46 std::unique_ptr<v8::Task> task;
62 void PostTask(std::unique_ptr<v8::Task> task) override;
64 void PostDelayedTask(std::unique_ptr<v8::Task> task,
71 void PostNonNestableTask(std::unique_ptr<v8::Task> task) override;
72 void PostNonNestableDelayedTask(std::unique_ptr<v8::Task> task,
90 void RunForegroundTask(std::unique_ptr<v8::Task> task);
106 TaskQueue<v8::Task> foreground_tasks_;
120 void PostTask(std::unique_ptr<v8::Task> task);
121 void PostDelayedTask(std::unique_ptr<v8::Task> task,
130 TaskQueue<v8::Task> pending_worker_tasks_;
[all …]
/third_party/glslang/Test/baseResults/
Dspv.meshTaskShader.task.out29 Name 88 "Task"
30 MemberName 88(Task) 0 "dummy"
31 MemberName 88(Task) 1 "submesh"
32 MemberName 88(Task) 2 "viewID"
47 MemberDecorate 88(Task) 0 PerTaskNV
48 MemberDecorate 88(Task) 0 Offset 0
49 MemberDecorate 88(Task) 1 PerTaskNV
50 MemberDecorate 88(Task) 1 Offset 8
51 MemberDecorate 88(Task) 2 PerTaskNV
52 MemberDecorate 88(Task) 2 Offset 32
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp35 return [=](unsigned Task, StringRef Key) -> AddStreamFn { in localCache() argument
52 AddBuffer(Task, std::move(*MBOrErr)); in localCache()
76 unsigned Task; in localCache() member
80 unsigned Task) in localCache()
83 Task(Task) {} in localCache()
129 AddBuffer(Task, std::move(*MBOrErr)); in localCache()
133 return [=](size_t Task) -> std::unique_ptr<NativeObjectStream> { in localCache() argument
147 AddBuffer, std::move(*Temp), EntryPath.str(), Task); in localCache()
DLTOBackend.cpp70 Hook = [=](unsigned Task, const Module &M) { in addSaveTemps() argument
73 if (LinkerHook && !LinkerHook(Task, M)) in addSaveTemps()
82 if (Task != (unsigned)-1) in addSaveTemps()
83 PathPrefix += utostr(Task) + "."; in addSaveTemps()
303 bool opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, in opt() argument
315 return !Conf.PostOptModuleHook || Conf.PostOptModuleHook(Task, Mod); in opt()
336 unsigned Task, Module &Mod) { in codegen() argument
337 if (Conf.PreCodeGenModuleHook && !Conf.PreCodeGenModuleHook(Task, Mod)) in codegen()
351 sys::path::append(DwoFile, std::to_string(Task) + ".dwo"); in codegen()
363 auto Stream = AddStream(Task); in codegen()
[all …]
/third_party/python/Doc/library/
Dasyncio-task.rst77 concurrently as asyncio :class:`Tasks <Task>`.
159 When a coroutine is wrapped into a *Task* with functions like
252 Wrap the *coro* :ref:`coroutine <coroutine>` into a :class:`Task`
253 and schedule its execution. Return the Task object.
256 :meth:`Task.set_name`.
348 scheduled as a Task.
365 If any Task or Future from the *aws* sequence is *cancelled*, it is
368 cancellation of one submitted Task/Future to cause other
386 print(f"Task {name}: Compute factorial({number}), currently i={i}...")
389 print(f"Task {name}: factorial({number}) = {f}")
[all …]
/third_party/node/deps/v8/src/d8/
Dd8-platforms.cc55 void CallOnWorkerThread(std::unique_ptr<Task> task) override { in CallOnWorkerThread()
69 void CallDelayedOnWorkerThread(std::unique_ptr<Task> task, in CallDelayedOnWorkerThread()
174 void CallOnWorkerThread(std::unique_ptr<Task> task) override { in CallOnWorkerThread()
178 void CallDelayedOnWorkerThread(std::unique_ptr<Task> task, in CallDelayedOnWorkerThread()
213 void PostTask(std::unique_ptr<Task> task) final { in PostTask()
217 void PostNonNestableTask(std::unique_ptr<Task> task) final { in PostNonNestableTask()
222 void PostDelayedTask(std::unique_ptr<Task> task, in PostDelayedTask()
256 class DelayedTask final : public Task {
258 DelayedTask(std::unique_ptr<Task> task, int32_t delay_ms) in DelayedTask()
267 std::unique_ptr<Task> task_;
[all …]
/third_party/skia/experimental/graphite/src/
DTask.cpp12 Task::Task() {} in Task() function in skgpu::Task
13 Task::~Task() {} in ~Task()
/third_party/node/deps/v8/include/
Dv8-platform.h45 class Task {
47 virtual ~Task() = default;
76 virtual void PostTask(std::unique_ptr<Task> task) = 0;
93 virtual void PostNonNestableTask(std::unique_ptr<Task> task) {} in PostNonNestableTask()
100 virtual void PostDelayedTask(std::unique_ptr<Task> task,
119 virtual void PostNonNestableDelayedTask(std::unique_ptr<Task> task, in PostNonNestableDelayedTask()
949 virtual void CallOnWorkerThread(std::unique_ptr<Task> task) = 0;
955 virtual void CallBlockingTaskOnWorkerThread(std::unique_ptr<Task> task) { in CallBlockingTaskOnWorkerThread()
964 virtual void CallLowPriorityTaskOnWorkerThread(std::unique_ptr<Task> task) { in CallLowPriorityTaskOnWorkerThread()
974 virtual void CallDelayedOnWorkerThread(std::unique_ptr<Task> task,
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dnon_marl_bench.cpp56 using Task = std::function<uint32_t(uint32_t)>; in SingleQueueTaskExecutor() typedef
70 std::queue<Task> tasks; in SingleQueueTaskExecutor()
77 Task task; in SingleQueueTaskExecutor()
123 using Task = std::function<uint32_t(uint32_t)>; in MultiQueueTaskExecutor() typedef
124 using TaskQueue = std::vector<Task>; in MultiQueueTaskExecutor()
/third_party/node/deps/v8/src/heap/
Dscavenge-job.cc17 class ScavengeJob::Task : public CancelableTask { class in v8::internal::ScavengeJob
19 Task(Isolate* isolate, ScavengeJob* job) in Task() function in v8::internal::ScavengeJob::Task
48 std::make_unique<Task>(heap->isolate(), this)); in ScheduleTaskIfNeeded()
54 void ScavengeJob::Task::RunInternal() { in RunInternal()
/third_party/node/deps/v8/src/logging/
Dmetrics.cc13 class Recorder::Task : public v8::Task { class in v8::internal::metrics::Recorder
15 explicit Task(const std::shared_ptr<Recorder>& recorder) in Task() function in v8::internal::metrics::Recorder::Task
57 std::make_unique<Task>(shared_from_this()), 1.0); in Delay()

12345678