Home
last modified time | relevance | path

Searched refs:Int32Array (Results 1 – 25 of 75) sorted by relevance

123

/arkcompiler/ets_runtime/test/aottest/typedarray_load_store/
Dtypedarray_load_store.ts24 function GenerateFakeRandomInteger(): Int32Array {
25 …let resource: Int32Array = new Int32Array([12, 43, 56, 76, 89, 54, 45, 32, 35, 47, 46, 44, 21, 37,…
34 function GenerateFakeRandomIndex(): Int32Array {
35 …let resource: Int32Array = new Int32Array([3, 14, 44, 25, 91, 38, 82, 88, 64, 81, 70, 90, 33, 63, …
40 function IntegerArray(res: Int32Array) {
42 let integerIndexes: Int32Array = GenerateFakeRandomIndex();
43 let resources: Int32Array = GenerateFakeRandomInteger();
60 let arr1 = new Int32Array(buffer, 20, 4);
65 let arr2 = new Int32Array(buffer, 28, 5);
70 let arr3 = new Int32Array(buffer, 0, 5);
[all …]
/arkcompiler/ets_runtime/test/aottest/range_guard/
Drange_guard.ts18 let testArray: Int32Array = new Int32Array([1, 2, 3]);
26 let testArray: Int32Array = new Int32Array([1, 2, 3]);
34 let testArray: Int32Array = new Int32Array([1, 2, 3]);
44 let testArray: Int32Array = new Int32Array([1, 2, 3]);
/arkcompiler/ets_runtime/test/aottest/array_bounds_check_elimination/
Darray_bounds_check_elimination.ts36 function clear2(b: Int32Array[], x: number) {
55 let b: Int32Array[] = [1, 2, 3];
73 let arr: Int32Array = new Int32Array(1000);
74 let arr2: Int32Array = new Int32Array(1000);
/arkcompiler/ets_runtime/test/aottest/ts_multi_inline_deopt/
Dts_multi_inline_deopt.ts18 function GenerateArray(): Int32Array {
19 …let resource: Int32Array = new Int32Array([12, 43, 56, 76, 89, 54, 45, 32, 35, 47, 46, 44, 21, 37,…
43 function RunNormalCall(resources: Int32Array):number {
54 let resources : Int32Array = GenerateArray();
/arkcompiler/ets_runtime/test/aottest/loop_peeling/
Dloop_peeling.ts25 let arr = new Int32Array([1, 2, 3, 4]);
26 function foo2(u : Int32Array) {
37 let arr2 = new Int32Array([0, 0, 0, 0]);
38 function foo3(u : Int32Array, v : Int32Array) {
/arkcompiler/ets_runtime/test/aottest/ts_inline_deopt_loop/
Dts_inline_deopt_loop.ts18 function GenerateArray(): Int32Array {
19 …let resource: Int32Array = new Int32Array([12, 43, 56, 76, 89, 54, 45, 32, 35, 47, 46, 44, 21, 37,…
44 let resources : Int32Array = GenerateArray();
/arkcompiler/ets_runtime/test/typeinfer/workload1/
Dworkload1.ts31 function GenerateFakeRandomInteger(): Int32Array {
32 …let resource: Int32Array = new Int32Array([12, 43, 56, 76, 89, 54, 45, 32, 35, 47, 46, 44, 21, 37,…
36 let arr: Int32Array = GenerateFakeRandomInteger()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dlib_ark_builtins.d.ts1259 declare class Int32Array extends Object {
1270 prototype: Int32Array;
1272 constructor(length: number): Int32Array;
1274 constructor(array: ArrayLike<number> | ArrayBufferLike): Int32Array;
1276 constructor(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int32Array;
1278 constructor(elements: Iterable<number>): Int32Array;
1280 constructor(): Int32Array;
1282 static of(...items: number[]): Int32Array;
1284 static from(arrayLike: ArrayLike<number>): Int32Array;
1286 …ic from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;
[all …]
/arkcompiler/ets_runtime/test/moduletest/flatten/
Dflatten.js25 const v17 = new Int32Array();
28 Int32Array();
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DAtomics.ets219 // Int32Array
221 public static add(typedArray: Int32Array, index: int, value: int): int {
225 public static and(typedArray: Int32Array, index: int, value: int): int {
229 …public static compareExchange(typedArray: Int32Array, index: int, expectedValue: int, replacementV…
233 public static exchange(typedArray: Int32Array, index: int, value: int): int {
237 public static load(typedArray: Int32Array, index: int): int {
241 public static or(typedArray: Int32Array, index: int, value: int): int {
245 public static store(typedArray: Int32Array, index: int, value: int): int {
249 public static sub(typedArray: Int32Array, index: int, value: int): int {
253 public static xor(typedArray: Int32Array, index: int, value: int): int {
[all …]
DTypedArrays.ets3854 * JS Int32Array API-compatible class
3856 export final class Int32Array {
3860 * Creates an empty Int32Array.
3867 * Creates an Int32Array with respect to data, byteOffset and length.
3873 * @param length size of elements of type int in newly created Int32Array
3880 * Creates an Int32Array with respect to data, byteOffset and length.
3886 * @param length size of elements of type int in newly created Int32Array
3889 if (buf.getByteLength() % Int32Array.BYTES_PER_ELEMENT as int != 0) {
3890 …throw new RangeError("ArrayBuffer.byteLength should be multiple of 4 as Int32Array.BYTES_PER_ELEME…
3892 if (byteOffset % Int32Array.BYTES_PER_ELEMENT as int != 0) {
[all …]
/arkcompiler/ets_runtime/test/aottest/aot_type_test/int32Array/
Dint32Array.ts18 let typedArray : Int32Array = new Int32Array([1, 2, 2147483640, -2147483640, 7, 8, 8, 9]);
/arkcompiler/ets_runtime/test/aottest/frame_states/
Dframe_states.ts17 let perm1: Int32Array = new Int32Array(n);
/arkcompiler/ets_runtime/test/moduletest/typedarrayjoin/
Dtypedarrayjoin.js21 [Int32Array, [0, 1]],
50 [Int32Array, [0, 1]],
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/atomics/
Dskipped_exchange_nonconcurrent.ets17 let arr: Int32Array;
22 arr = new Int32Array(buf, 0, 1);
Dskipped_wait_timeout.ets18 let arr: Int32Array;
22 arr = new Int32Array(buf, 0, 1);
Dconcurrent_wait_store_notify.ets21 let arr: Int32Array;
28 arr = new Int32Array(buf, 0, 1);
Dconcurrent_countdownlatch.ets19 let arr: Int32Array;
26 arr = new Int32Array(buf, 0, 1)
/arkcompiler/ets_runtime/test/aottest/typedarray/
Dtypedarray.ts18 let a = new Int32Array([2, 3])
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe29.md14 (for example, ``Int32Array``), which support access to their elements through
76 let arr = new Int32Array(1)
/arkcompiler/ets_frontend/ets2panda/linter-4.2/docs/rules/
Drecipe29.md14 (for example, ``Int32Array``), which support access to their elements through
76 let arr = new Int32Array(1)
/arkcompiler/ets_runtime/test/moduletest/objectcloneproperties/
Dobjectcloneproperties.js25 var obj2 = new Int32Array(2);
/arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/
Dtryldglobalbyname_global_object.ts391 print(Int32Array);
392 globalThis.Int32Array = "Int32Array";
393 print(Int32Array);
394 delete globalThis.Int32Array;
396 print(Int32Array);
/arkcompiler/ets_runtime/test/moduletest/typedarraysubarray/
Dtypedarraysubarray.js19 Int32Array,
/arkcompiler/ets_runtime/test/moduletest/deleteobjproperty/
Ddeleteobjproperty.js24 var v1 = new Int32Array(l);

123