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

Function _bitshift64Shl

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

Source from the content-addressed store, hash-verified

397735 return (high >>> (bits - 32))|0;
397736}
397737function _bitshift64Shl(low, high, bits) {
397738 low = low|0; high = high|0; bits = bits|0;
397739 var ander = 0;
397740 if ((bits|0) < 32) {
397741 ander = ((1 << bits) - 1)|0;
397742 tempRet0 = (high << bits) | ((low&(ander << (32 - bits))) >>> (32 - bits));
397743 return low << bits;
397744 }
397745 tempRet0 = low << (bits - 32);
397746 return 0;
397747}
397748function _llvm_bswap_i32(x) {
397749 x = x|0;
397750 return (((x&0xff)<<24) | (((x>>8)&0xff)<<16) | (((x>>16)&0xff)<<8) | (x>>>24))|0;

Callers 15

_hexFuncFunction · 0.85
_quoteFuncFunction · 0.85
_btreeParseCellPtrFunction · 0.85
_sqlite3VdbeExecFunction · 0.85
_sqlite3EndTableFunction · 0.85
_sqlite3SelectFunction · 0.85
_selectExpanderFunction · 0.85
_resolveExprStepFunction · 0.85
_sqlite3FindInIndexFunction · 0.85
_sqlite3DecOrHexToI64Function · 0.85
_decodeIntArrayFunction · 0.85
_sqlite3WhereBeginFunction · 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…