Home
last modified time | relevance | path

Searched refs:typedArray (Results 1 – 25 of 30) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DbigintIndex.types63 const typedArray = new Uint8Array(3);
64 >typedArray : Uint8Array
69 typedArray[bigNum] = 0xAA; // should error
70 >typedArray[bigNum] = 0xAA : 170
71 >typedArray[bigNum] : any
72 >typedArray : Uint8Array
76 typedArray[String(bigNum)] = 0xAA;
77 >typedArray[String(bigNum)] = 0xAA : 170
78 >typedArray[String(bigNum)] : any
79 >typedArray : Uint8Array
[all …]
DbigintIndex.js21 const typedArray = new Uint8Array(3); constant
22 typedArray[bigNum] = 0xAA; // should error
23 typedArray[String(bigNum)] = 0xAA;
24 typedArray["1"] = 0xBB;
25 typedArray[2] = 0xCC;
47 const typedArray = new Uint8Array(3); constant
48 typedArray[bigNum] = 0xAA; // should error
49 typedArray[String(bigNum)] = 0xAA;
50 typedArray["1"] = 0xBB;
51 typedArray[2] = 0xCC;
DbigintIndex.symbols46 const typedArray = new Uint8Array(3);
47 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
50 typedArray[bigNum] = 0xAA; // should error
51 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
54 typedArray[String(bigNum)] = 0xAA;
55 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
59 typedArray["1"] = 0xBB;
60 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
62 typedArray[2] = 0xCC;
63 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
Des2022SharedMemory.types21 ….wait : { (typedArray: Int32Array, index: number, value: number, timeout?: number | undefined): "o…
23 >wait : { (typedArray: Int32Array, index: number, value: number, timeout?: number | undefined): "ok…
32 >Atomics.waitAsync : (typedArray: Int32Array | BigInt64Array, index: number, value: bigint, timeout…
34 >waitAsync : (typedArray: Int32Array | BigInt64Array, index: number, value: bigint, timeout?: numbe…
DbigintIndex.errors.txt36 const typedArray = new Uint8Array(3);
37 typedArray[bigNum] = 0xAA; // should error
40 typedArray[String(bigNum)] = 0xAA;
41 typedArray["1"] = 0xBB;
42 typedArray[2] = 0xCC;
/third_party/typescript/src/lib/
Des2020.sharedmemory.d.ts7 add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
14 and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
21 …compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, …
28 exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
34 load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint;
41 or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
47 store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
54 sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
62 …wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal…
71 notify(typedArray: BigInt64Array, index: number, count?: number): number;
[all …]
Des2017.sharedmemory.d.ts34 …add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
41 …and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
48 …compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint3…
55 …exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array,…
68 …load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, ind…
75 …or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index…
81 …store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, in…
88 …sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
96 …wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" |…
105 notify(typedArray: Int32Array, index: number, count?: number): number;
[all …]
Des2022.sharedmemory.d.ts6 …waitAsync(typedArray: BigInt64Array | Int32Array, index: number, value: bigint, timeout?: number):…
/third_party/typescript/lib/
Dlib.es2020.sharedmemory.d.ts27 add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
34 and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
41 …compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, …
48 exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
54 load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint;
61 or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
67 store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
74 sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
82 …wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal…
91 notify(typedArray: BigInt64Array, index: number, count?: number): number;
[all …]
Dlib.es2017.sharedmemory.d.ts54 …add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
61 …and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
68 …compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint3…
75 …exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array,…
88 …load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, ind…
95 …or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index…
101 …store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, in…
108 …sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
116 …wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" |…
125 notify(typedArray: Int32Array, index: number, count?: number): number;
[all …]
Dlib.es2022.sharedmemory.d.ts26 …waitAsync(typedArray: BigInt64Array | Int32Array, index: number, value: bigint, timeout?: number):…
/third_party/node/deps/v8/src/builtins/
Dtyped-array-createtypedarray.tq55 const typedArray =
57 typedArray.elements = elements;
58 typedArray.buffer = buffer;
59 typedArray.byte_offset = byteOffset;
60 typedArray.byte_length = byteLength;
61 typedArray.length = length;
62 typedArray.bit_field.is_length_tracking = isLengthTracking;
63 typedArray.bit_field.is_backed_by_rab =
66 typed_array::SetJSTypedArrayOnHeapDataPtr(typedArray, elements, byteOffset);
69 typedArray, buffer.backing_store_ptr, byteOffset);
[all …]
Dtyped-array-filter.tq68 const typedArray: JSTypedArray = TypedArraySpeciesCreateByLength(
79 TypedArrayCopyElements(context, typedArray, kept.ToJSArray(), lengthNumber);
82 return typedArray;
Darray-join.tq57 const typedArray: JSTypedArray = UnsafeCast<JSTypedArray>(receiver);
59 typedArray));
61 typedArray.data_ptr, k, typed_array::KindForArrayType<T>());
106 const typedArray: JSTypedArray = UnsafeCast<JSTypedArray>(receiver);
112 if (IsDetachedBuffer(typedArray.buffer)) {
115 if (IsVariableLengthJSArrayBufferView(typedArray)) {
656 const typedArray: JSTypedArray = UnsafeCast<JSTypedArray>(receiver);
659 false, typedArray, Convert<Number>(length), separator, Undefined,
673 const typedArray: JSTypedArray = UnsafeCast<JSTypedArray>(receiver);
676 true, typedArray, Convert<Number>(length), ',', locales, options);
Dtyped-array.tq294 context: Context, typedArray: JSTypedArray, index: uintptr,
297 context, typedArray, index, value, KindForArrayType<T>());
303 context: Context, typedArray: JSTypedArray, index: uintptr,
307 context, typedArray, index, value, KindForArrayType<T>())
Dtyped-array-set.tq37 // %TypedArray%.prototype.set ( typedArray [ , offset ] ) overloads.
81 const typedArray =
86 // 4. Let srcBuffer be typedArray.[[ViewedArrayBuffer]].
89 const attachedSourceAndLength = EnsureAttachedAndReadLength(typedArray)
/third_party/skia/modules/canvaskit/
Dmemory.js26 CanvasKit.Malloc = function(typedArray, len) { argument
27 var byteLen = len * typedArray.BYTES_PER_ELEMENT;
33 typedArray: null,
43 if (this.typedArray && this.typedArray.length) {
44 return this.typedArray;
46 this.typedArray = new typedArray(CanvasKit.HEAPU8.buffer, ptr, len);
48 this.typedArray['_ck'] = true;
49 return this.typedArray;
63 mallocObj.typedArray = null;
/third_party/node/test/parallel/
Dtest-worker-message-channel.js12 channel.port1.on('message', common.mustCall(({ typedArray }) => { field
13 assert.deepStrictEqual(typedArray, new Uint8Array([0, 1, 2, 3, 4]));
16 const typedArray = new Uint8Array([0, 1, 2, 3, 4]); constant
17 channel.port2.postMessage({ typedArray }, [ typedArray.buffer ]); field
18 assert.strictEqual(typedArray.buffer.byteLength, 0);
Dtest-worker-message-port-arraybuffer.js11 const typedArray = new Uint32Array(arrayBuffer); constant
12 typedArray[0] = 0x12345678;
14 port1.postMessage(typedArray, [ arrayBuffer ]);
/third_party/typescript/tests/cases/compiler/
DbigintIndex.ts21 const typedArray = new Uint8Array(3); constant
22 typedArray[bigNum] = 0xAA; // should error
23 typedArray[String(bigNum)] = 0xAA;
24 typedArray["1"] = 0xBB;
25 typedArray[2] = 0xCC;
/third_party/jerryscript/tests/jerry/es2015/
Dtypedarray-symbol-properties.js27 var typedArray = new typedArrayType ();
30 typedArray[fooSymbol] = 5;
31 assert (typedArray[fooSymbol] === 5);
33 Object.defineProperty (typedArray, barSymbol, {value: 10});
34 assert (typedArray[barSymbol] === 10);
Dobject-prototype-tostring.js94 var typedArray = this[typedArrayTypes[i]];
95 assert (typedArray.prototype[Symbol.toStringTag] === undefined);
96 assert (Object.prototype.toString.call (typedArray) === "[object Function]");
97 assert (Object.prototype.toString.call (typedArray.prototype) === "[object Object]");
99 var newArray = new typedArray ();
/third_party/node/test/common/
Ddns.js286 return Buffer.concat(buffers.map((typedArray) => {
287 const buf = Buffer.from(typedArray.buffer,
288 typedArray.byteOffset,
289 typedArray.byteLength);
291 if (typedArray.BYTES_PER_ELEMENT === 2) buf.swap16();
292 if (typedArray.BYTES_PER_ELEMENT === 4) buf.swap32();
/third_party/node/benchmark/v8/
Dserialize.js12 const typedArray = new BigUint64Array(len);
15 v8.serialize({ a: 1, b: typedArray });
/third_party/node/doc/api/
Dwebcrypto.md382 ### `crypto.getRandomValues(typedArray)`
388 * `typedArray` {Buffer|TypedArray}
391 Generates cryptographically strong random values. The given `typedArray` is
392 filled with random values, and a reference to `typedArray` is returned.
394 The given `typedArray` must be an integer-based instance of {TypedArray},
397 An error will be thrown if the given `typedArray` is larger than 65,536 bytes.

12