Home
last modified time | relevance | path

Searched full:result (Results 1 – 25 of 2742) sorted by relevance

12345678910>>...110

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/division/
Ddivision_float.params.yaml16 - { left: 0.0, right: 0.0, result: Float.NaN }
17 - { left: 1.0, right: 0.0, result: Float.POSITIVE_INFINITY }
18 - { left: -1.0, right: -0.0, result: Float.POSITIVE_INFINITY }
19 - { left: 1.0, right: -0.0, result: Float.NEGATIVE_INFINITY }
20 - { left: -1.0, right: 0.0, result: Float.NEGATIVE_INFINITY }
21 - { left: 0.0, right: 1.0, result: 0.0 }
22 - { left: 0.0, right: -1.0, result: -0.0 }
23 - { left: Float.NaN, right: 0.0, result: Float.NaN }
24 - { left: Float.NaN, right: Float.NaN, result: Float.NaN }
25 - { left: Float.NaN, right: 1.0, result: Float.NaN }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/subtraction/
Dsubtraction_float.params.yaml16 - { left: 0.0, right: 0.0, result: 0.0 }
17 - { left: +0.0, right: +0.0, result: 0.0 }
18 - { left: -0.0, right: -0.0, result: 0.0 }
19 - { left: -0.0, right: +0.0, result: 0.0 }
20 - { left: 1.0, right: 0.0, result: 1.0 }
21 - { left: -1.0, right: 0.0, result: -1.0 }
22 - { left: 0.0, right: 1.0, result: -1.0 }
23 - { left: Float.NaN, right: 0.0, result: Float.NaN }
24 - { left: Float.NaN, right: 1.0, result: Float.NaN }
25 - { left: Float.NaN, right: Float.NaN, result: Float.NaN }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/multiplication/
Dmultiplication_float.params.yaml16 - { left: 0.0, right: 0.0, result: 0.0 }
17 - { left: +0.0, right: +0.0, result: 0.0 }
18 - { left: -0.0, right: -0.0, result: 0.0 }
19 - { left: 1.0, right: 0.0, result: 0.0 }
20 - { left: -1.0, right: 0.0, result: 0.0 }
21 - { left: Float.NaN, right: 0.0, result: Float.NaN }
22 - { left: Float.NaN, right: Float.NaN, result: Float.NaN }
23 - { left: Float.POSITIVE_INFINITY, right: 0.0, result: Float.NaN }
24 - { left: Float.NEGATIVE_INFINITY, right: 0.0, result: Float.NaN }
25 - { left: Float.POSITIVE_INFINITY, right: -1.0, result: Float.NEGATIVE_INFINITY }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/addition/
Daddition_float.params.yaml16 - { left: 0.0, right: 0.0, result: 0.0 }
17 - { left: +0.0, right: +0.0, result: 0.0 }
18 - { left: -0.0, right: -0.0, result: 0.0 }
19 - { left: 1.0, right: 0.0, result: 1.0 }
20 - { left: -1.0, right: 0.0, result: -1.0 }
21 - { left: Float.NaN, right: 0.0, result: Float.NaN }
22 - { left: Float.NaN, right: Float.NaN, result: Float.NaN }
23 - { left: Float.POSITIVE_INFINITY, right: 0.0, result: Float.POSITIVE_INFINITY }
24 - { left: Float.POSITIVE_INFINITY, right: -1.0, result: Float.POSITIVE_INFINITY }
25 - { left: Float.POSITIVE_INFINITY, right: Float.POSITIVE_INFINITY, result: Float.POSITIVE_INFINITY }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/equal/
Dequal_float.params.yaml16 - { left: 0.0, right: 0.0, result: "true" }
17 - { left: 1.0, right: 0.0, result: "false" }
18 - { left: 0.0, right: 1.0, result: "false" }
19 - { left: 1.0, right: 1.0, result: "true" }
20 - { left: -1.0, right: 0.0, result: "false" }
21 - { left: -1.0, right: 1.0, result: "false" }
22 - { left: -1.0, right: -1.0, result: "true" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "false" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "false" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "false" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/less_or_equal/
Dless_or_equal_float.params.yaml16 - { left: 0.0, right: 0.0, result: "true" }
17 - { left: 1.0, right: 0.0, result: "false" }
18 - { left: 0.0, right: 1.0, result: "true" }
19 - { left: 1.0, right: 1.0, result: "true" }
20 - { left: -1.0, right: 0.0, result: "true" }
21 - { left: -1.0, right: 1.0, result: "true" }
22 - { left: -1.0, right: -1.0, result: "true" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "false" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "true" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "false" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/not_equal/
Dnot_equal_float.params.yaml16 - { left: 0.0, right: 0.0, result: "false" }
17 - { left: 1.0, right: 0.0, result: "true" }
18 - { left: 0.0, right: 1.0, result: "true" }
19 - { left: 1.0, right: 1.0, result: "false" }
20 - { left: -1.0, right: 0.0, result: "true" }
21 - { left: -1.0, right: 1.0, result: "true" }
22 - { left: -1.0, right: -1.0, result: "false" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "true" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "true" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "true" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/greater_than/
Dgreater_than_float.params.yaml16 - { left: 0.0, right: 0.0, result: "false" }
17 - { left: 1.0, right: 0.0, result: "true" }
18 - { left: 0.0, right: 1.0, result: "false" }
19 - { left: 1.0, right: 1.0, result: "false" }
20 - { left: -1.0, right: 0.0, result: "false" }
21 - { left: -1.0, right: 1.0, result: "false" }
22 - { left: -1.0, right: -1.0, result: "false" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "true" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "false" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "true" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/greater_or_equal/
Dgreater_or_equal_float.params.yaml16 - { left: 0.0, right: 0.0, result: "true" }
17 - { left: 1.0, right: 0.0, result: "true" }
18 - { left: 0.0, right: 1.0, result: "false" }
19 - { left: 1.0, right: 1.0, result: "true" }
20 - { left: -1.0, right: 0.0, result: "false" }
21 - { left: -1.0, right: 1.0, result: "false" }
22 - { left: -1.0, right: -1.0, result: "true" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "true" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "false" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "true" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/less_than/
Dless_than_float.params.yaml16 - { left: 0.0, right: 0.0, result: "false" }
17 - { left: 1.0, right: 0.0, result: "false" }
18 - { left: 0.0, right: 1.0, result: "true" }
19 - { left: 1.0, right: 1.0, result: "false" }
20 - { left: -1.0, right: 0.0, result: "true" }
21 - { left: -1.0, right: 1.0, result: "true" }
22 - { left: -1.0, right: -1.0, result: "false" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "false" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "true" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "false" }
[all …]
/arkcompiler/runtime_core/libabckit/tests/stress/
Dfail_list_sts_with_runtime.json2 "/tmp/abckit_test_ets/algorithms/ChecksumsTest.sts": "ETS Test result changed. Was 0, now 1",
3 "/tmp/abckit_test_ets/algorithms/SortingTest.sts": "ETS Test result changed. Was 0, now 1",
4 "/tmp/abckit_test_ets/algorithms/TreeSanityTest.sts": "ETS Test result changed. Was 0, now 1",
5 "/tmp/abckit_test_ets/escompat/ArrayGet.sts": "ETS Test result changed. Was 0, now 1",
6 "/tmp/abckit_test_ets/escompat/ArrayTest1.sts": "ETS Test result changed. Was 0, now 1",
7 "/tmp/abckit_test_ets/escompat/ArrayTest2.sts": "ETS Test result changed. Was 0, now 1",
8 "/tmp/abckit_test_ets/escompat/ArrayTest3.sts": "ETS Test result changed. Was 0, now 1",
9 "/tmp/abckit_test_ets/escompat/ArrayTest4.sts": "ETS Test result changed. Was 0, now 1",
10 "/tmp/abckit_test_ets/escompat/ArrayTest6.sts": "ETS Test result changed. Was 0, now 1",
11 "/tmp/abckit_test_ets/escompat/IteratorArrayTest.sts": "ETS Test result changed. Was 0, now 1",
[all …]
Dstress_sts_with_runtime.py26 from stress_test import Test, Result
54 def run_single(self, test: Test) -> Result:
55 result: Result = super().run_single(test)
56 if result.result != "0":
57 return result
59 if test_result_one.result != 0:
61 return Result(test.source, "0", result.stdout, result.stderr)
65 if test_result_two.result == 0:
66 return Result(test.source, "0")
68 if test_result_one.result != test_result_two.result:
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Diterators_test.cpp26 void CheckInstForwardIterator(BasicBlock *block, std::vector<Inst *> &result) in CheckInstForwardIterator() argument
28 result.clear(); in CheckInstForwardIterator()
30 result.push_back(inst); in CheckInstForwardIterator()
32 EXPECT_EQ(result, expectPhis_); in CheckInstForwardIterator()
34 result.clear(); in CheckInstForwardIterator()
36 result.push_back(inst); in CheckInstForwardIterator()
38 EXPECT_EQ(result, expectInsts_); in CheckInstForwardIterator()
40 result.clear(); in CheckInstForwardIterator()
42 result.push_back(inst); in CheckInstForwardIterator()
44 EXPECT_EQ(result, expectAll_); in CheckInstForwardIterator()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/02.string_comparison_operators/
Dstring_comparison.params.yaml16 - {left: '', right: '', op: "<", result: "false"}
17 - {left: ' ', right: '', op: "<", result: "false"}
18 - {left: '', right: '\n', op: "<", result: "true"}
19 - {left: '\r', right: '', op: "<", result: "false"}
20 - {left: "'aa", right: "'aa", op: "<", result: "false"}
21 - {left: 'aa', right: 'aaa', op: "<", result: "true"}
22 - {left: 'ac', right: 'dc', op: "<", result: "true"}
23 - {left: 'AAAAAB', right: 'AAAAAAA', op: "<", result: "false"}
24 - {left: 'AAAAAA', right: 'aaaaaa', op: "<", result: "true"}
25 - {left: '~', right: '~A', op: "<", result: "true"}
[all …]
/arkcompiler/toolchain/tooling/base/
Dpt_returns.cpp21 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
23 result->Add("debuggerId", std::to_string(debuggerId_).c_str()); in ToJson()
29 result->Add("protocols", array); in ToJson()
31 return result; in ToJson()
36 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
42 result->Add("protocols", array); in ToJson()
44 return result; in ToJson()
49 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
51 result->Add("breakpointId", id_.c_str()); in ToJson()
59 result->Add("locations", array); in ToJson()
[all …]
Dpt_events.cpp21 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
22 result->Add("breakpointId", breakpointId_.c_str()); in ToJson()
24 result->Add("location", location_->ToJson()); in ToJson()
28 object->Add("params", result); in ToJson()
35 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
43 result->Add("callFrames", array); in ToJson()
44 result->Add("reason", reason_.c_str()); in ToJson()
47 result->Add("data", data_.value()->ToJson()); in ToJson()
55 result->Add("hitBreakpoints", breakpoints); in ToJson()
60 object->Add("params", result); in ToJson()
[all …]
/arkcompiler/ets_runtime/test/moduletest/arraySome/
DarraySome.js19 const result = [1, 2, 3].some((x, i, arr) => { variable
23 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: true
28 const result = [1, 2, 3].some((x, i, arr) => { variable
32 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: false
37 const result = [].some((x, i, arr) => { variable
41 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: false
46 const result = [false, 0, ''].some((x, i, arr) => { variable
50 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: false
55 const result = [1, 2, 3].some((x, i, arr) => { variable
59 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: true
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/01.numerical_equality_operators/
Dnumeric_equality.params.yaml16 - {left: "5", right: "5", op: "==", result: "true"}
17 - {left: "10", right: "5", op: "!=", result: "true"}
18 - {left: "5", right: "5", op: "!=", result: "false"}
19 - {left: "10", right: "5", op: "==", result: "false"}
20 - {left: "1", right: "1.0", op: "==", result: "true"}
21 - {left: "0", right: "0.5", op: "!=", result: "true"}
22 - {left: "0", right: "-0", op: "==", result: "true"}
24 - {left: "new Int(5)", right: "new Int(5)", op: "==", result: "true"}
25 - {left: "new Long(10)", right: "new Long(5)", op: "!=", result: "true"}
26 - {left: "new Short(5 as short)", right: "new Short(5 as short)", op: "!=", result: "false"}
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/22.additive_expressions/02.additive_operators_for_numeric_types/
Dint.params.yaml16 - {x: 0, y: -0, type: "byte", result: 0}
17 - {x: -0, y: 0, type: "byte", result: 0}
18 - {x: -0, y: -0, type: "byte", result: -0}
19 - {x: 0, y: 0, type: "byte", result: 0}
20 - {x: 0, y: 1, type: "byte", result: 1}
21 - {x: 1, y: 0, type: "byte", result: 1}
22 - {x: 1, y: -1, type: "byte", result: 0}
24 - {x: 0, y: -0, type: "short", result: 0}
25 - {x: -0, y: 0, type: "short", result: 0}
26 - {x: -0, y: -0, type: "short", result: -0}
[all …]
/arkcompiler/runtime_core/compiler/tests/
Diterators_test.cpp33 std::vector<Inst *> result; in Check() local
35 result.push_back(inst); in Check()
37 EXPECT_EQ(result, expect_phis_); in Check()
39 result.clear(); in Check()
41 result.push_back(inst); in Check()
43 EXPECT_EQ(result, expect_insts_); in Check()
45 result.clear(); in Check()
47 result.push_back(inst); in Check()
49 EXPECT_EQ(result, expect_all_); in Check()
52 result.clear(); in Check()
[all …]
/arkcompiler/ets_runtime/test/moduletest/arrayfindindex/
Darrayfindindex.js59 const result = [1, 2, 3, 4].findIndex((x, i, arr) => { variable
63 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: 2
68 const result = [1, 2, 3, 4].findIndex((x, i, arr) => { variable
72 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: -1
77 const result = [].findIndex((x, i, arr) => { variable
81 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: -1
86 const result = [false, 0, ''].findIndex((x, i, arr) => { variable
90 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: 0
95 const result = [1, 2, 3, 4].findIndex((x, i, arr) => { variable
99 print("Log:", JSON.stringify(log), "Result:", JSON.stringify(result)); // Result: 2
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DObject.sts122 let result: int = 0
144 result += strArraysAreEqual(Object.keys(c), emptyArr) ? 0 : 1
145 result += strArraysAreEqual(Object.keys(bo), emptyArr) ? 0 : 1
146 result += strArraysAreEqual(Object.keys(bt), emptyArr) ? 0 : 1
147 result += strArraysAreEqual(Object.keys(sh), emptyArr) ? 0 : 1
148 result += strArraysAreEqual(Object.keys(i), emptyArr) ? 0 : 1
149 result += strArraysAreEqual(Object.keys(lo), emptyArr) ? 0 : 1
150 result += strArraysAreEqual(Object.keys(fl), emptyArr) ? 0 : 1
151 result += strArraysAreEqual(Object.keys(dou), emptyArr) ? 0 : 1
153 result += strArraysAreEqual(Object.keys(arr), ["0", "1", "2"]) ? 0 : 1
[all …]
/arkcompiler/ets_runtime/test/moduletest/arrayconstructor/
Darrayconstructor.js25 let result = custom.concat([4, 5]);
26 print("concat:", result instanceof CustomArray); // true
29 result = custom.map(x => x * 2);
30 print("map:", result instanceof CustomArray); // true
33 result = custom.filter(x => x > 1);
34 print("filter:", result instanceof CustomArray); // true
37 result = custom.slice(1);
38 print("slice:", result instanceof CustomArray); // true
41 result = custom.flatMap(x => [x, x * 2]);
42 print("flatMap:", result instanceof CustomArray); // true
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/unsigned_right_shift/
Dunsigned_right_shift_int.params.yaml16 - { left: 0, right: 1, result: 0 }
17 - { left: 0, right: 31, result: 0 }
18 - { left: 1, right: 1, result: 0 }
19 - { left: 1, right: 31, result: 0 }
20 - { left: -1, right: 1, result: Int.MAX_VALUE }
21 - { left: -1, right: 31, result: 1 }
22 - { left: -1, right: 30, result: 3 }
23 - { left: Int.MIN_VALUE, right: 1, result: 1073741824 }
24 - { left: Int.MIN_VALUE, right: 31, result: 1 }
25 - { left: Int.MAX_VALUE, right: 1, result: '0x3fffffff' }
[all …]
Dunsigned_right_shift_byte.params.yaml16 - { left: 0, right: 1, result: 0 }
17 - { left: 0, right: 7, result: 0 }
18 - { left: 1, right: 1, result: 0 }
19 - { left: 1, right: 7, result: 0 }
20 - { left: -1, right: 1, result: Int.MAX_VALUE }
21 - { left: -1, right: 31, result: 1 }
22 - { left: -1, right: 30, result: 3 }
23 - { left: "Byte.MIN_VALUE", right: 1, result: "0x40" }
24 - { left: "Byte.MIN_VALUE", right: 31, result: 1 }
25 - { left: "Byte.MAX_VALUE", right: 1, result: 63 }
[all …]

12345678910>>...110