Home
last modified time | relevance | path

Searched full:launch (Results 1 – 25 of 130) sorted by relevance

123456

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/16.coroutines/01.create_and_launch_coroutine/
Dc.params.yaml20 let r: Promise<void> = launch foo()
29 let r: Promise<int> = launch foo(42)
38 let r: Promise<Double> = launch foo(new Double(42.0))
47 let r: Promise<string> = launch foo(42)
56 let r: Promise<String> = launch foo(42)
67 let r: Promise<Object> = launch foo(new A())
76 let r: Promise<Number|undefined> = launch foo(42)
85 let r: Promise<Number|null> = launch foo(42)
94 let r: Promise<Int|undefined|null> = launch foo(42)
103 return launch foo('A')
[all …]
Dc_n.params.yaml18 let r = launch
21 let r = launch bar() // unknown function call
26 let r = launch foo // not a call expression
31 let r = launch launch foo() // not a call expression
34 let r = launch (p: int) => { return p + p } // not a call expression
44 let r = launch new A('abc') // call a constructor
58 let r = launch a.meth() // call a method
67 let r = launch A.meth('abc') // call static method
78 let r = launch a.meth('abc') // call default interface method
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/16.coroutines/02.awaiting_coroutine/
Da.params.yaml25 assert foo(launch bar(1)) == 2
28 // Error in launch function propagates outside
40 foo(launch bar(1))
61 foo(launch bar(1), 1)
70 // Exception in launch function propagates outside
82 foo(launch bar(1))
103 foo(1, launch bar(1))
127 baz(launch bar(1), foo)
155 arr = [launch foo(1), launch foo(2), launch foo(3)]
182 arr = [launch foo(1), launch foo(2), launch foo(3)]
[all …]
Da_n.params.yaml27 let r = await launch
33 let r = launch foo()
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dlaunch.sts31 launch bar(x, 30);
37 p = launch foo(11);
38 p = launch Example.foobar();
39 p = launch new Example().baz();
41 p = launch example.baz();
43 p = launch foo_ref(5);
45 launch lambda();
Dlaunch_this_callee.sts18 return launch this.baz(this);
26 return launch this.baz2(this, 1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dlaunch_test.sts16 //! CHECKER Test check static launch inst in JIT
25 //! CHECKER Test check unresolve static launch inst in JIT
35 //! CHECKER Test check static launch inst in AOT
46 //! CHECKER Test check static launch inst in LLVM
56 //! CHECKER Test check virtual launch inst in JIT
65 //! CHECKER Test check virtual launch inst in AOT
76 //! CHECKER Test check virtual launch inst in LLVM
86 //! CHECKER Test check unresolve virtual launch inst in JIT
96 //! CHECKER Test check unresolve virtual launch inst in AOT
107 //! CHECKER Test check unresolve virtual launch inst in LLVM
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/
Dmultiple_launch.sts23 p[i] = launch return_value(i);
42 p[i] = launch throw_exception();
64 console.println("First launch of 5 coroutines failed!!");
69 console.println("Second launch of 5 coroutines failed!!");
74 console.println("First launch of 10 coroutines failed!!");
79 console.println("Second launch of 10 coroutines failed!!");
84 console.println("First launch of 5 throw-error coroutines failed!!");
89 console.println("First launch of 10 coroutines after 5 throw-error ones failed!!");
Dlaunch_instruction.sts120 // test launch.short instruction
122 launch noarg();
127 launch onearg(1);
132 launch twoargs(1, 2);
136 // test launch
138 launch threeargs(1, 2, 3);
143 launch fourargs(1, 2, 3, 4);
147 // test launch.range
149 launch fiveargs(1, 2, 3, 4, 5);
Dlaunch_n_workers.sts52 L.log("Testing launch in a separate worker");
55 let id_coro: int = (await launch return_worker_id()) as int;
74 L.log("Testing batch launch of " + batch_size + " coroutines");
76 launch job(iters);
83 await launch await_chain(n-1);
90 await launch await_chain(len);
101 let p = launch simple();
122 L.logError("batch launch test failed");
Dlaunch_return.sts63 let byteP: Promise<Object> = launch byteFunc();
77 let charP: Promise<Object> = launch charFunc();
91 let shortP: Promise<Object> = launch shortFunc();
105 let intP: Promise<Object> = launch intFunc();
119 let longP: Promise<Object> = launch longFunc();
134 let floatP: Promise<Object> = launch floatFunc();
149 let doubleP: Promise<Object> = launch doubleFunc();
Dlaunch_launch.sts23 return launch foo('A');
27 let res: Promise<Promise<string>> = launch bar();
Dlaunch_instr_array.sts16 // This test covers case of storing Promises returned from launch instruction
29 TestCoroutine.corArray[i] = launch this.cor();
Dstats.sts28 launch sync_f(5);
31 await launch sync_f(5);
Dconcurrent_await.sts44 let p1 = launch foo();
46 let p2 = launch bar(p1);
Dlaunch_exception.sts33 await launch coro_stack_overflow();
47 await launch coro_error();
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
Dtaskpool.sts73 return launch func();
76 return launch func(a1);
79 return launch func(a1, a2);
82 return launch func(a1, a2, a3);
85 return launch func(a1, a2, a3, a4);
88 return launch func(a1, a2, a3, a4, a5);
91 return launch func(a1, a2, a3, a4, a5, a6);
94 return launch func(a1, a2, a3, a4, a5, a6, a7);
97 return launch func(a1, a2, a3, a4, a5, a6, a7, a8);
100 return launch func(a1, a2, a3, a4, a5, a6, a7, a8, a9);
[all …]
/arkcompiler/ets_frontend/arkguard/.vscode/
Dlaunch.json6 "request": "launch",
23 "request": "launch",
24 "name": "Launch Program",
/arkcompiler/runtime_core/static_core/plugins/ets/isa/
Disa.yaml27 - title: ETS launch instructions
29 ETS launch instructions. #TODO(audovichenko, kgrebenschikov): add description.
39 - sig: ets.launch.short method_id, v1:in:top, v2:in:top
44 - sig: ets.launch method_id, v1:in:top, v2:in:top, v3:in:top, v4:in:top
49 - sig: ets.launch.range method_id, v:in:top
54 - sig: ets.launch.virt.short method_id, v1:in:top, v2:in:top
59 - sig: ets.launch.virt method_id, v1:in:top, v2:in:top, v3:in:top, v4:in:top
64 - sig: ets.launch.virt.range method_id, v:in:top
/arkcompiler/runtime_core/static_core/docs/coroutines/
Dcoro_seq.plantuml5 "Runtime::Initialize" -> CoroutineManager: Launch(Method, args)
9 "Coroutine: main" -> CoroutineManager: Launch
Dcoroutines.md16 * promise - the promise associated with the coroutine and returned by 'launch' instruction.
39 * `void Launch(Method entrypoint, List arguments)`
69 The promise returned by `launch` instruction is used to await the coroutine.
74 Runtime launches a new coroutine when it executes `launch` instruction. The steps runtime executes …
93 Suppose the main function executes a *launch foo()* instruction i.e. start an asynchronous operatio…
105 | `fn(args)` | `launch fn_method_id, args` | `launch` bytecode instruction is used to calls async f…
144 Calling an async function should launch a coroutine.
146 The C++ bridge should check if the callee has @Async annotation and launch a new coroutine.
159 ets_value ets_promise = ets_env.launch(method, proxy(args));
300 >> ets_value ets_promise = ets_env.launch(method, proxy(args));
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/scripts/micro-benchmarks/
DREADME.md9 | `--target` | Launch target: `host`, `device`. | `host` |
24 ## Launch on host
28 ## Launch on device
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dlaunch_non_callable.sts18 launch x;
21 /* @@? 18:12 Error SyntaxError: Only call expressions are allowed after 'launch' */
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/atomics/
Dconcurrent_increment.sts29 launch incrementer()
34 launch decrementer()
Dconcurrent_compare_exchange.sts30 launch worker_i8(i as byte)
37 launch worker_i32(i as int)

123456