Home
last modified time | relevance | path

Searched refs:testArray (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/test/aottest/range_guard/
Drange_guard.ts18 let testArray: Int32Array = new Int32Array([1, 2, 3]);
19 let len: number = testArray.length;
20 let a: number = testArray[0];
26 let testArray: Int32Array = new Int32Array([1, 2, 3]);
27 let a: number = testArray[0];
28 let len: number = testArray.length - 1;
34 let testArray: Int32Array = new Int32Array([1, 2, 3]);
35 let len: number = testArray.length;
39 sum += testArray[i];
44 let testArray: Int32Array = new Int32Array([1, 2, 3]);
[all …]
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_arraylist.js51 let testArray = [] variable
55 testArray.push(i)
58 for(let i = 0; i < testArray.length; i++) {
59 if (proxy[i] !== testArray[i]) {
72 for(let i = 0; i < testArray.length; i++) {
73 if (array[i] !== testArray[i]) {
82 for(let i = 0; i < testArray.length; i++) {
83 if (newArrayList[i] !== testArray[i]) {
90 testArray.splice(3, 0, 999)
92 for(let i = 0; i < testArray.length; i++) {
[all …]
Dcontainer_vector.js85 let testArray = [] variable
89 testArray.push(i)
92 for(let i = 0; i < testArray.length; i++) {
93 if (proxy[i] !== testArray[i]) {
110 for(let i = 0; i < testArray.length; i++) {
111 if (array[i] !== testArray[i]) {
119 for(let i = 0; i < testArray.length; i++) {
120 if (newVector[i] !== testArray[i]) {
127 testArray.splice(3, 0, 999)
129 for(let i = 0; i < testArray.length; i++) {
[all …]
Dcontainer_deque.js30 let testArray = [] variable
33 testArray.push(i)
40 for(let i = 0; i < testArray.length; i++) {
41 if (proxy[i] !== testArray[i]) {
49 testArray.push(i)
53 for(let i = 0; i < testArray.length; i++) {
54 if (proxy[i] !== testArray[i]) {
62 if (d !== testArray[i]) {
72 if (data !== testArray[j]) {
79 testdProxyArray1(proxy, res, testArray);
Dcontainer_list.js26 const testArray = []; variable
31 testArray.push(i);
48 testArray.push(10);
54 testArray.splice(10, 1);
56 for(let i = 0; i < testArray.length; i++) {
57 if (list[i] !== testArray[i]) {
64 testArray.splice(9, 1);
66 for(let i = 0; i < testArray.length; i++) {
67 if (list[i] !== testArray[i]) {
70 testArray[i] = testArray[i] * 2;
[all …]
Dcontainer_stack.js30 let testArray = [] variable
38 testArray.push(i)
45 for (let i = 0; i < testArray.length; i++) {
46 if (proxy[i] !== testArray[i]) {
54 if (d !== testArray[i]) {
64 if (data !== testArray[j]) {
70 testdProxyArray1(proxy, res, testArray);
Dcontainer_plainarray.js29 let testArray = ["0", "1", "2", "3", "4", "5"] variable
38 for(let i = 0; i < testArray.length; i++) {
39 if (proxy[i] !== testArray[i]) {
54 for(let i = 0; i < testArray.length; i++) {
55 if (newPlainArray[i] !== testArray[i]) {
62 testArray.splice(3, 1)
66 testArray.splice(2, 1)
68 for(let i = 0; i < testArray.length; i++) {
69 if (proxy.get(i) !== testArray[i]) {
76 testArray.splice(1, 2)
Dcontainer_linked_list.js26 let testArray = []; variable
30 testArray.push(i);
39 testArray.splice(9, 1);
41 for(let i = 0; i < testArray.length; i++) {
42 if (list[i] !== testArray[i]) {
49 testArray.splice(8, 1);
51 for(let i = 0; i < testArray.length; i++) {
52 if (list[i] !== testArray[i]) {
62 testArray.splice(3, 0, 999);
64 for(let i = 0; i < testArray.length; i++) {
[all …]
Dcontainer_queue.js33 let testArray = [] variable
37 testArray.push(i)
41 for(let i = 0; i < testArray.length; i++) {
42 if (proxy[i] !== testArray[i]) {
50 if (d !== testArray[i]) {
60 if (data !== testArray[j]) {
66 testdProxyArray1(proxy, res, testArray);
Dutility.js93 export function testdProxyArray1(proxy, res, testArray) { argument
103 if (testArray1[k] !== testArray[k]) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/17.Experimental_Features/Iterable_Types/
Dfor-of-s01-string-01.sts26 …let testArray : char[] = [c'a', c' ', c's', c't', c'r', c'i', c'n', c'g', c' ', c'o', c'b', c'j', …
28 if (ch != testArray[index]) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DReadonlyArrayTest.sts149 const testArray: ReadonlyArray<Number> = Arrays.copy(TEST_ARRAY);
150 …const everyResult = testArray.every((n: Number, i: number, ns: ReadonlyArray<Number>) => n >= -5 &…