MCPcopy Create free account
hub / github.com/nodejs/node / clearArray

Function clearArray

deps/v8/test/mjsunit/asm/atomics-or.js:65–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63var m = Module(this, {}, sab);
64
65function clearArray() {
66 var ui8 = new Uint8Array(sab);
67 for (var i = 0; i < sab.byteLength; ++i) {
68 ui8[i] = 0;
69 }
70}
71
72function testElementType(taConstr, f, offset) {
73 clearArray();

Callers 1

testElementTypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected