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

Function _unixSectorSize

js/sql-debug.js:17856–17880  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

17854 return (0)|0;
17855}
17856function _unixSectorSize($0) {
17857 $0 = $0|0;
17858 var $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
17859 sp = STACKTOP;
17860 $1 = ((($0)) + 44|0);
17861 $2 = HEAP32[$1>>2]|0;
17862 $3 = ($2|0)==(0);
17863 if (!($3)) {
17864 $11 = $2;
17865 return ($11|0);
17866 }
17867 $4 = ((($0)) + 18|0);
17868 $5 = HEAP16[$4>>1]|0;
17869 $6 = $5 & 16;
17870 $7 = ($6<<16>>16)==(0);
17871 if (!($7)) {
17872 $8 = ((($0)) + 48|0);
17873 $9 = HEAP32[$8>>2]|0;
17874 $10 = $9 | 4096;
17875 HEAP32[$8>>2] = $10;
17876 }
17877 HEAP32[$1>>2] = 4096;
17878 $11 = 4096;
17879 return ($11|0);
17880}
17881function _unixDeviceCharacteristics($0) {
17882 $0 = $0|0;
17883 var $1 = 0, $10 = 0, $11 = 0, $12 = 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…