MCPcopy Create free account
hub / github.com/sql-js/sql.js / _fts3tokBestIndexMethod

Function _fts3tokBestIndexMethod

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

Source from the content-addressed store, hash-verified

328676 return (0)|0;
328677}
328678function _fts3tokBestIndexMethod($0,$1) {
328679 $0 = $0|0;
328680 $1 = $1|0;
328681 var $$019 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
328682 var $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
328683 sp = STACKTOP;
328684 $2 = HEAP32[$1>>2]|0;
328685 $3 = ($2|0)>(0);
328686 L1: do {
328687 if ($3) {
328688 $4 = ((($1)) + 4|0);
328689 $5 = HEAP32[$4>>2]|0;
328690 $$019 = 0;
328691 while(1) {
328692 $6 = (((($5) + (($$019*12)|0)|0)) + 5|0);
328693 $7 = HEAP8[$6>>0]|0;
328694 $8 = ($7<<24>>24)==(0);
328695 if (!($8)) {
328696 $9 = (($5) + (($$019*12)|0)|0);
328697 $10 = HEAP32[$9>>2]|0;
328698 $11 = ($10|0)==(0);
328699 if ($11) {
328700 $12 = (((($5) + (($$019*12)|0)|0)) + 4|0);
328701 $13 = HEAP8[$12>>0]|0;
328702 $14 = ($13<<24>>24)==(2);
328703 if ($14) {
328704 break;
328705 }
328706 }
328707 }
328708 $21 = (($$019) + 1)|0;
328709 $22 = ($21|0)<($2|0);
328710 if ($22) {
328711 $$019 = $21;
328712 } else {
328713 break L1;
328714 }
328715 }
328716 $15 = ((($1)) + 20|0);
328717 HEAP32[$15>>2] = 1;
328718 $16 = ((($1)) + 16|0);
328719 $17 = HEAP32[$16>>2]|0;
328720 $18 = (($17) + ($$019<<3)|0);
328721 HEAP32[$18>>2] = 1;
328722 $19 = (((($17) + ($$019<<3)|0)) + 4|0);
328723 HEAP8[$19>>0] = 1;
328724 $20 = ((($1)) + 40|0);
328725 HEAPF64[$20>>3] = 1.0;
328726 return 0;
328727 }
328728 } while(0);
328729 $23 = ((($1)) + 20|0);
328730 HEAP32[$23>>2] = 0;
328731 return 0;
328732}
328733function _fts3tokDisconnectMethod($0) {
328734 $0 = $0|0;
328735 var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…