Home
last modified time | relevance | path

Searched full:test2 (Results 1 – 25 of 210) sorted by relevance

123456789

/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/serialization/
Dlist.std_serialization_json_static.yaml24 test2: {d: -1},
30 test2: '"-1"',
46 test2: {d: -1},
52 test2: '"-1"',
68 test2: {d: -1},
74 test2: '"-1"',
90 test2: {d: -1},
96 test2: '"-1"',
112 test2: {d: -1},
118 test2: '"-1"',
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/
Dlist.std_core_array_reverse.yaml26 test2: { arr: "[true, false]" },
33 test2: "[false, true]",
50 test2: { arr: "[1 as byte, 2 as byte]" },
57 test2: "[2 as byte, 1 as byte]",
74 test2: { arr: "[1 as short, 2 as short]" },
81 test2: "[2 as short, 1 as short]",
98 test2: { arr: "[1 as int, 2 as int]" },
105 test2: "[2 as int, 1 as int]",
122 test2: { arr: "[1 as int, 2 as int]" },
129 test2: "[2 as int, 1 as int]",
[all …]
Dlist.std_core_array_copyOf_3.yaml28 test2:
44 test2: "[true]",
63 test2:
75 test2: "[0]",
93 test2:
105 test2: "[0]",
123 test2:
135 test2: "[0]",
153 test2:
165 test2: "[0]",
[all …]
Dlist.std_core_array_foreach_2.yaml30 test2:
39 test2: "[]"
58 test2:
66 test2: "[]"
85 test2:
94 test2: "[]"
113 test2:
122 test2: "[]"
141 test2:
150 test2: "[]"
[all …]
Dlist.std_core_array_fill_2.yaml30 test2:
50test2: "[false, false, false, false, false, false, false, false, false, false, false, false, false…
72 test2: { arr: "[1]", value: 0 },
77 test2: "[0]",
96 test2: { arr: "[1]", value: 0 },
101 test2: "[0]",
120 test2: { arr: "[1]", value: 0 },
125 test2: "[0]",
144 test2: { arr: "[1]", value: 0 },
149 test2: "[0]",
[all …]
Dlist.std_core_array_map_2.yaml29 test2:
39 test2: "[]"
57 test2:
66 test2: "[]"
84 test2:
93 test2: "[]"
110 test2:
119 test2: "[]"
137 test2:
146 test2: "[]"
[all …]
Dlist.std_core_array_concat.yaml52 test2: { first: "[127, (-128)]", second: "[(-128), 127]", },
60 test2: "[127, (-128), (-128), 127]",
77 test2: { first: "[127, (-128)]", second: "[(-128), 127]",},
85 test2: "[127, (-128), (-128), 127]",
102 test2: { first: "[127, -128]", second: "[-128, 127]",},
110 test2: "[127, -128, -128, 127]",
127 test2: { first: "[127, -128]", second: "[-128, 127]",},
135 test2: "[127, -128, -128, 127]",
152 test2: { first: "[127.0, -128.0]", second: "[-128.0, 127.0]", },
160 test2: "[127.0, -128.0, -128.0, 127.0]",
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/
Dtest2.ts16 export * from '../ets/test2'; // arkts-no-ts-import-ets
17 export * as name1 from '../ets/test2'; // arkts-no-ts-import-ets
18 export { A } from '../ets/test2'; // arkts-no-ts-import-ets
19 export { A as name2 } from '../ets/test2'; // arkts-no-ts-import-ets
20 export { default, /* ..., */ } from '../ets/test2'; // arkts-no-ts-import-ets
21 export { default as name3 } from '../ets/test2'; // arkts-no-ts-import-ets
/arkcompiler/runtime_core/libabckit/tests/clean_scenarios/cpp_api/dynamic/branch_eliminator/
DREADME.md17 test2() {
19 print('Mybar.test2: Config.isDebug is false');
21 print('Mybar.test2: Config.isDebug is true');
34 test2() {
35 print('Mybar.test2: Config.isDebug is false');
/arkcompiler/runtime_core/libabckit/tests/clean_scenarios/c_api/dynamic/branch_eliminator/
DREADME.md17 test2() {
19 print('Mybar.test2: Config.isDebug is false');
21 print('Mybar.test2: Config.isDebug is true');
34 test2() {
35 print('Mybar.test2: Config.isDebug is false');
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/math/
Dlist.std_math_log.yaml24 test2: {v: E, },
35 test2: 1.0,
53 test2: { v: 10.0,},
65 test2: 1.0,
84 test2: { v: 2.0,},
96 test2: 1.0,
115 test2: { v: 1.0,},
126 test2: 0.69314718,
144 test2: { v: 10,},
154 test2: 1.0,
Dlist.std_math_trigonometry.yaml23 test2: { v: PI,},
36 test2: 0.0,
56 test2: {v: PI,},
70 test2: -1.0,
90 test2: { v: PI,},
103 test2: 0.0,
123 test2: { v: -0.866025404},
138 test2: -PI/3,
160 test2: { v: -0.866025404},
175 test2: (5*PI)/6,
[all …]
Dlist.std_math_h_trigonometry.yaml23 test2: { v: 1.0, },
38 test2: 1.1752011936438,
60 test2: { v: 1.0, },
75 test2: 1.5430806348152,
97 test2: { v: 1.0, },
112 test2: 0.76159415595576,
133 test2: { v: 1.1752011936438},
148 test2: 1.0,
170 test2: { v: 1.5430806348152},
181 test2: 1.0,
[all …]
Dlist.std_math_exp.yaml23 test2: { v: 1.0,},
34 test2: E,
52 test2: {v: 0.0,},
64 test2: 0.0,
82 test2: { v: 4.0, u: 0.5},
92 test2: 2.0,
108 test2: { v: E},
119 test2: 1.64872127,
137 test2: { v: E },
148 test2: 1.39561243,
[all …]
Dlist.std_math_bits.yaml23 test2: { v: PI,},
30 test2: 1.0,
44 test2: { v: PI,},
51 test2: "false",
65 test2: { v: 0x0FFFFFFF as int},
77 test2: 4,
96 test2: {v: 0x0FFFFFFFFFFFFFFF as long },
116 test2: 4,
/arkcompiler/runtime_core/libabckit/tests/ut/ir_core/inst_manipulation/
Dinst_manipulation_static.sts24 test2() {
27 test2(a: int) {
28 console.log("test2")
59 test.test2(1)
62 test.test2()
63 const test2 = new Test(1, 2, 3, 4, 5)
/arkcompiler/runtime_core/static_core/tests/checked/
Dinline.pa187 …ions: "--compiler-regex=Test2::main --compiler-inlining-max-insts=12 --compiler-inlining-always-in…
188 #! EVENT /Inline,Test2::main,Test2::func,.*VIRTUAL,LIMIT/
189 #! EVENT_NEXT /Inline,Test2::main,Test2::func,.*VIRTUAL,DEVIRTUALIZED/
190 #! EVENT_NEXT /Inline,Test2::main,Test2::small_func,.*VIRTUAL,SUCCESS/
193 #! RUN_PAOC options: "--compiler-regex=Test2::main --compiler-inlining-max-insts=12 --compiler-…
194 #! EVENT /Inline,Test2::main,Test2::func,.*VIRTUAL,LIMIT/
195 #! EVENT_NEXT /Inline,Test2::main,Test2::func,.*VIRTUAL,DEVIRTUALIZED/
196 #! EVENT_NEXT /Inline,Test2::main,Test2::small_func,.*VIRTUAL,SUCCESS/
197 #! RUN entry: "Test2::main"
200 #! RUN_LLVM options: "--compiler-regex=Test2.* --compiler-inlining-max-insts=12 --compiler-inli…
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/ir_core/graph/
Dgraph_static.sts20 test2() {
23 test2(a: int) {
24 console.log("test2")
55 test.test2(1)
58 test.test2()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/escompat/
Dlist.escompat_Math_trigonometry.yaml24 test2: { v: PI,},
39 test2: 0.0,
62 test2: {v: PI,},
77 test2: -1.0,
100 test2: { v: PI,},
117 test2: 0.0,
142 test2: { v: -0.866025404},
159 test2: -PI/3,
184 test2: { v: -0.866025404},
201 test2: (5*PI)/6,
[all …]
Dlist.escompat_Math_exp.yaml24 test2: { v: 1.0,},
37 test2: E,
58 test2: {v: 0.0,},
71 test2: 0.0,
92 test2: { v: 4.0, u: 0.5},
106 test2: 2.0,
128 test2: { v: E},
142 test2: 1.64872127,
164 test2: { v: E },
179 test2: 1.39561243,
Dlist.escompat_Math_h_trigonometry.yaml24 test2: { v: 1.0, },
41 test2: 1.1752011936438,
66 test2: { v: 1.0, },
83 test2: 1.5430806348152,
108 test2: { v: 1.0, },
125 test2: 0.76159415595576,
149 test2: { v: 1.1752011936438},
166 test2: 1.0,
191 test2: { v: 1.5430806348152},
204 test2: 1.0,
[all …]
/arkcompiler/runtime_core/static_core/tests/verifier-tests/
Daccess_field_nomodifier_core.pa23 # return Test2.value;
28 # class Test2 {
41 .record pckg.Test2 {
46 pckg.Test2 obj <static>
52 ldstatic pckg.Test2.value # access to non-public field of a foreign class
/arkcompiler/runtime_core/tests/verifier-tests/
Daccess_field_nomodifier_core.pa23 # return Test2.value;
28 # class Test2 {
41 .record pckg.Test2 {
46 pckg.Test2 obj <static>
52 ldstatic pckg.Test2.value # access to non-public field of a foreign class
/arkcompiler/runtime_core/tests/checked/
Dinline.pa125 … force_jit: true, options: "--compiler-regex=Test2::main --compiler-inlining-max-insts=12", entry…
126 #! EVENT /Inline,Test2::main,Test2::func,.*VIRTUAL,LIMIT/
127 #! EVENT_NEXT /Inline,Test2::main,Test2::func,.*VIRTUAL,DEVIRTUALIZED/
128 #! EVENT_NEXT /Inline,Test2::main,Test2::small_func,.*VIRTUAL,SUCCESS/
131 … force_jit: true, options: "--compiler-regex=Test2::main --compiler-inlining-max-size=6", entry:…
132 #! EVENT /Inline,Test2::main,Test2::func,.*VIRTUAL,LIMIT/
133 #! EVENT_NEXT /Inline,Test2::main,Test2::func,.*VIRTUAL,DEVIRTUALIZED/
134 #! EVENT_NEXT /Inline,Test2::main,Test2::small_func,.*VIRTUAL,SUCCESS/
136 .record Test2 {}
138 .function i32 Test2.func(Test2 a0, i32 a1) {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dhoist_checkcast.sts71 //! RUN force_jit: true, options: "--compiler-regex='.*test2.*'", entry: "ETSGLOBAL::main2"
72 //! EVENT /Compilation,ETSGLOBAL::test2,.*,COMPILED/
73 //! EVENT /DeoptimizationReason,ETSGLOBAL::test2,CHECK_CAST/
74 //! METHOD "ETSGLOBAL::test2"
87 //! RUN_AOT options: "--compiler-regex='.*test2.*'"
91 //! RUN force_jit: true, options: "--compiler-regex='.*test2.*' --interpreter-type=cpp", e…
99 function test2(arr: Object[], value: A | B) : int {
116 if (test2(arr, new A()) != 5) {
119 if (test2(arr, new B()) != -1) {

123456789