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

Function _sqlite3_aggregate_context

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

Source from the content-addressed store, hash-verified

321435 STACKTOP = sp;return ($$1|0);
321436}
321437function _sqlite3_aggregate_context($0,$1) {
321438 $0 = $0|0;
321439 $1 = $1|0;
321440 var $$0 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
321441 sp = STACKTOP;
321442 $2 = ((($0)) + 8|0);
321443 $3 = HEAP32[$2>>2]|0;
321444 $4 = ((($3)) + 8|0);
321445 $5 = HEAP16[$4>>1]|0;
321446 $6 = $5 & 8192;
321447 $7 = ($6<<16>>16)==(0);
321448 if ($7) {
321449 $8 = (_createAggContext($0,$1)|0);
321450 $$0 = $8;
321451 return ($$0|0);
321452 } else {
321453 $9 = ((($3)) + 16|0);
321454 $10 = HEAP32[$9>>2]|0;
321455 $$0 = $10;
321456 return ($$0|0);
321457 }
321458 return (0)|0;
321459}
321460function _sqlite3_data_count($0) {
321461 $0 = $0|0;
321462 var $$0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, label = 0, sp = 0;

Callers 9

_varianceStepFunction · 0.85
_stdevFinalizeFunction · 0.85
_varianceFinalizeFunction · 0.85
_modeStepFunction · 0.85
_modeFinalizeFunction · 0.85
_medianFinalizeFunction · 0.85
_lower_quartileFinalizeFunction · 0.85
_upper_quartileFinalizeFunction · 0.85
__medianFinalizeFunction · 0.85

Calls 1

_createAggContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…