Home
last modified time | relevance | path

Searched full:len (Results 1 – 25 of 988) sorted by relevance

12345678910>>...40

/arkcompiler/ets_runtime/test/aottest/builtinmath/
Dbuiltinmath.ts21 let len:number = 1; variable
22 len = 1 / Math.sqrt(len);
23 print(len);
25 len = 9 / len;
26 len = Math.sqrt(len);
27 print(len);
29 len = Math.sqrt(NaN);
30 print(len);
32 len = Math.sqrt(+0); // 0
33 print(len);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Pow/
DbuiltinMathPow.ts18 let len:number = 1;
22 len = Math.pow();
23 print(len); //: NaN
27 len = Math.pow(0);
28 print(len); //: NaN
32 len = Math.pow(2, 4, 6);
33 print(len); //: 16
37 len = Math.pow(2, NaN)
38 print(len) //: NaN
42 len = Math.pow(3, +0.0);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Cos/
DbuiltinMathCos.ts22 let len:number = 1; variable
25 len = Math.cos();
27 print(len); //: NaN
30 len = Math.cos(0);
32 print(len); //: 1
35 len = Math.cos(Math.PI / 2);
37 print(len); //: 6.123233995736766e-17
40 len = Math.cos(0, 0);
42 print(len); //: 1
45 len = Math.cos(0, 0, 0);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Atan2/
DbuiltinMathAtan2.ts22 let len:number = 1; variable
25 len = Math.atan2();
27 print(len); //: NaN
29 len = Math.atan2(NaN);
31 print(len); //: NaN
33 len = Math.atan2(NaN, NaN);
35 print(len); //: NaN
37 len = Math.atan2(0, NaN);
39 print(len); //: NaN
41 len = Math.atan2(NaN, 0);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Tan/
DbuiltinMathTan.ts22 let len:number = 1; variable
26 len = Math.tan();
27 print(len); //: NaN
30 len = Math.tan(NaN);
31 print(len); //: NaN
35 len = Math.tan(0);
36 print(len); //: 0
40 len = Math.tan(-1);
41 print(len); //: -1.5574077246549023
45 len = Math.tan(1);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Atanh/
DbuiltinMathAtanh.ts22 let len:number = 1; variable
25 len = Math.atanh();
27 print(len); //: NaN
29 len = Math.atanh(NaN);
31 print(len); //: NaN
34 len = Math.atanh(0);
36 print(len); //: 0
39 len = Math.atanh(0.5);
41 print(len); //: 0.5493061443340548
44 len = Math.atanh(-1);
[all …]
/arkcompiler/ets_runtime/test/aottest/check_dump/
Dcheck_dump.ts21 let len = 0; variable
25 len = Math.cos(1);
26 print(len);
30 len = Math.sin(0); // 0
31 print(len);
32 len = Math.sin(1); // 0.84
33 print(len);
34 len = Math.sin(Math.PI / 2);
35 print(len);
39 len = Math.sin(1)
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Sin/
DbuiltinMathSin.ts22 let len:number = 1; variable
25 len = Math.sin();
27 print(len); //: NaN
30 len = Math.sin(0);
32 print(len); //: 0
35 len = Math.sin(Math.PI / 2);
37 print(len); //: 1
40 len = Math.sin(0,0);
42 print(len); //: 0
45 len = Math.sin(0,0,0);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Cosh/
DbuiltinMathCosh.ts22 let len:number = 1; variable
25 len = Math.cosh();
27 print(len); //: NaN
29 len = Math.cosh(NaN);
31 print(len); //: NaN
34 len = Math.cosh(0);
36 print(len); //: 1
39 len = Math.cosh(-1);
41 print(len); //: 1.5430806348152437
44 len = Math.cosh(1);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Tanh/
DbuiltinMathTanh.ts22 let len:number = 1; variable
26 len = Math.tanh();
27 print(len); //: NaN
30 len = Math.tanh(NaN);
31 print(len); //: NaN
35 len = Math.tanh(0);
36 print(len); //: 0
40 len = Math.tanh(-1);
41 print(len); //: -0.7615941559557649
45 len = Math.tanh(1);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Sinh/
DbuiltinMathSinh.ts22 let len:number = 1; variable
25 len = Math.sinh();
27 print(len); //: NaN
29 len = Math.sinh(NaN);
31 print(len); //: NaN
34 len = Math.sinh(0);
36 print(len); //: 0
39 len = Math.sinh(-1);
41 print(len); //: -1.1752011936438014
44 len = Math.sinh(1);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Asinh/
DbuiltinMathAsinh.ts22 let len:number = 1; variable
25 len = Math.asinh();
27 print(len); //: NaN
29 len = Math.asinh(NaN);
31 print(len); //: NaN
34 len = Math.asinh(0);
36 print(len); //: 0
39 len = Math.asinh(-1);
41 print(len); //: -0.881373587019543
44 len = Math.asinh(1);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Acosh/
DbuiltinMathAcosh.ts22 let len:number = 1; variable
25 len = Math.acosh();
27 print(len); //: NaN
29 len = Math.acosh(NaN);
31 print(len); //: NaN
34 len = Math.acosh(0);
36 print(len); //: NaN
39 len = Math.acosh(-1);
41 print(len); //: NaN
44 len = Math.acosh(1);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Atan/
DbuiltinMathAtan.ts22 let len:number = 1; variable
25 len = Math.atan();
27 print(len); //: NaN
29 len = Math.atan(NaN);
31 print(len); //: NaN
34 len = Math.atan(0);
36 print(len); //: 0
39 len = Math.atan(-1); // -PI/4
41 print(len); //: -0.7853981633974483
44 len = Math.atan(1); // PI/4
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Acos/
DbuiltinMathAcos.ts22 let len:number = 1; variable
25 len = Math.acos();
27 print(len); //: NaN
29 len = Math.acos(NaN);
31 print(len); //: NaN
34 len = Math.acos(0); // PI / 2
36 print(len); //: 1.5707963267948966
39 len = Math.acos(-1); // PI
41 print(len); //: 3.141592653589793
44 len = Math.acos(1);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Asin/
DbuiltinMathAsin.ts22 let len:number = 1; variable
25 len = Math.asin();
27 print(len); //: NaN
29 len = Math.asin(NaN);
31 print(len); //: NaN
34 len = Math.asin(0);
36 print(len); //: 0
39 len = Math.asin(-1); // -PI/2
41 print(len); //: -1.5707963267948966
44 len = Math.asin(1); // PI/2
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Imul/
DbuiltinMathImul.ts36 let len:number = 1; variable
38 len = Math.imul(2, 3)
40 print(len) //: 6
43 len = Math.imul();
45 print(len); //: 0
48 len = Math.imul(0);
50 print(len); //: 0
53 len = Math.imul(2, 4, 6);
55 print(len); //: 8
58 len = Math.imul(2, NaN)
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/03.numeric_operator_contexts/unary_numeric_promotion/
Darray_creation.params.yaml16 - { type: byte, val: 42, len: 42 }
17 - { type: short, val: '0xff', len: 255 }
18 - { type: char, val: "c'A'", len: 65 }
19 - { type: Byte, val: new Byte(3 as byte), len: 3 }
20 - { type: Short, val: new Short(0x1ff as short), len: 511 }
21 - { type: Char, val: new Char(c' '), len: 32 }
22 - { type: Int, val: new Int(128), len: 128 }
23 - { type: float, val: 10.0, len: 10 }
24 - { type: double, val: 20.0, len: 20 }
25 - { type: Float, val: new Float(1.0 as float), len: 1 }
[all …]
Darray_access.params.yaml16 - { type: byte, val: 42, len: 42 }
17 - { type: short, val: '0xff', len: 255 }
18 - { type: char, val: "c'B'", len: 66 }
19 - { type: Byte, val: new Byte(127 as byte), len: 127 }
20 - { type: Short, val: new Short(0x1ff as short), len: 511 }
21 - { type: Char, val: new Char(c'\u0200'), len: 512 }
22 - { type: Int, val: new Int(129), len: 129 }
23 - { type: float, val: 10.0, len: 10 }
24 - { type: double, val: 20.0, len: 20 }
25 - { type: Float, val: new Float(1.0 as float), len: 1 }
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/js/lexicalEnv/forUpdate/
Dfor-update-continue-break-body-decl-body-outer-expected.txt1 check enter loop, len == 6: true
2 check enter loop, len == 6: true
3 check enter loop, len == 6: true
4 check enter loop, len == 6: true
5 check enter loop, len == 6: true
6 check exit loop, len == 6: true
Dfor-update-continue-break-head-decl-head-body-outer-expected.txt1 check enter loop, len == 6: true
2 check enter loop, len == 6: true
3 check enter loop, len == 6: true
4 check enter loop, len == 6: true
5 check enter loop, len == 6: true
6 check exit loop, len == 6: true
Dfor-update-continue-break-head-decl-body-outer-expected.txt1 check enter loop, len == 6: true
2 check enter loop, len == 6: true
3 check enter loop, len == 6: true
4 check enter loop, len == 6: true
5 check enter loop, len == 6: true
6 check exit loop, len == 6: true
Dfor-update-continue-break-body-decl-head-body-outer-expected.txt1 check enter loop, len == 6: true
2 check enter loop, len == 6: true
3 check enter loop, len == 6: true
4 check enter loop, len == 6: true
5 check enter loop, len == 6: true
6 check exit loop, len == 6: true
Dfor-update-continue-break-head-body-decl-head-body-outer-expected.txt1 check enter loop, len == 6: true
2 check enter loop, len == 6: true
3 check enter loop, len == 6: true
4 check enter loop, len == 6: true
5 check enter loop, len == 6: true
6 check exit loop, len == 6: true
/arkcompiler/toolchain/websocket/
Dnetwork.cpp37 ssize_t len = 0; in Recv() local
38 while ((len = recv(client, buf + recvLen, totalLen - recvLen, flags)) < 0 && in Recv()
42 if (len <= 0) { in Recv()
43 …LOGE("Recv payload in while failed, len = %{public}ld, errno = %{public}d", static_cast<long>(len)… in Recv()
46 recvLen += static_cast<size_t>(len); in Recv()
65 ssize_t len = send(client, buf + sendLen, totalLen - sendLen, flags); in Send() local
66 if (len <= 0) { in Send()
67 …LOGE("Send Message in while failed, len = %{public}ld, errno = %{public}d", static_cast<long>(len)… in Send()
70 sendLen += static_cast<size_t>(len); in Send()
75 uint64_t NetToHostLongLong(uint8_t* buf, uint32_t len) in NetToHostLongLong() argument
[all …]

12345678910>>...40