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

Function clearArray

deps/v8/test/mjsunit/asm/atomics-sub.js:62–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62function clearArray() {
63 var ui8 = new Uint8Array(sab);
64 for (var i = 0; i < sab.byteLength; ++i) {
65 ui8[i] = 0;
66 }
67}
68
69function testElementType(taConstr, f, offset) {
70 clearArray();

Callers 1

testElementTypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected