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

Function _bitshift64Ashr

js/sql-debug.js:397715–397725  ·  view source on GitHub ↗
(low, high, bits)

Source from the content-addressed store, hash-verified

397713 return (tempRet0 = HEAP32[$rem + 4 >> 2] | 0, HEAP32[$rem >> 2] | 0) | 0;
397714}
397715function _bitshift64Ashr(low, high, bits) {
397716 low = low|0; high = high|0; bits = bits|0;
397717 var ander = 0;
397718 if ((bits|0) < 32) {
397719 ander = ((1 << bits) - 1)|0;
397720 tempRet0 = high >> bits;
397721 return (low >>> bits) | ((high&ander) << (32 - bits));
397722 }
397723 tempRet0 = (high|0) < 0 ? -1 : 0;
397724 return (high >> (bits - 32))|0;
397725}
397726function _bitshift64Lshr(low, high, bits) {
397727 low = low|0; high = high|0; bits = bits|0;
397728 var ander = 0;

Callers 4

_replaceFuncFunction · 0.85
_strftimeFuncFunction · 0.85
_sqlite3VdbeExecFunction · 0.85
_fts3UpdateMethodFunction · 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…