Searched full:a (Results 1 – 25 of 10367) sorted by relevance
12345678910>>...415
| /arkcompiler/runtime_core/bytecode_optimizer/tests/js/ |
| D | constantProgagation.js | 5 You may obtain a copy of the License at 18 You may obtain a copy of the License at 31 let a = 2; 34 print(a > b); 35 a = intMaxVal; 36 print(a > b); 38 a = true; 40 print(a > b); 42 a = 2.1; 44 print(a > b); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/07.function_and_method_overloading/03.constructor_overloading/ |
| D | co3_over.params.yaml | 4 # You may obtain a copy of the License at 18 class A { 32 let a: A = new A() 33 assert(a.i == 0 && a.d == 0.0 && a.s == "") 34 a = new A(12345) 35 assert(a.i == 12345 && a.d == 0.0 && a.s == "") 36 a = new A(11, 22) 37 assert(a.i == 33 && a.d == 0.0 && a.s == "") 38 a = new A(1, 2, 3) 39 assert(a.i == 3 && a.d == 0.0 && a.s == "") [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/optimizer/js/opt-try-catch-func/ |
| D | test-raw-try-catch.js | 5 * You may obtain a copy of the License at 17 let a = 1; 19 a = 2; 22 print(a); 23 a = 3; 25 print(a); 27 a = 4; 29 print(a); 30 a = 5; 32 print(a); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accesible/ |
| D | type_name_interface_prop.params.yaml | 4 # You may obtain a copy of the License at 23 let a: A = new A(); 24 assert(a.foo == 0x80 as byte); 25 assert(a.bar(a.foo) == 0x80 as byte); 34 let a: A = new A(); 35 assert(a.foo == 0x7FFF as short); 36 assert(a.bar(a.foo) == 0x7FFF as short); 45 let a: A = new A(); 46 assert(a.foo == 127 as int); 47 assert(a.bar(a.foo) == 127 as int); [all …]
|
| D | type_name_class_field.params.yaml | 4 # You may obtain a copy of the License at 24 assert(A.sfoo == 0x79 as byte); 25 let a: A = new A(); 26 assert(a.foo == 0x80 as byte); 27 assert(a.bar(A.sfoo) == 0x79 as byte); 28 assert(A.sbar(a.foo) == 0x80 as byte); 38 assert(A.sfoo == 0x7FFF as short); 39 let a: A = new A(); 40 assert(a.foo == 0x7FFF as short); 41 assert(a.bar(a.foo) == 0x7FFF as short); [all …]
|
| /arkcompiler/ets_runtime/docs/ |
| D | using-the-toolchain.md | 1 # Using the Toolchain<a name="EN-US_TOPIC_0000001128256014"></a> 22 <a name="table2035444615599"></a> 24 …%" id="mcps1.1.6.1.1"><p id="p13354134619595"><a name="p13354134619595"></a><a name="p133541346195… 26 …8066%" id="mcps1.1.6.1.3"><p id="p157281281906"><a name="p157281281906"></a><a name="p157281281906… 28 …7417%" id="mcps1.1.6.1.4"><p id="p103276335016"><a name="p103276335016"></a><a name="p103276335016… 30 …35%" id="mcps1.1.6.1.5"><p id="p1835494695915"><a name="p1835494695915"></a><a name="p183549469591… 34 … headers="mcps1.1.6.1.1 "><p id="p881325510017"><a name="p881325510017"></a><a name="p881325510017… 36 … headers="mcps1.1.6.1.3 "><p id="p072882813015"><a name="p072882813015"></a><a name="p072882813015… 38 …%" headers="mcps1.1.6.1.4 "><p id="p10327833305"><a name="p10327833305"></a><a name="p10327833305"… 40 … headers="mcps1.1.6.1.5 "><p id="p076075115014"><a name="p076075115014"></a><a name="p076075115014… [all …]
|
| D | README_zh.md | 214 …th="50%" id="mcps1.1.3.1.1"><p id="p51552743010"><a name="p51552743010"></a><a name="p51552743010"… 216 …th="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name="p11592710304"></a><a name="p11592710304"… 220 … headers="mcps1.1.3.1.1 "><p id="p171592710306"><a name="p171592710306"></a><a name="p171592710306… 222 …ders="mcps1.1.3.1.2 "><p id="p13151527133011"><a name="p13151527133011"></a><a name="p131515271330… 225 …eaders="mcps1.1.3.1.1 "><p id="p1615182712308"><a name="p1615182712308"></a><a name="p161518271230… 227 …eaders="mcps1.1.3.1.2 "><p id="p9556101593120"><a name="p9556101593120"></a><a name="p955610159312… 230 …eaders="mcps1.1.3.1.1 "><p id="p1815182733012"><a name="p1815182733012"></a><a name="p181518273301… 232 …eaders="mcps1.1.3.1.2 "><p id="p1615627173019"><a name="p1615627173019"></a><a name="p161562717301… 235 … headers="mcps1.1.3.1.1 "><p id="p111572716304"><a name="p111572716304"></a><a name="p111572716304… 237 …eaders="mcps1.1.3.1.2 "><p id="p1655718513105"><a name="p1655718513105"></a><a name="p165571851310… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/01.type_arguments/type_arguments_of_parameterized_declarations/ |
| D | class_args.params.yaml | 4 # You may obtain a copy of the License at 18 let v: A<X> = new A<X>(new X()) 21 let v: A<X> = new A<X>(new X()) 25 let v: A<X|null> = new A<X|null>(null) 28 let v: A<A<X>> = new A<A<X>>(new A<X>(new X())) 31 let v: A<A<X>> = new A<A<X>>(new A<X>(new X())) 36 let v: A<I> = new A<I>(new X()) 39 let v: A<A<I>> = new A<A<I>>(new A<I>(new X())) 43 let v: A<A<I>|null> = new A<A<I>|null>(null) 47 let v: A<X[]> = new A<X[]>(new X[0]) [all …]
|
| D | class_args_neg.params.yaml | 4 # You may obtain a copy of the License at 18 let v: A<X> = new A<X>(new Y()) // Y is not X 22 let v: A<X> = new A<X>(new X()) // X is out of the bound 26 let v: A<X> = new A<X|null>(null) // shouldn't assign to subclass 29 let v: A<null|X> = new A<X>(new X()) // syntax error 32 let v: A<A<X>> = new A<A<X>>(new A<Y>(new Y())) // A<Y> is not A<X> 36 let v: A<I> = new A<I>(new Y()) // Y doesn't implement I 40 let v: A<A<I>> = new A<A<I>>(new A<Y>(new Y())) // A<Y> is not A<I> 44 let v: A<X[]> = new A<X[]>(new Y[0]) // Y[] is not X[] 47 let v: A<A<X>[]> = new A<A<X>[]>(new A<Y>[0]) // A<X>[] is not A<Y>[] [all …]
|
| /arkcompiler/ets_frontend/ |
| D | README_zh.md | 1 # ets_frontend组件<a name="ZH-CN_TOPIC_0000001137330686"></a> 3 - [ets_frontend组件<a name="ZH-CN_TOPIC_0000001137330686"></a>](#ets_frontend组件) 4 - [简介<a name="section11660541593"></a>](#简介) 5 - [目录<a name="section161941989596"></a>](#目录) 6 - [编译构建<a name="section0446154755015"></a>](#编译构建) 7 - [使用说明<a name="section33105542504"></a>](#使用说明) 8 - [相关仓<a name="section1371113476307"></a>](#相关仓) 10 ## 简介<a name="section11660541593"></a> 20 ## 目录<a name="section161941989596"></a> 47 ## 编译构建<a name="section0446154755015"></a> [all …]
|
| D | README.md | 1 # ets_frontend <a name="EN-US_TOPIC_0000001137330686"></a> 3 - [ets_frontend <a name="EN-US_TOPIC_0000001137330686"></a>](#ets_frontend-) 4 - [Introduction<a name="section11660541593"></a>](#introduction) 5 - [Directory Structure<a name="section161941989596"></a>](#directory-structure) 6 - [Build<a name="section0446154755015"></a>](#Build) 7 - [Usage Guidelines<a name="section33105542504"></a>](#usage-guidelines) 8 - [Repositories Involved<a name="section1371113476307"></a>](#repositories-involved) 10 ## Introduction<a name="section11660541593"></a> 12 ets_frontend is a front-end tool in the ARK Runtime Subsystem. Combined with the ace-ets2bundle com… 20 ## Directory Structure<a name="section161941989596"></a> [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/01.object_literal_of_class_type/ |
| D | cl.params.yaml | 4 # You may obtain a copy of the License at 17 class A {} 20 let a: A = {} 22 assert a instanceof A 24 assert a != b 27 class A {} 29 ref: A = new A() 32 let a: A = {} 34 let b2: B = { ref: a } 35 let b3: B = { ref: new A() } [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_stable_array_test.cpp | 5 * You may obtain a copy of the License at 72 …* @tc.desc: Change a JSArray through calling Push function with the JSArray and a EcmaRuntimeCallI… 105 …* @tc.desc: Change a JSArray through calling Pop function with the JSArray and a EcmaRuntimeCallIn… 141 …* @tc.desc: Create a source TaggedArray, set value for the elements of the source TaggedArray, cre… 142 …* through calling CreateArrayFromList function with the source TaggedArray, create a del… 207 …* @tc.desc: Create a source Array, set value for the elements of the source Array, call the Shift … 244 …* @tc.desc: Create a source Array whose elements are Numbers and an EcmaRuntimeCallInfo, check whe… 275 …* @tc.desc: Create a source Array whose elements are EcmaStrings and an EcmaRuntimeCallInfo, check… 307 …* @tc.desc: Create a source Array whose elements are Numbers and an EcmaRuntimeCallInfo, define th… 338 …* @tc.desc: Create a source Array whose elements are EcmaStrings and an EcmaRuntimeCallInfo, defin… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/02.object_literal_of_interface_type/ |
| D | in.params.yaml | 4 # You may obtain a copy of the License at 17 interface A {} 20 let a: A = {} 22 assert a instanceof A 24 assert a != b 27 class A {} 29 ref: A 32 let a: A = {} 34 let b2: B = { ref: a } 35 let b3: B = { ref: new A() } [all …]
|
| /arkcompiler/ets_runtime/test/aottest/deopt/ |
| D | expect_output.txt | 4 # You may obtain a copy of the License at 15 1a 17 1a 18 1a 19 1a 20 1a 21 1a 22 1a 23 1a 24 1a [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/03.indexable_types/ |
| D | cte.params.yaml | 4 # You may obtain a copy of the License at 18 class A { 30 let a: A = new A 31 a['a'] = 42.0 32 if (a['a'] != 42.0) return 1 33 a['a'] = 43.0 34 if (a['a'] != 43.0) return 1 38 class A { 46 let a: A = new A 47 if (!Number.isNaN(a['a'])) return 1 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/07.function_and_method_overloading/02.class_method_overloading/ |
| D | cm_over3.params.yaml | 4 # You may obtain a copy of the License at 18 class A { 29 let a: A = new A() 30 assert a.m() == 0 31 assert a.m(42) == 1 32 assert a.m(12, 55) == 67 33 assert a.m(12, 55, 42) == 3 34 assert a.m(61, 2.0) == 63.0 35 assert a.m(11, 12, 15e23) == 21 36 assert a.m(2.011e12, 1.98, 88) == 31 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/12.trailing_lambda/ |
| D | trlambda_static_met.params.yaml | 4 # You may obtain a copy of the License at 18 class A { 22 A.globl += n 27 A.foo(10.0, () => { 28 A.globl = 3.0 30 assert A.globl == 13.0 33 class A { 37 A.globl += n 42 A.foo(10.0, () => { 43 A.globl = 3.0 [all …]
|
| D | trlambda_met.params.yaml | 4 # You may obtain a copy of the License at 18 class A { 22 A.globl += n 27 new A().foo(10.0, () => { 28 A.globl = 3.0 30 assert A.globl == 13.0 33 class A { 37 A.globl += n 42 new A().foo(10.0, () => { 43 A.globl = 3.0 [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/optimizer/js/branch-elimination/ |
| D | test-branch-elimination.js | 5 * You may obtain a copy of the License at 17 let a = 0; 18 if (a == 0 && a == 0.0) { 23 if (a == "0" || a === "0" || a == false || a === false) { 28 if (a <= "0" || a >= "0" || a <= false || a >= false) { 33 if (a < "0" || a > "0" || a < false || a > false) { 42 let a = init; 44 a = 10; 46 if (a != 1 || a == 0 || a !== 1 || a === 0 || a < 0 || a > 1 || a <= 0 || a >= 2) { 55 let a = init; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/05.overloading_and_overriding_in_interfaces/ |
| D | im_over2.params.yaml | 4 # You may obtain a copy of the License at 28 class A implements J {} 30 let a: A = new A() 31 assert a.m() == 0 32 assert a.m(42) == 1 33 assert a.m(12, 55) == 67 34 assert a.m(12, 55, 42) == 3 35 assert a.m(61, 2.0) == 63.0 36 assert a.m(11, 12, 15e23) == 21 37 assert a.m(2.011e12, 1.98, 88) == 31 [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/elements_kind_generic/ |
| D | elements_kind_generic.js | 5 * You may obtain a copy of the License at 26 let a = [1, 2, 34]; 27 if (a[0] == 1 && a[1] == 2 && a[2] == 34 && ArkTools.getElementsKind(a) == GENERIC) { 37 let a = [1, 2, 34]; 38 a[1] = 10; 39 if (a[0] == 1 && a[1] == 10 && a[2] == 34 && ArkTools.getElementsKind(a) == GENERIC) { 50 let a = [1, 2, 34]; 51 print(a[10]); 52 if (a[0] == 1 && a[1] == 2 && a[2] == 34 && ArkTools.getElementsKind(a) == GENERIC) { 63 let a = [1, 2, 34]; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/11.extension_functions/ |
| D | extension_functions_array.params.yaml | 4 # You may obtain a copy of the License at 18 class A {} 19 function A[].test() { return 1 } 20 function A[][].test() { return 2 } 21 function A[][][].test() { return 3 } 23 let a: A[] = [] 24 let b: A[][] = [[]] 25 let c: A[][][] = [[[]]] 26 assert a.test() == 1 32 class A {} [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/assn_var/ |
| D | assn-var-n2.params.yaml | 4 # You may obtain a copy of the License at 18 class A {} 19 class B extends A {} 21 let a: A = new A() 28 type: '(p: A) => B' 31 class A {} 32 class B extends A {} 34 let a: A = new A() 44 class A {} 45 class B extends A {} [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/comp_arr/ |
| D | comp-arr-n2.params.yaml | 4 # You may obtain a copy of the License at 18 class A {} 19 class B extends A {} 21 let a: A = new A() 28 type: '(p: A) => B' 31 class A {} 32 class B extends A {} 34 let a: A = new A() 44 class A {} 45 class B extends A {} [all …]
|
12345678910>>...415