Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-worker-workerdata-messageport.js30 const uint8Array = new Uint8Array([ 1, 2, 3, 4 ]); constant
31 assert.strictEqual(uint8Array.length, 4);
37 workerData: uint8Array,
38 transferList: [uint8Array.buffer]
44 assert.strictEqual(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/typescript/tests/baselines/reference/
DtypedArrays-es6.types89 const uint8Array = new Uint8Array(1);
90 >uint8Array : Uint8Array
95 [...uint8Array];
96 >[...uint8Array] : number[]
97 >...uint8Array : number
98 >uint8Array : Uint8Array
DtypedArrays-es5.types89 const uint8Array = new Uint8Array(1);
90 >uint8Array : Uint8Array
95 [...uint8Array];
96 >[...uint8Array] : any[]
97 >...uint8Array : any
98 >uint8Array : Uint8Array
DtypedArrays-es6.js26 const uint8Array = new Uint8Array(1); constant
27 [...uint8Array];
50 const uint8Array = new Uint8Array(1); constant
51 [...uint8Array];
DtypedArrays-es5.js26 const uint8Array = new Uint8Array(1); constant
27 [...uint8Array];
61 var uint8Array = new Uint8Array(1); variable
62 __spreadArray([], uint8Array, true);
DtypedArrays-es5.symbols58 const uint8Array = new Uint8Array(1);
59 >uint8Array : Symbol(uint8Array, Decl(typedArrays-es5.ts, 24, 5))
62 [...uint8Array];
63 >uint8Array : Symbol(uint8Array, Decl(typedArrays-es5.ts, 24, 5))
DtypedArrays-es6.symbols58 const uint8Array = new Uint8Array(1);
59 >uint8Array : Symbol(uint8Array, Decl(typedArrays-es6.ts, 24, 5))
62 [...uint8Array];
63 >uint8Array : Symbol(uint8Array, Decl(typedArrays-es6.ts, 24, 5))
DtypedArrays-es5.errors.txt54 const uint8Array = new Uint8Array(1);
55 [...uint8Array];
/third_party/typescript/tests/cases/compiler/
DtypedArrays-es6.ts27 const uint8Array = new Uint8Array(1); constant
28 [...uint8Array];
DtypedArrays-es5.ts27 const uint8Array = new Uint8Array(1); constant
28 [...uint8Array];
/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/doc/api/
Dworker_threads.md651 const uint8Array = new Uint8Array([ 1, 2, 3, 4 ]);
652 // This posts a copy of `uint8Array`:
653 port2.postMessage(uint8Array);
654 // This does not copy data, but renders `uint8Array` unusable:
655 port2.postMessage(uint8Array, [ uint8Array.buffer ]);