MCPcopy Index your code
hub / github.com/outerbase/studio / Pc

Function Pc

public/sqljs/sql-wasm.js:1802–1814  ·  view source on GitHub ↗
(a, b, c, d, f)

Source from the content-addressed store, hash-verified

1800 a.Pb = [];
1801 }
1802 function Pc(a, b, c, d, f) {
1803 if (0 > d || 0 > f) throw new R(28);
1804 if (null === a.fd) throw new R(8);
1805 if (1 === (a.flags & 2097155)) throw new R(8);
1806 if (T(a.node.mode)) throw new R(31);
1807 if (!a.Ma.read) throw new R(28);
1808 var h = "undefined" !== typeof f;
1809 if (!h) f = a.position;
1810 else if (!a.seekable) throw new R(70);
1811 b = a.Ma.read(a, b, c, d, f);
1812 h || (a.position += b);
1813 return b;
1814 }
1815 function la(a, b, c, d, f, h) {
1816 if (0 > d || 0 > f) throw new R(28);
1817 if (null === a.fd) throw new R(8);

Callers 2

taFunction · 0.85
initSqlJsFunction · 0.85

Calls 2

TFunction · 0.85
readMethod · 0.80

Tested by

no test coverage detected