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

Function _getDigits

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

Source from the content-addressed store, hash-verified

38077 return (0)|0;
38078}
38079function _getDigits($0,$1,$varargs) {
38080 $0 = $0|0;
38081 $1 = $1|0;
38082 $varargs = $varargs|0;
38083 var $$030 = 0, $$031$lcssa = 0, $$03147 = 0, $$032 = 0, $$035 = 0, $$1$lcssa = 0, $$13638 = 0, $$148 = 0, $$in = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0;
38084 var $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0;
38085 var $39 = 0, $4 = 0, $40 = 0, $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, $6 = 0;
38086 var $7 = 0, $8 = 0, $9 = 0, $arglist_current = 0, $arglist_current2 = 0, $arglist_next = 0, $arglist_next3 = 0, $expanded = 0, $expanded10 = 0, $expanded12 = 0, $expanded13 = 0, $expanded14 = 0, $expanded3 = 0, $expanded5 = 0, $expanded6 = 0, $expanded7 = 0, $expanded9 = 0, $or$cond = 0, $sext = 0, label = 0;
38087 var sp = 0;
38088 sp = STACKTOP;
38089 STACKTOP = STACKTOP + 16|0;
38090 $2 = sp;
38091 HEAP32[$2>>2] = $varargs;
38092 $$030 = $0;$$032 = $1;$$035 = 0;
38093 L1: while(1) {
38094 $3 = HEAP8[$$032>>0]|0;
38095 $4 = $3&255;
38096 $5 = (($4) + 208)|0;
38097 $6 = $5&255;
38098 $7 = ((($$032)) + 1|0);
38099 $8 = HEAP8[$7>>0]|0;
38100 $9 = $8&255;
38101 $10 = ((($$032)) + 2|0);
38102 $11 = HEAP8[$10>>0]|0;
38103 $12 = $11 << 24 >> 24;
38104 $13 = (($12) + -97)|0;
38105 $14 = (8964 + ($13<<1)|0);
38106 $15 = HEAP16[$14>>1]|0;
38107 $16 = ((($$032)) + 3|0);
38108 $17 = HEAP8[$16>>0]|0;
38109 $18 = ($6<<24>>24)==(0);
38110 if ($18) {
38111 $$031$lcssa = 0;$$1$lcssa = $$030;
38112 } else {
38113 $$03147 = 0;$$148 = $$030;$$in = $6;
38114 while(1) {
38115 $19 = (($$in) + -1)<<24>>24;
38116 $20 = HEAP8[$$148>>0]|0;
38117 $21 = $20&255;
38118 $22 = (($21) + -48)|0;
38119 $23 = ($22>>>0)<(10);
38120 if (!($23)) {
38121 $$13638 = $$035;
38122 label = 10;
38123 break L1;
38124 }
38125 $24 = ($$03147*10)|0;
38126 $25 = $20 << 24 >> 24;
38127 $26 = (($24) + -48)|0;
38128 $27 = (($26) + ($25))|0;
38129 $28 = ((($$148)) + 1|0);
38130 $29 = ($19<<24>>24)==(0);
38131 if ($29) {
38132 $$031$lcssa = $27;$$1$lcssa = $28;
38133 break;
38134 } else {
38135 $$03147 = $27;$$148 = $28;$$in = $19;
38136 }

Callers 2

_isDateFunction · 0.85
_parseHhMmSsFunction · 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…