Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleChrome/samples
/ zeroMemory
Function
zeroMemory
sqlite-wasm-cos/sqlite3-node.mjs:1027–1027 ·
view source on GitHub ↗
(ptr, size)
Source
from the content-addressed store, hash-verified
1025
1026
1027
var
zeroMemory = (ptr, size) => HEAPU8.fill(0, ptr, ptr + size);
1028
1029
var
alignMemory = (size, alignment) => {
1030
return
Math.ceil(size / alignment) * alignment;
Callers
1
mmapAlloc
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected