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

Function _unixDeviceCharacteristics

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

Source from the content-addressed store, hash-verified

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;
17884 sp = STACKTOP;
17885 $1 = ((($0)) + 44|0);
17886 $2 = HEAP32[$1>>2]|0;
17887 $3 = ($2|0)==(0);
17888 if ($3) {
17889 $4 = ((($0)) + 18|0);
17890 $5 = HEAP16[$4>>1]|0;
17891 $6 = $5 & 16;
17892 $7 = ($6<<16>>16)==(0);
17893 if (!($7)) {
17894 $8 = ((($0)) + 48|0);
17895 $9 = HEAP32[$8>>2]|0;
17896 $10 = $9 | 4096;
17897 HEAP32[$8>>2] = $10;
17898 }
17899 HEAP32[$1>>2] = 4096;
17900 }
17901 $11 = ((($0)) + 48|0);
17902 $12 = HEAP32[$11>>2]|0;
17903 return ($12|0);
17904}
17905function _unixShmLock($0,$1,$2,$3) {
17906 $0 = $0|0;
17907 $1 = $1|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…