Home
last modified time | relevance | path

Searched full:new (Results 1 – 25 of 3870) sorted by relevance

12345678910>>...155

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/03.bigint_equality_operators/
Deq.params.yaml19 - new BigInt(0 as long)
20 - new BigInt(0.0f)
21 - new BigInt(-0.0)
22 - new BigInt(-(new BigInt(0)))
25 - new BigInt(+1 as byte)
26 - new BigInt(+1 as short)
27 - new BigInt(+1.0)
28 - new BigInt(+1n)
31 - new BigInt(-1 as short)
32 - new BigInt(-1)
[all …]
Dne1.params.yaml19 - new BigInt(0 as long)
20 - new BigInt(0.0f)
21 - new BigInt(-0.0)
22 - new BigInt(-(new BigInt(0)))
25 - new BigInt(+1 as byte)
26 - new BigInt(+1 as short)
27 - new BigInt(+1.0)
28 - new BigInt(+1n)
31 - new BigInt(-1 as short)
32 - new BigInt(-1)
[all …]
Dne2.params.yaml19 - new BigInt(0 as long)
20 - new BigInt(0.0f)
21 - new BigInt(-0.0)
22 - new BigInt(-(new BigInt(0)))
25 - new BigInt(+1 as byte)
26 - new BigInt(+1 as short)
27 - new BigInt(+1.0)
28 - new BigInt(+1n)
31 - new BigInt(-1 as short)
32 - new BigInt(-1)
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/
DFaultAttrs.ts28 faultsAttrs[FaultID.LiteralAsPropertyName] = new FaultAttributes(1);
29 faultsAttrs[FaultID.ComputedPropertyName] = new FaultAttributes(1);
30 faultsAttrs[FaultID.SymbolType] = new FaultAttributes(2);
31 faultsAttrs[FaultID.PrivateIdentifier] = new FaultAttributes(3);
32 faultsAttrs[FaultID.DeclWithDuplicateName] = new FaultAttributes(4);
33 faultsAttrs[FaultID.VarDeclaration] = new FaultAttributes(5);
34 faultsAttrs[FaultID.AnyType] = new FaultAttributes(8);
35 faultsAttrs[FaultID.UnknownType] = new FaultAttributes(8);
36 faultsAttrs[FaultID.CallSignature] = new FaultAttributes(14);
37 faultsAttrs[FaultID.ConstructorType] = new FaultAttributes(15);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/03.bigint_relational_operators/
Dlt.params.yaml19 - new BigInt(0 as long)
20 - new BigInt(0.0f)
21 - new BigInt(-0.0)
22 - new BigInt(-(new BigInt(0)))
25 - new BigInt(+1 as byte)
26 - new BigInt(+1 as short)
27 - new BigInt(+1.0)
28 - new BigInt(+1n)
31 - new BigInt(-1 as short)
32 - new BigInt(-1)
[all …]
Dgt.params.yaml19 - new BigInt(0 as long)
20 - new BigInt(0.0f)
21 - new BigInt(-0.0)
22 - new BigInt(-(new BigInt(0)))
25 - new BigInt(+1 as byte)
26 - new BigInt(+1 as short)
27 - new BigInt(+1.0)
28 - new BigInt(+1n)
31 - new BigInt(-1 as short)
32 - new BigInt(-1)
[all …]
Dge.params.yaml19 - new BigInt(0 as long)
20 - new BigInt(0.0f)
21 - new BigInt(-0.0)
22 - new BigInt(-(new BigInt(0)))
25 - new BigInt(+1 as byte)
26 - new BigInt(+1 as short)
27 - new BigInt(+1.0)
28 - new BigInt(+1n)
31 - new BigInt(-1 as short)
32 - new BigInt(-1)
[all …]
Dle.params.yaml19 - new BigInt(0 as long)
20 - new BigInt(0.0f)
21 - new BigInt(-0.0)
22 - new BigInt(-(new BigInt(0)))
25 - new BigInt(+1 as byte)
26 - new BigInt(+1 as short)
27 - new BigInt(+1.0)
28 - new BigInt(+1n)
31 - new BigInt(-1 as short)
32 - new BigInt(-1)
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DBigInt2.sts17 assert new BigInt(0).operatorLeftShift(new BigInt(0)) == (0n);
18 assert new BigInt(0).operatorLeftShift(new BigInt(1)) == (0n);
19 assert new BigInt(1).operatorLeftShift(new BigInt(0)) == (1n);
20 assert new BigInt(10).operatorLeftShift(new BigInt(2)) == (40n);
21 assert new BigInt(255).operatorLeftShift(new BigInt(41)) == (560750930165760n);
22 assert new BigInt(65535).operatorLeftShift(new BigInt(60)) == (75556710804409716572160n);
23 assert new BigInt(4294967295).operatorLeftShift(new BigInt(5)) == (137438953440n);
24 …assert new BigInt(18446744073709551615n).operatorLeftShift(new BigInt(6)) == (11805916207174113033…
25 …assert new BigInt(1275418875248948586535904902545412130n).operatorLeftShift(new BigInt(123)) == (1…
26 …assert new BigInt(2).operatorLeftShift(new BigInt(218)) == (84249833334845749358334422146936345855…
[all …]
DBigInt4.sts17 assert new BigInt(10).operatorDivide(new BigInt(3)) == (3n);
18 assert new BigInt(-10).operatorDivide(new BigInt(3)) == (-3n);
19 assert new BigInt(10).operatorDivide(new BigInt(-3)) == (-3n);
20 assert new BigInt(-10).operatorDivide(new BigInt(-3)) == (3n);
21 assert new BigInt(100).operatorDivide(new BigInt(50)) == (2n);
22 assert new BigInt(100).operatorDivide(new BigInt(-50)) == (-2n);
23 assert new BigInt(-100).operatorDivide(new BigInt(50)) == (-2n);
24 assert new BigInt(-100).operatorDivide(new BigInt(-50)) == (2n);
25 …assert new BigInt(3124378143267041203423n).operatorDivide(new BigInt(43621978)) == (71623944775430…
26 …assert new BigInt(-3124378143267041203423n).operatorDivide(new BigInt(43621978)) == (-716239447754…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/
Dunboxing2_call.params.yaml19 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)]
23 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)]
27 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)]
31 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)]
35 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)]
40 values: ["new Char(c'\\u0000')", "new Char(c'X')", "new Char(c'\\uffff')"]
44 values: ["new Char(c'\\u0000')", "new Char(c'X')", "new Char(c'\\uffff')"]
48 values: ["new Char(c'\\u0000')", "new Char(c'X')", "new Char(c'\\uffff')"]
52 values: ["new Char(c'\\u0000')", "new Char(c'X')", "new Char(c'\\uffff')"]
57 values: [new Short(Short.MIN_VALUE), new Short(255 as short)]
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_no_structural_typing.sts29 const sc1:SC1 = new SC1();
30 const nc1:NC1 = new NC1();
31 const sc2:SC2 = new SC2();
32 const nc2:NC2 = new NC2();
33 const sct1:SCT1<number> = new SCT1();
34 const nct1:NCT1<number> = new NCT1();
35 const sct2:SCT2<number> = new SCT2();
36 const nct2:NCT2<number> = new NCT2();
41 let a1: SC1 = new NC1(); // ERROR
42 a1 = new NC1();// ERROR
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/decl_var/
Ddecl-var.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/decl_const/
Ddecl-const.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/comp_obj/
Dcomp-intf.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
Dcomp-clss.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_cons/
Dcall-cons.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/assn_var/
Dassn-var.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/decl_field/
Ddecl-field.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_meth/
Dcall-meth.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/comp_arr/
Dcomp-arr.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_func/
Dcall-func.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_lmbd/
Dcall-lmbd_n.params.yaml19 - { expr: new Byte(), val: 0 }
20 - { expr: new Byte(127 as byte), val: 127 }
21 - { expr: new Byte(-128 as byte), val: -128 }
26 - { expr: new Byte(), val: 0 }
27 - { expr: new Byte(127 as byte), val: 127 }
28 - { expr: new Byte(-128 as byte), val: -128 }
33 - { expr: new Byte(), val: 0 }
34 - { expr: new Byte(127 as byte), val: 127 }
35 - { expr: new Byte(-128 as byte), val: -128 }
40 - { expr: new Byte(), val: 0.0 as float }
[all …]
/arkcompiler/toolchain/tooling/test/testcases/js/
Dvariable_first.js20 var boolean0 = new Boolean(0);
28 var map0 = new Map();
29 var set0 = new Set();
40 var arraybuffer0 = new ArrayBuffer(24);
41 var uint8array0 = new Uint8Array(arraybuffer0);
42 const dataview0 = new DataView(arraybuffer0, 0);
44 var typedarray0 = new Uint8Array();
45 var sharedarraybuffer0 = new SharedArrayBuffer(32);
47 var weakref0 = new WeakRef(obj0);
49 var set1 = new Set();
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/19.packages/03.import_and_overloading_of_function_names/
Dpkgs_ab3.params.yaml20 …- arg1: 'new Byte(127 as byte), new Short(-128 as short), new Int(), new Long(-1 as long), new Flo…
21 …2: "new Byte(127 as byte), new Short(-128 as short), new Int(), new Long(-1 as long), new Float(-0…
28 let a2: Int[] = [new Int(), new Int(1)]
31 - arg1: '[new A3(), new A3()], [new B3(), new B3()]'
32 arg2: '[new A3(), new A3()], [new A3(), new A3()]'
50 return [p1, p2, p3, p4, p5, p6, p7, new Char(c'1')]
63 - arg1: 'new B8(), new A8()'
64 arg2: 'new A8(), new B8()'
69 - arg1: 'new A9()'
70 arg2: 'new B9()'
[all …]

12345678910>>...155