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

Function _i64Subtract

js/sql-debug.js:397400–397407  ·  view source on GitHub ↗
(a, b, c, d)

Source from the content-addressed store, hash-verified

397398 return ((tempRet0 = h,l|0)|0);
397399}
397400function _i64Subtract(a, b, c, d) {
397401 a = a|0; b = b|0; c = c|0; d = d|0;
397402 var l = 0, h = 0;
397403 l = (a - c)>>>0;
397404 h = (b - d)>>>0;
397405 h = (b - d - (((c>>>0) > (a>>>0))|0))>>>0; // Borrow one from high word to low word on underflow.
397406 return ((tempRet0 = h,l|0)|0);
397407}
397408function _llvm_cttz_i32(x) {
397409 x = x|0;
397410 var ret = 0;

Callers 15

_padlFuncFunction · 0.85
_padrFuncFunction · 0.85
_padcFuncFunction · 0.85
_medianIterateFunction · 0.85
_sqlite3VXPrintfFunction · 0.85
_strAccumFinishReallocFunction · 0.85
_dbMallocRawFinishFunction · 0.85
_sqlite3_initializeFunction · 0.85
_sqlite3ReallocFunction · 0.85
_unixOpenFunction · 0.85
_unixTruncateFunction · 0.85
_unixFileControlFunction · 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…