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

Function la

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

Source from the content-addressed store, hash-verified

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);
1818 if (0 === (a.flags & 2097155)) throw new R(8);
1819 if (T(a.node.mode)) throw new R(31);
1820 if (!a.Ma.write) throw new R(28);
1821 a.seekable && a.flags & 1024 && Nc(a, 0, 2);
1822 var l = "undefined" !== typeof f;
1823 if (!l) f = a.position;
1824 else if (!a.seekable) throw new R(70);
1825 b = a.Ma.write(a, b, c, d, f, h);
1826 l || (a.position += b);
1827 return b;
1828 }
1829 function ta(a) {
1830 var b = { encoding: "binary" };
1831 b = b || {};

Callers 2

fFunction · 0.85
initSqlJsFunction · 0.85

Calls 2

TFunction · 0.85
NcFunction · 0.85

Tested by

no test coverage detected