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

Function _unixSleep

js/sql-debug.js:16633–16643  ·  view source on GitHub ↗
($0,$1)

Source from the content-addressed store, hash-verified

16631 STACKTOP = sp;return ($$0|0);
16632}
16633function _unixSleep($0,$1) {
16634 $0 = $0|0;
16635 $1 = $1|0;
16636 var $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
16637 sp = STACKTOP;
16638 $2 = (($1) + 999999)|0;
16639 $3 = (($2|0) / 1000000)&-1;
16640 (_sleep($3)|0);
16641 $4 = ($3*1000000)|0;
16642 return ($4|0);
16643}
16644function _unixCurrentTime($0,$1) {
16645 $0 = $0|0;
16646 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

_sleepFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…