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

Function clearArray

deps/v8/test/mjsunit/asm/atomics-compareexchange.js:68–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68function clearArray() {
69 var ui8 = new Uint8Array(sab);
70 for (var i = 0; i < sab.byteLength; ++i) {
71 ui8[i] = 0;
72 }
73}
74
75function testElementType(taConstr, f, oobValue, offset) {
76 clearArray();

Callers 1

testElementTypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected