MCPcopy Index your code
hub / github.com/nodejs/node / WriteData

Function WriteData

deps/v8/test/mjsunit/typedarray-growablesharedarraybuffer.js:3040–3045  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3038
3039 const wholeArrayView = new ctor(gsab);
3040 function WriteData() {
3041 // Write some data into the array.
3042 for (let i = 0; i < wholeArrayView.length; ++i) {
3043 WriteToTypedArray(wholeArrayView, i, 2 * i);
3044 }
3045 }
3046 WriteData();
3047
3048 // Orig. array: [0, 2, 4, 6]

Callers 1

ReverseFunction · 0.70

Calls 1

WriteToTypedArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…