MCPcopy Create free account
hub / github.com/sql-js/sql.js / _sleep

Function _sleep

js/sql-debug.js:397035–397049  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

397033 STACKTOP = sp;return ($5|0);
397034}
397035function _sleep($0) {
397036 $0 = $0|0;
397037 var $$0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, label = 0, sp = 0;
397038 sp = STACKTOP;
397039 STACKTOP = STACKTOP + 16|0;
397040 $1 = sp;
397041 HEAP32[$1>>2] = $0;
397042 $2 = ((($1)) + 4|0);
397043 HEAP32[$2>>2] = 0;
397044 $3 = (_nanosleep(($1|0),($1|0))|0);
397045 $4 = ($3|0)==(0);
397046 $5 = HEAP32[$1>>2]|0;
397047 $$0 = $4 ? 0 : $5;
397048 STACKTOP = sp;return ($$0|0);
397049}
397050function _readlink($0,$1,$2) {
397051 $0 = $0|0;
397052 $1 = $1|0;

Callers 1

_unixSleepFunction · 0.85

Calls 1

_nanosleepFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…