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

Function _fts3StrCompare

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

Source from the content-addressed store, hash-verified

329444 return ($$07$lcssa|0);
329445}
329446function _fts3StrCompare($0,$1,$2,$3) {
329447 $0 = $0|0;
329448 $1 = $1|0;
329449 $2 = $2|0;
329450 $3 = $3|0;
329451 var $$0 = 0, $4 = 0, $5 = 0, label = 0, sp = 0;
329452 sp = STACKTOP;
329453 $4 = ($1|0)==($3|0);
329454 if ($4) {
329455 $5 = (_strncmp($0,$2,$1)|0);
329456 $$0 = $5;
329457 } else {
329458 $$0 = 1;
329459 }
329460 return ($$0|0);
329461}
329462function _fts3BinCompare($0,$1,$2,$3) {
329463 $0 = $0|0;
329464 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

_strncmpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…