Home
last modified time | relevance | path

Searched refs:Task (Results 1 – 25 of 188) 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 …]
Dscheduler.h121 void enqueue(Task&& task);
320 using TaskQueue = containers::deque<Task>;
368 void enqueue(Task&& task) EXCLUDES(work.mutex);
378 void enqueueAndUnlock(Task&& task) REQUIRES(work.mutex) RELEASE(work.mutex);
386 bool steal(Task& out) EXCLUDES(work.mutex);
483 bool stealWork(Worker* thief, uint64_t from, Task& out);
582 inline void schedule(Task&& t) { in schedule()
595 Task(std::bind(std::forward<Function>(f), std::forward<Args>(args)...))); in schedule()
604 scheduler->enqueue(Task(std::forward<Function>(f))); in schedule()
/third_party/typescript/tests/baselines/reference/
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_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.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;
DmappedTypeAsClauses.types194 type Task = {
195 >Task : Task
206 >root : { title: string; task: Task; }
211 task: Task;
212 >task : Task
214 Task: Task;
215 >Task : Task
219 type Res1 = GetKey<Schema, Schema['root']['task']>; // "Task"
220 >Res1 : "Task"
222 type Res2 = GetKeyWithIf<Schema, Schema['root']['task']>; // "Task"
[all …]
/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()
52 explicit DelayedTaskScheduler(TaskQueue<Task>* tasks) in DelayedTaskScheduler()
67 void PostDelayedTask(std::unique_ptr<Task> task, double delay_in_seconds) { in PostDelayedTask()
95 while (std::unique_ptr<Task> task = scheduler->tasks_.Pop()) in FlushTasks()
99 class StopTask : public Task {
117 class ScheduleTask : public Task {
120 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/flutter/engine/flutter/shell/platform/glfw/
Dglfw_event_loop.h44 struct Task { struct
50 bool operator()(const Task& a, const Task& b) { in operator() argument
61 std::priority_queue<Task, std::deque<Task>, Task::Comparer> task_queue_;
/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/skia/experimental/graphite/src/
DTask.cpp12 Task::Task() {} in Task() function in skgpu::Task
13 Task::~Task() {} in ~Task()
DTask.h18 class Task : public SkRefCnt {
20 ~Task() override;
25 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()
Devent_bench.cpp50 marl::schedule(marl::Task( in BENCHMARK_DEFINE_F()
57 marl::Task::Flags::SameThread)); in BENCHMARK_DEFINE_F()
59 marl::schedule(marl::Task( in BENCHMARK_DEFINE_F()
67 marl::Task::Flags::SameThread)); in BENCHMARK_DEFINE_F()
/third_party/typescript/tests/cases/conformance/async/es5/
DasyncImportedPromise_es5.ts5 export class Task<T> extends Promise<T> { } class
8 import { Task } from "./task";
10 async example<T>(): Task<T> { return; }
/third_party/typescript/tests/cases/conformance/async/es6/
DasyncImportedPromise_es6.ts4 export class Task<T> extends Promise<T> { } class
7 import { Task } from "./task";
9 async example<T>(): Task<T> { return; }
/third_party/typescript/src/testRunner/parallel/
Dshared.ts14 export type Task = RunnerTask | UnitTestTask; alias
35 task: Task;
40 payload: Task;
45 payload: Task[];
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkQueue.cpp175 Task task; in ~Queue()
176 task.type = Task::KILL_THREAD; in ~Queue()
189 Task task; in submit()
203 void Queue::submitQueue(const Task &task) in submitQueue()
280 Task task = pending.take(); in taskLoop()
284 case Task::KILL_THREAD: in taskLoop()
287 case Task::SUBMIT_QUEUE: in taskLoop()
303 Task task; in waitIdle()

12345678