Home
last modified time | relevance | path

Searched refs:uint8Array (Results 1 – 7 of 7) sorted by relevance

/third_party/node/test/parallel/
Dtest-worker-workerdata-messageport.js30 const uint8Array = new Uint8Array([ 1, 2, 3, 4 ]); constant
31 assert.deepStrictEqual(uint8Array.length, 4);
37 workerData: uint8Array,
38 transferList: [uint8Array.buffer]
44 assert.deepStrictEqual(uint8Array.length, 0);
Dtest-util-types.js123 const uint8Array = new Uint8Array(arrayBuffer); constant
187 uint8Array, fakeUint8Array, stealthyUint8Array,
204 uint8Array, stealthyUint8Array,
218 uint8Array, stealthyUint8Array,
231 buffer, uint8Array, stealthyUint8Array,
/third_party/node/test/sequential/
Dtest-buffer-creation-regression.js7 const uint8Array = new Uint8Array(arrayBuffer, offset, length);
9 uint8Array[i] = 1;
/third_party/node/benchmark/util/
Dtype-check.js7 const uint8Array = new Uint8Array(arrayBuffer); constant
22 'true': uint8Array,
/third_party/node/deps/npm/node_modules/typedarray/
Dindex.js568 var uint8Array = new exports.Uint8Array(this.buffer, byteOffset, arrayType.BYTES_PER_ELEMENT),
571 bytes.push(r(uint8Array, i));
/third_party/node/doc/api/
Dworker_threads.md498 const uint8Array = new Uint8Array([ 1, 2, 3, 4 ]);
499 // This posts a copy of `uint8Array`:
500 port2.postMessage(uint8Array);
501 // This does not copy data, but renders `uint8Array` unusable:
502 port2.postMessage(uint8Array, [ uint8Array.buffer ]);
/third_party/node/tools/
Dlint-md.mjs28056 var uint8Array = new exports.Uint8Array(this.buffer, byteOffset, arrayType.BYTES_PER_ELEMENT),
28059 bytes.push(r(uint8Array, i));