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

Function clearArray

deps/v8/test/mjsunit/harmony/atomics.js:197–202  ·  view source on GitHub ↗
(sab)

Source from the content-addressed store, hash-verified

195})();
196
197function clearArray(sab) {
198 var ui8 = new Uint8Array(sab);
199 for (var i = 0; i < sab.byteLength; ++i) {
200 ui8[i] = 0;
201 }
202}
203
204(function TestCompareExchange() {
205 IntegerTypedArrayConstructors.forEach(function(t) {

Callers 1

atomics.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected