Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
68
function
clearArray() {
69
var
ui8 =
new
Uint8Array(sab);
70
for
(
var
i = 0; i < sab.byteLength; ++i) {
71
ui8[i] = 0;
72
}
73
}
74
75
function
testElementType(taConstr, f, oobValue, offset) {
76
clearArray();
Callers
1
testElementType
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected