Home
last modified time | relevance | path

Searched full:e (Results 1 – 25 of 2441) sorted by relevance

12345678910>>...98

/arkcompiler/ets_runtime/test/moduletest/number/
Dexpect_output.txt16 1.12356e-4
18 1.1111111111111111e+21
33 -1.1111111111111111e+21
48 1e+0
49 1.1e+1
50 1.12e+2
51 1e-1
52 1.1e-1
53 1.12e-1
54 -1e+0
[all …]
/arkcompiler/ets_runtime/test/aottest/pgo_extrainfomap_expand/
Dpgo_extrainfomap_expand.ts17 set e(a1) {} method in C1
20 set e(a2) {} method in C2
23 set e(a3) {} method in C3
26 set e(a4) {} method in C4
29 set e(a5) {} method in C5
32 set e(a6) {} method in C6
35 set e(a7) {} method in C7
38 set e(a8) {} method in C8
41 set e(a9) {} method in C9
44 set e(a10) {} method in C10
[all …]
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2e=>{var t=Object.prototype.toString,r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&… class in uc.Zc.tl.wl.Ll.nd.Vd.Xd.Qd.B
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/
DGLFrame.js37 function touchStart(e) { argument
38 document.addEventListener('contextmenu', function (e) { argument
39 e.preventDefault();
41 e.preventDefault();
44 e.touches[0].clientX,
45 e.touches[0].clientY
48 function touchMove(e) { argument
49 e.preventDefault();
52 e.touches[0].clientX,
53 e.touches[0].clientY
[all …]
DRightMenu.js92 for (let e of grp) {
93 if (e.type != 2) {
104 for (let e of grp) {
105 e.rect = [x, y, w, 32];
106 if (e.on) {
113 if (e.type == 2) {
114 e.rect = [x, y, w, 0];
121 e.name,
132 if (e.type == 0) {
133 if (e.hk) {
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Denum_indexing.sts16 enum E { a = 1, b = 2 };
18 let ill = E;
21 E[E.a];
22 (e: E.a) => E[e];
23 (e: E) => E[e];
26 E[1];
27 (e: E.a | E.b) => E[e];
28 (e: number) => E[e];
/arkcompiler/runtime_core/static_core/verification/util/
Dsaturated_enum.h37 template <typename Enum, Enum E>
38 class SaturatedEnum<Enum, E> {
40 SaturatedEnum &operator=(Enum e)
42 value_ = e;
46 SaturatedEnum &operator|=(Enum e)
48 Set(e);
52 bool operator[](Enum e) const
54 return Check(e, false);
71 bool Check(Enum e, bool prevSet) const in Check() argument
73 bool Check([[maybe_unused]] Enum e, bool prevSet) const in Check()
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/enums/
Dtest-ts-enum-11.ts17 namespace E { namespace
18 export enum E { enum
20 E = 1, enumerator
22 B = (() => {enum E{
24 E = 3,
26 E_2 = E + 10,
29 } return E.C + 5;})(),
34 print(E.E.E);
35 print(E.E.E_2);
36 print(E.E.B);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/02.floating_point_literals/
Dincorrect_float_literals.params.yaml17 - '0e'
18 - '0.0e'
19 - '0.0e+'
20 - '0.0e-'
21 - '0.0E'
22 - '0.0E+'
23 - '0.0E-'
25 - '.e'
26 - '.0e'
27 - '.0e+'
[all …]
Dfloat_literals.params.yaml29 - '0.0e+1'
30 - '0.0e-1'
31 - '0.0e-11'
35 - '0.0E+1'
36 - '0.0E-1'
37 - '0.0E-11'
40 - '.0e+1'
41 - '.0e-1'
45 - '.0E+1'
46 - '.0E-1'
[all …]
/arkcompiler/ets_runtime/test/moduletest/asmstackoverflow/
Dasmstackoverflow.js28 } catch (e) {
29 assert_equal(e instanceof RangeError, true);
38 } catch (e) {
39 assert_equal(e instanceof RangeError, true);
48 } catch (e) {
49 assert_equal(e instanceof RangeError, true);
67 } catch (e) {
68 assert_equal(e instanceof RangeError, true);
77 } catch (e) {
78 assert_equal(e instanceof RangeError, true);
[all …]
/arkcompiler/ets_runtime/test/jittest/load_element_from_float64_array/
Dexpect_output.txt15 print(hide(-1.47688022616793e-310) % hide( -1.47688022616793e-310));
16 print(hide(-1.47688022616793e-310) >> hide( -1.47688022616793e-310));
17 print(hide(-1.47688022616793e-310) >>> hide( -1.47688022616793e-310));
18 print(hide(-1.47688022616793e-310) << hide( -1.47688022616793e-310));
19 print(hide(-1.47688022616793e-310) | hide( -1.47688022616793e-310));
20 print(hide(-1.47688022616793e-310) % hide( NaN));
21 print(hide(-1.47688022616793e-310) >> hide( NaN));
22 print(hide(-1.47688022616793e-310) >>> hide( NaN));
23 print(hide(-1.47688022616793e-310) << hide( NaN));
24 print(hide(-1.47688022616793e-310) | hide( NaN));
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DReflectGetBadCases.sts58 } catch (e: Error) {
59 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
64 } catch (e: Error) {
65 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
70 } catch (e: Error) {
71 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
76 } catch (e: Error) {
77 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
82 } catch (e: Error) {
83 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Denum_as_expression_cast.sts16 enum E {
22 assert(E.A.toString()=="100") // E.A.toString()
23 assert(E.A as int==0) // cast(E.A) to int, E.A is a index
24 assert(E.B.toString()=="200") // E.B.toString()
25 assert(E.B as number==1) // cast(E.B) to number, E.B is a index
26 assert(E.A.valueOf() as int==100) // get value of E.A
27 assert(E.B.valueOf() as number==200) // get value of E.B
DAccessNBody.sts100 let e : double = 0.0;
104e += 0.5 * bodyi.mass * (bodyi.vx * bodyi.vx + bodyi.vy * bodyi.vy + bodyi.vz * bodyi.vz);
111 e -= (bodyi.mass * bodyj.mass) / distance;
114 return e;
125e+00, -1.16032004402742839e+00, -1.03622044471123109e-01, 1.66007664274403694e-03 * AccessNBody.DA…
128e+00, 4.12479856412430479e+00, -4.03523417114321381e-01, -2.76742510726862411e-03 * AccessNBody.DA…
131e+01, -1.51111514016986312e+01, -2.23307578892655734e-01, 2.96460137564761618e-03 * AccessNBody.DA…
134e+01, -2.59193146099879641e+01, 1.79258772950371181e-01, 2.68067772490389322e-03 * AccessNBody.DAY…
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js6 991: function(t, e, i) { argument
13 Object.defineProperty(e, "__esModule", {
16 e.launchEngine = e.loadModule = void 0;
36 const e = r[t];
37 null == e || e();
39 e.loadModule = o;
48 e.launchEngine = function() {
49 return new Promise(((t, e) => {
68 System.import("cc").then((e => {
70 e.macro.CLEANUP_IMAGE_CACHE = !1;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/11.tuple_types/
Dtt_n.params.yaml19 let e: [string, boolean] = ["A", true]
20 assert e[index] == true // only int indices allowed
23 let e: [string, boolean] = ["A", true]
24 assert e[2] == true // wrong index
27 let e: [string, boolean] = ["A", true]
28 assert e[-1] == true // wrong index
36 let e: [string, boolean] = ["A", true]
37 assert e[42 / getIndex()] == true // only const indices allowed
42 let e: [string, boolean] = ["A", true]
43 assert e[index] == true // only const indices allowed
[all …]
/arkcompiler/ets_frontend/es2panda/test/optimizer/js/opt-try-catch-func/
Dtest-raw-try-catch.js20 } catch (e) {
21 print(e);
35 } catch (e) {
36 print(e);
60 } catch (e) {
61 print(e);
79 } catch (e) {
80 print(e);
100 } catch (e) {
101 print(e);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/06.statements/02.multiple_catch_clauses_in_try_statements/
Dtry.params.yaml20 } catch (e: Ex) {
28 } catch (e) {
34 try {} catch (e: X) { return 1; } catch (e: Y) { return 1 }
35 catch (e: Fx) { return 1 } catch (e: Ex) { return 1 } catch (e) { return 1 }
42 } catch (e: X) {
43 } catch (e: Y) {
44 } catch (e) {
54 } catch (e: Fx) {
56 } catch (e: X) {
58 } catch (e) {
[all …]
Dfinally.params.yaml22 } catch (e: Ex) {
24 } catch (e) {
36 } catch (e: Ex) {
38 } catch (e) {
49 } catch (e: Ex) {
51 } catch (e: Er) {
64 } catch (e: Ex2) {
66 } catch (e: Er) {
78 } catch (e) {
92 } catch (e: Ex) {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/14.throw_statements/
Dthrow.params.yaml23 } catch (e: Ex) {
26 } catch (e) {
39 } catch (e: Ex) {
42 } catch (e) {
53 } catch (e) {
64 } catch (e: NullPointerError) {
66 } catch (e: Ex) {
69 } catch (e) {
81 } catch (e: NullPointerError) {
83 } catch (e: Exception) {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/11.enumerations/03.enumeration_operations/
Denum_ensure_not_nullish_interface.sts20 enum E {
27 e?: E;
31 let e: E
32 e = a?.e!
33 assert e == E.B
38 let p : I = {e: E.B}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/
Dbigint_from_double.sts24 } catch (e) {
25 return e.toString();
40 positiveTest("1000e-2", "10");
42 positiveTest("0e-6", "0");
43 positiveTest("0e+6", "0");
45 positiveTest(".e+4", "0");
46 positiveTest("+1e+1", "10");
48 positiveTest("-0.241e+5", "-24100");
50 positiveTest("-126000e-2", "-1260");
53 negativeTest("1e-7", "not an integer");
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/constructor_as_arg/error/
Derror.sts35 } catch (e) {
45 } catch (e) {
55 } catch (e) {
65 } catch (e) {
75 } catch (e) {
85 } catch (e) {
95 } catch (e) {
105 } catch (e) {
115 } catch (e) {
125 } catch (e) {
[all …]
/arkcompiler/ets_runtime/test/moduletest/moduleHandleException/
DmoduleHandleException.js26 }).catch((e) => {
27 print("first, " + e.toString());
34 }).catch((e) => {
35 print("same file, " + e.toString());
42 }).catch((e) => {
43 print("child file, " + e.toString());
50 }).catch((e) => {
51 print("parent file, " + e.toString());
55 import('./E.js').then((m) => {
58 }).catch((e) => {
[all …]

12345678910>>...98