MCPcopy Index your code
hub / github.com/sql-js/sql.js / stackAlloc

Function stackAlloc

js/sql-debug.js:5761–5769  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

5759// EMSCRIPTEN_START_FUNCS
5760
5761function stackAlloc(size) {
5762 size = size|0;
5763 var ret = 0;
5764 ret = STACKTOP;
5765 STACKTOP = (STACKTOP + size)|0;
5766 STACKTOP = (STACKTOP + 15)&-16;
5767
5768 return ret|0;
5769}
5770function stackSave() {
5771 return STACKTOP|0;
5772}

Callers 5

worker.sql.jsFile · 0.85
sql-debug.jsFile · 0.85
sql.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…