MCPcopy
hub / github.com/sql-js/sql.js / _decodeIntArray

Function _decodeIntArray

js/sql-debug.js:241412–241756  ·  view source on GitHub ↗
($0,$1,$2,$3)

Source from the content-addressed store, hash-verified

241410 STACKTOP = sp;return 0;
241411}
241412function _decodeIntArray($0,$1,$2,$3) {
241413 $0 = $0|0;
241414 $1 = $1|0;
241415 $2 = $2|0;
241416 $3 = $3|0;
241417 var $$$1 = 0, $$019$i = 0, $$019$i23 = 0, $$026$i = 0, $$026$i2 = 0, $$03746 = 0, $$038$lcssa = 0, $$03845 = 0, $$040 = 0, $$1$lcssa$i = 0, $$1$lcssa$i7 = 0, $$1$lcssa62 = 0, $$136$i = 0, $$136$i10 = 0, $$139 = 0, $$230$i = 0, $$230$i13 = 0, $$3$i = 0, $$3$i21 = 0, $$318$off0$i = 0;
241418 var $$318$off0$i20 = 0, $$337 = 0, $$4 = 0, $$4$pn = 0, $$5$lcssa = 0, $$lcssa86 = 0, $$off = 0, $$off38 = 0, $$pre = 0, $$pre$i = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0;
241419 var $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0;
241420 var $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0;
241421 var $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0;
241422 var $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
241423 var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
241424 var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
241425 var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
241426 var $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond44 = 0, label = 0, sp = 0;
241427 sp = STACKTOP;
241428 STACKTOP = STACKTOP + 16|0;
241429 $4 = sp;
241430 $5 = HEAP8[$0>>0]|0;
241431 $6 = ($5<<24>>24)!=(0);
241432 $7 = ($1|0)>(0);
241433 $or$cond44 = $7 & $6;
241434 if ($or$cond44) {
241435 $$03746 = 0;$$03845 = $0;$8 = $5;
241436 while(1) {
241437 $$off38 = (($8) + -48)<<24>>24;
241438 $9 = ($$off38&255)<(10);
241439 do {
241440 if ($9) {
241441 $$040 = 0;$$139 = $$03845;$11 = $8;
241442 while(1) {
241443 $10 = $11 << 24 >> 24;
241444 $12 = ($$040*10)|0;
241445 $13 = (($12) + -48)|0;
241446 $14 = (($13) + ($10))|0;
241447 $15 = ((($$139)) + 1|0);
241448 $16 = HEAP8[$15>>0]|0;
241449 $$off = (($16) + -48)<<24>>24;
241450 $17 = ($$off&255)<(10);
241451 if ($17) {
241452 $$040 = $14;$$139 = $15;$11 = $16;
241453 } else {
241454 break;
241455 }
241456 }
241457 $18 = ($14>>>0)<(8);
241458 if ($18) {
241459 $20 = ($14>>>0)<(2);
241460 if ($20) {
241461 $$019$i = 0;$$1$lcssa62 = $15;
241462 break;
241463 } else {
241464 $$026$i = 40;$23 = $14;$24 = 0;
241465 }
241466 while(1) {
241467 $21 = $$026$i & 65535;
241468 $22 = (($21) + 65526)|0;
241469 $25 = (_bitshift64Shl(($23|0),($24|0),1)|0);

Callers 1

_analysisLoaderFunction · 0.85

Calls 4

_bitshift64ShlFunction · 0.85
_bitshift64LshrFunction · 0.85
_patternCompareFunction · 0.85
_sqlite3GetInt32Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…