@bytecodealliance/jco 1.21.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/obj/js-component-bindgen-component.core.wasm +0 -0
- package/obj/js-component-bindgen-component.js +1978 -953
- package/obj/wasm-tools.core.wasm +0 -0
- package/obj/wasm-tools.js +2009 -960
- package/package.json +2 -2
- package/src/jco.js +1 -1
|
@@ -174,8 +174,13 @@ const GLOBAL_COMPONENT_MEMORY_MAP = new Map();
|
|
|
174
174
|
const CURRENT_TASK_META = {};
|
|
175
175
|
|
|
176
176
|
function _getGlobalCurrentTaskMeta(componentIdx) {
|
|
177
|
+
if (componentIdx === null || componentIdx === undefined) {
|
|
178
|
+
throw new Error("missing/invalid component idx");
|
|
179
|
+
}
|
|
177
180
|
const v = CURRENT_TASK_META[componentIdx];
|
|
178
|
-
if (v === undefined || v === null) {
|
|
181
|
+
if (v === undefined || v === null) {
|
|
182
|
+
return undefined;
|
|
183
|
+
}
|
|
179
184
|
return { ...v };
|
|
180
185
|
}
|
|
181
186
|
|
|
@@ -217,26 +222,8 @@ async function _withGlobalCurrentTaskMetaAsync(args) {
|
|
|
217
222
|
if (args.taskID === undefined) { throw new TypeError('missing task ID'); }
|
|
218
223
|
if (args.componentIdx === undefined) { throw new TypeError('missing component idx'); }
|
|
219
224
|
if (!args.fn) { throw new TypeError('missing fn'); }
|
|
220
|
-
const { taskID, componentIdx, fn } = args;
|
|
221
225
|
|
|
222
|
-
|
|
223
|
-
// to complete before we can can run the closure we were given
|
|
224
|
-
//
|
|
225
|
-
let current = CURRENT_TASK_META[componentIdx];
|
|
226
|
-
let cstate;
|
|
227
|
-
if (current && current.taskID !== taskID) {
|
|
228
|
-
cstate = getOrCreateAsyncState(componentIdx);
|
|
229
|
-
while (current && current.taskID !== taskID) {
|
|
230
|
-
const { promise, resolve } = Promise.withResolvers();
|
|
231
|
-
cstate.onNextExclusiveRelease(resolve);
|
|
232
|
-
await promise;
|
|
233
|
-
current = CURRENT_TASK_META[componentIdx];
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
// Since we've just waited for the component to not be locked, re-lock
|
|
237
|
-
// exclusivity so we can run the fn below (likely a callee/callback)
|
|
238
|
-
cstate.exclusiveLock();
|
|
239
|
-
}
|
|
226
|
+
const { taskID, componentIdx, fn } = args;
|
|
240
227
|
|
|
241
228
|
try {
|
|
242
229
|
CURRENT_TASK_META[componentIdx] = { taskID, componentIdx };
|
|
@@ -260,7 +247,7 @@ async function _clearCurrentTask(args) {
|
|
|
260
247
|
const { taskID, componentIdx } = args;
|
|
261
248
|
|
|
262
249
|
const meta = CURRENT_TASK_META[componentIdx];
|
|
263
|
-
if (!meta) { throw new Error(`missing current task meta for component idx [${componentIdx}]
|
|
250
|
+
if (!meta) { throw new Error(`missing current task meta for component idx [${componentIdx}]`); }
|
|
264
251
|
|
|
265
252
|
if (meta.taskID !== taskID) {
|
|
266
253
|
throw new Error(`task ID [${meta.taskID}] != requested ID [${taskID}]`);
|
|
@@ -617,6 +604,7 @@ class AsyncSubtask {
|
|
|
617
604
|
subtaskID: this.#id,
|
|
618
605
|
parentTaskID: this.parentTaskID(),
|
|
619
606
|
fnName: this.fnName,
|
|
607
|
+
args,
|
|
620
608
|
});
|
|
621
609
|
|
|
622
610
|
if (this.#onProgressFn) { this.#onProgressFn(); }
|
|
@@ -1016,12 +1004,22 @@ function _asyncStartCall(args, callee, paramCount, resultCount, flags) {
|
|
|
1016
1004
|
// If a helper function was provided we are likely in a fused guest->guest call,
|
|
1017
1005
|
// and the result will be delivered (lift/lowered) via helper function
|
|
1018
1006
|
if (subtaskCallMeta && subtaskCallMeta.returnFn) {
|
|
1019
|
-
_debugLog('[_asyncStartCall()] return function present while handling subtask result, returning early (skipping lower)'
|
|
1007
|
+
_debugLog('[_asyncStartCall()] return function present while handling subtask result, returning early (skipping lower)', {
|
|
1008
|
+
calleeTaskID: calleeTask.id(),
|
|
1009
|
+
calleeComponentIdx,
|
|
1010
|
+
});
|
|
1020
1011
|
|
|
1021
1012
|
// TODO: centralize calling of returnFn to *one place* (if possible)
|
|
1022
1013
|
if (subtaskCallMeta.returnFnCalled) { return; }
|
|
1023
1014
|
|
|
1024
|
-
subtaskCallMeta.returnFn.apply(null, [subtaskCallMeta.resultPtr]);
|
|
1015
|
+
const res = subtaskCallMeta.returnFn.apply(null, [subtaskCallMeta.resultPtr]);
|
|
1016
|
+
|
|
1017
|
+
_debugLog('[_asyncStartCall()] finished calling return fn', {
|
|
1018
|
+
calleeTaskID: calleeTask.id(),
|
|
1019
|
+
calleeComponentIdx,
|
|
1020
|
+
res,
|
|
1021
|
+
});
|
|
1022
|
+
|
|
1025
1023
|
return;
|
|
1026
1024
|
}
|
|
1027
1025
|
|
|
@@ -1080,15 +1078,31 @@ function _asyncStartCall(args, callee, paramCount, resultCount, flags) {
|
|
|
1080
1078
|
});
|
|
1081
1079
|
});
|
|
1082
1080
|
|
|
1083
|
-
// Start the (event) driver loop that will resolve the
|
|
1084
|
-
|
|
1081
|
+
// Start the (event) driver loop that will resolve the subtask
|
|
1082
|
+
// in a new JS task
|
|
1083
|
+
setTimeout(async () => {
|
|
1084
|
+
_debugLog('[_asyncStartCall()] continuing started subtask (in JS task)', {
|
|
1085
|
+
taskID: preparedTask.id(),
|
|
1086
|
+
subtaskID: subtask.id(),
|
|
1087
|
+
callerComponentIdx,
|
|
1088
|
+
calleeComponentIdx,
|
|
1089
|
+
});
|
|
1090
|
+
|
|
1085
1091
|
let startRes = subtask.onStart({ startFnParams: params });
|
|
1086
1092
|
startRes = Array.isArray(startRes) ? startRes : [startRes];
|
|
1087
1093
|
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1094
|
+
if (calleeComponentState.isExclusivelyLocked()) {
|
|
1095
|
+
_debugLog('[_asyncStartCall()] during continuation callee is exclusively locked, suspending...', {
|
|
1096
|
+
taskID: preparedTask.id(),
|
|
1097
|
+
subtaskID: subtask.id(),
|
|
1098
|
+
callerComponentIdx,
|
|
1099
|
+
calleeComponentIdx,
|
|
1100
|
+
});
|
|
1101
|
+
await calleeComponentState.suspendTask({
|
|
1102
|
+
task: preparedTask,
|
|
1103
|
+
readyFn: () => !calleeComponentState.isExclusivelyLocked(),
|
|
1104
|
+
});
|
|
1105
|
+
}
|
|
1092
1106
|
|
|
1093
1107
|
const started = await preparedTask.enter();
|
|
1094
1108
|
if (!started) {
|
|
@@ -1171,7 +1185,7 @@ function _asyncStartCall(args, callee, paramCount, resultCount, flags) {
|
|
|
1171
1185
|
_debugLog("[AsyncStartCall] drive loop call failure", { err });
|
|
1172
1186
|
}
|
|
1173
1187
|
|
|
1174
|
-
});
|
|
1188
|
+
}, 0);
|
|
1175
1189
|
|
|
1176
1190
|
const subtaskState = subtask.getStateNumber();
|
|
1177
1191
|
if (subtaskState < 0 || subtaskState > 2**5) {
|
|
@@ -1204,6 +1218,8 @@ class Waitable {
|
|
|
1204
1218
|
|
|
1205
1219
|
#waitableSet = null;
|
|
1206
1220
|
|
|
1221
|
+
#hasSyncWaiter = false;
|
|
1222
|
+
|
|
1207
1223
|
#idx = null; // to component-global waitables
|
|
1208
1224
|
|
|
1209
1225
|
target;
|
|
@@ -1273,14 +1289,22 @@ class Waitable {
|
|
|
1273
1289
|
_debugLog('[Waitable#join()] args', {
|
|
1274
1290
|
waitable: this,
|
|
1275
1291
|
waitableSet: waitableSet,
|
|
1292
|
+
isRemoval: waitableSet === null,
|
|
1276
1293
|
});
|
|
1277
|
-
|
|
1278
|
-
if (
|
|
1279
|
-
|
|
1280
|
-
|
|
1294
|
+
|
|
1295
|
+
if (this.#waitableSet === undefined) {
|
|
1296
|
+
throw new TypeError('waitable set must be not be undefined');
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
if (this.#waitableSet) {
|
|
1300
|
+
this.#waitableSet.removeWaitable(this);
|
|
1281
1301
|
}
|
|
1282
|
-
|
|
1302
|
+
|
|
1283
1303
|
this.#waitableSet = waitableSet;
|
|
1304
|
+
|
|
1305
|
+
if (waitableSet) {
|
|
1306
|
+
this.#waitableSet.addWaitable(this);
|
|
1307
|
+
}
|
|
1284
1308
|
}
|
|
1285
1309
|
|
|
1286
1310
|
drop() {
|
|
@@ -1294,146 +1318,85 @@ class Waitable {
|
|
|
1294
1318
|
this.join(null);
|
|
1295
1319
|
}
|
|
1296
1320
|
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1321
|
+
async waitForPendingEvent(args) {
|
|
1322
|
+
const { cstate } = args;
|
|
1323
|
+
if (!cstate) { throw new TypeError('missing component state'); }
|
|
1324
|
+
|
|
1325
|
+
if (this.#waitableSet !== null || this.#hasSyncWaiter) {
|
|
1326
|
+
throw new Error("waitable is already in a set/has a sync waiter");
|
|
1327
|
+
}
|
|
1328
|
+
this.#hasSyncWaiter = true;
|
|
1329
|
+
await cstate.waitUntil({
|
|
1330
|
+
cancellable: false,
|
|
1331
|
+
readyFn: () => this.hasPendingEvent(),
|
|
1332
|
+
});
|
|
1333
|
+
this.#hasSyncWaiter = false;
|
|
1334
|
+
}
|
|
1306
1335
|
|
|
1307
|
-
return BigInt.asUintN(64, converted);
|
|
1308
1336
|
}
|
|
1309
1337
|
|
|
1338
|
+
const ERR_CTX_TABLES = {};
|
|
1310
1339
|
|
|
1311
|
-
function
|
|
1340
|
+
function contextGet(ctx) {
|
|
1341
|
+
const { componentIdx, slot } = ctx;
|
|
1342
|
+
if (componentIdx === undefined) { throw new TypeError("missing component idx"); }
|
|
1343
|
+
if (slot === undefined) { throw new TypeError("missing slot"); }
|
|
1312
1344
|
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
const utf16Decoder = new TextDecoder('utf-16');
|
|
1317
|
-
const TEXT_DECODER_UTF8 = new TextDecoder();
|
|
1318
|
-
const TEXT_ENCODER_UTF8 = new TextEncoder();
|
|
1319
|
-
|
|
1320
|
-
function _utf8AllocateAndEncode(s, realloc, memory) {
|
|
1321
|
-
if (typeof s !== 'string') {
|
|
1322
|
-
throw new TypeError('expected a string, received [' + typeof s + ']');
|
|
1323
|
-
}
|
|
1324
|
-
if (s.length === 0) { return { ptr: 1, len: 0 }; }
|
|
1325
|
-
let buf = TEXT_ENCODER_UTF8.encode(s);
|
|
1326
|
-
let ptr = realloc(0, 0, 1, buf.length);
|
|
1327
|
-
new Uint8Array(memory.buffer).set(buf, ptr);
|
|
1328
|
-
const res = { ptr, len: buf.length, codepoints: [...s].length };
|
|
1329
|
-
return res;
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
const T_FLAG = 1 << 30;
|
|
1334
|
-
|
|
1335
|
-
function rscTableCreateOwn(table, rep) {
|
|
1336
|
-
const free = table[0] & ~T_FLAG;
|
|
1337
|
-
table._createdReps.add(rep);
|
|
1338
|
-
if (free === 0) {
|
|
1339
|
-
table.push(0);
|
|
1340
|
-
table.push(rep | T_FLAG);
|
|
1341
|
-
return (table.length >> 1) - 1;
|
|
1342
|
-
}
|
|
1343
|
-
table[0] = table[free << 1];
|
|
1344
|
-
table[free << 1] = 0;
|
|
1345
|
-
table[(free << 1) + 1] = rep | T_FLAG;
|
|
1346
|
-
return free;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
function rscTableRemove(table, handle) {
|
|
1350
|
-
const scope = table[handle << 1];
|
|
1351
|
-
const val = table[(handle << 1) + 1];
|
|
1352
|
-
const own = (val & T_FLAG) !== 0;
|
|
1353
|
-
const rep = val & ~T_FLAG;
|
|
1354
|
-
if (val === 0 || (scope & T_FLAG) !== 0) {
|
|
1355
|
-
throw new TypeError("Invalid handle");
|
|
1356
|
-
}
|
|
1357
|
-
table[handle << 1] = table[0] | T_FLAG;
|
|
1358
|
-
table[0] = handle | T_FLAG;
|
|
1359
|
-
return { rep, scope, own };
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
let curResourceBorrows = [];
|
|
1363
|
-
|
|
1364
|
-
function getCurrentTask(componentIdx, taskID) {
|
|
1365
|
-
let usedGlobal = false;
|
|
1366
|
-
if (componentIdx === undefined || componentIdx === null) {
|
|
1367
|
-
throw new Error('missing component idx'); // TODO(fix)
|
|
1368
|
-
// componentIdx = ASYNC_CURRENT_COMPONENT_IDXS.at(-1);
|
|
1369
|
-
// usedGlobal = true;
|
|
1345
|
+
const currentTaskMeta = _getGlobalCurrentTaskMeta(componentIdx);
|
|
1346
|
+
if (!currentTaskMeta) {
|
|
1347
|
+
throw new Error(`missing/incomplete global current task meta for component idx [${componentIdx}] during context set`);
|
|
1370
1348
|
}
|
|
1349
|
+
const taskID = currentTaskMeta.taskID;
|
|
1371
1350
|
|
|
1372
|
-
const
|
|
1373
|
-
if (
|
|
1351
|
+
const taskMeta = getCurrentTask(componentIdx, taskID);
|
|
1352
|
+
if (!taskMeta) { throw new Error('failed to retrieve current task'); }
|
|
1374
1353
|
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
}
|
|
1354
|
+
let task = taskMeta.task;
|
|
1355
|
+
if (!task) { throw new Error('invalid/missing current task in metadata while getting context'); }
|
|
1378
1356
|
|
|
1379
|
-
|
|
1380
|
-
|
|
1357
|
+
_debugLog('[contextGet()] args', {
|
|
1358
|
+
slot,
|
|
1359
|
+
storage: task.storage,
|
|
1360
|
+
taskID: task.id(),
|
|
1361
|
+
componentIdx: task.componentIdx(),
|
|
1362
|
+
});
|
|
1363
|
+
|
|
1364
|
+
if (slot < 0 || slot >= task.storage.length) { throw new Error('invalid slot for current task'); }
|
|
1381
1365
|
|
|
1382
|
-
return
|
|
1366
|
+
return task.storage[slot];
|
|
1383
1367
|
}
|
|
1384
1368
|
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
const {
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
entryFnName,
|
|
1392
|
-
parentSubtaskID,
|
|
1393
|
-
callbackFnName,
|
|
1394
|
-
getCallbackFn,
|
|
1395
|
-
getParamsFn,
|
|
1396
|
-
stringEncoding,
|
|
1397
|
-
errHandling,
|
|
1398
|
-
getCalleeParamsFn,
|
|
1399
|
-
resultPtr,
|
|
1400
|
-
callingWasmExport,
|
|
1401
|
-
} = args;
|
|
1402
|
-
if (componentIdx === undefined || componentIdx === null) {
|
|
1403
|
-
throw new Error('missing/invalid component instance index while starting task');
|
|
1404
|
-
}
|
|
1405
|
-
let taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
|
|
1406
|
-
const callbackFn = getCallbackFn ? getCallbackFn() : null;
|
|
1369
|
+
|
|
1370
|
+
function contextSet(ctx, value) {
|
|
1371
|
+
const { componentIdx, slot } = ctx;
|
|
1372
|
+
if (componentIdx === undefined) { throw new TypeError("missing component idx"); }
|
|
1373
|
+
if (slot === undefined) { throw new TypeError("missing slot"); }
|
|
1374
|
+
if (!(_typeCheckValidI32(value))) { throw new Error('invalid value for context set (not valid i32)'); }
|
|
1407
1375
|
|
|
1408
|
-
const
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
callbackFn,
|
|
1414
|
-
callbackFnName,
|
|
1415
|
-
stringEncoding,
|
|
1416
|
-
getCalleeParamsFn,
|
|
1417
|
-
resultPtr,
|
|
1418
|
-
errHandling,
|
|
1419
|
-
});
|
|
1376
|
+
const currentTaskMeta = _getGlobalCurrentTaskMeta(componentIdx);
|
|
1377
|
+
if (!currentTaskMeta) {
|
|
1378
|
+
throw new Error(`missing/incomplete global current task meta for component idx [${componentIdx}] during context set`);
|
|
1379
|
+
}
|
|
1380
|
+
const taskID = currentTaskMeta.taskID;
|
|
1420
1381
|
|
|
1421
|
-
const
|
|
1422
|
-
|
|
1382
|
+
const taskMeta = getCurrentTask(componentIdx, taskID);
|
|
1383
|
+
if (!taskMeta) { throw new Error('failed to retrieve current task'); }
|
|
1423
1384
|
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
ASYNC_CURRENT_COMPONENT_IDXS.push(componentIdx);
|
|
1385
|
+
let task = taskMeta.task;
|
|
1386
|
+
if (!task) { throw new Error('invalid/missing current task in metadata while setting context'); }
|
|
1427
1387
|
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1388
|
+
_debugLog('[contextSet()] args', {
|
|
1389
|
+
slot,
|
|
1390
|
+
value,
|
|
1391
|
+
storage: task.storage,
|
|
1392
|
+
taskID: task.id(),
|
|
1393
|
+
componentIdx: task.componentIdx(),
|
|
1394
|
+
});
|
|
1434
1395
|
|
|
1435
|
-
|
|
1396
|
+
if (slot < 0 || slot >= task.storage.length) { throw new Error('invalid slot for current task'); }
|
|
1397
|
+
task.storage[slot] = value;
|
|
1436
1398
|
}
|
|
1399
|
+
|
|
1437
1400
|
const ASYNC_TASKS_BY_COMPONENT_IDX = new Map();
|
|
1438
1401
|
|
|
1439
1402
|
class AsyncTask {
|
|
@@ -1678,6 +1641,7 @@ class Waitable {
|
|
|
1678
1641
|
taskID: this.#id,
|
|
1679
1642
|
componentIdx: this.#componentIdx,
|
|
1680
1643
|
subtaskID: this.getParentSubtask()?.id(),
|
|
1644
|
+
args: opts,
|
|
1681
1645
|
entryFnName: this.#entryFnName,
|
|
1682
1646
|
});
|
|
1683
1647
|
|
|
@@ -1687,11 +1651,16 @@ class Waitable {
|
|
|
1687
1651
|
|
|
1688
1652
|
const cstate = getOrCreateAsyncState(this.#componentIdx);
|
|
1689
1653
|
|
|
1654
|
+
if (opts?.isHost) {
|
|
1655
|
+
this.#entered = true;
|
|
1656
|
+
return this.#entered;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1690
1659
|
await cstate.nextTaskExecutionSlot({ task: this });
|
|
1691
1660
|
|
|
1692
|
-
// If a task is
|
|
1693
|
-
//
|
|
1694
|
-
if (this.isSync()
|
|
1661
|
+
// If a task is synchronous then we can avoid component-relevant
|
|
1662
|
+
// tracking and immediately enter.
|
|
1663
|
+
if (this.isSync()) {
|
|
1695
1664
|
this.#entered = true;
|
|
1696
1665
|
|
|
1697
1666
|
// TODO(breaking): remove once manually-specifying async fns is removed
|
|
@@ -1761,7 +1730,7 @@ class Waitable {
|
|
|
1761
1730
|
|
|
1762
1731
|
async waitUntil(opts) {
|
|
1763
1732
|
const { readyFn, cancellable } = opts;
|
|
1764
|
-
_debugLog('[AsyncTask#waitUntil()] args', { taskID: this.#id, cancellable });
|
|
1733
|
+
_debugLog('[AsyncTask#waitUntil()] args', { taskID: this.#id, args: { cancellable } });
|
|
1765
1734
|
|
|
1766
1735
|
// TODO(fix): check for cancel
|
|
1767
1736
|
// TODO(fix): determinism
|
|
@@ -1777,7 +1746,13 @@ class Waitable {
|
|
|
1777
1746
|
|
|
1778
1747
|
async yieldUntil(opts) {
|
|
1779
1748
|
const { readyFn, cancellable } = opts;
|
|
1780
|
-
_debugLog('[AsyncTask#yieldUntil()]
|
|
1749
|
+
_debugLog('[AsyncTask#yieldUntil()]', {
|
|
1750
|
+
taskID: this.#id,
|
|
1751
|
+
args: {
|
|
1752
|
+
cancellable,
|
|
1753
|
+
},
|
|
1754
|
+
componentIdx: this.#componentIdx,
|
|
1755
|
+
});
|
|
1781
1756
|
|
|
1782
1757
|
const keepGoing = await this.suspendUntil({ readyFn, cancellable });
|
|
1783
1758
|
if (keepGoing) {
|
|
@@ -1797,7 +1772,13 @@ class Waitable {
|
|
|
1797
1772
|
|
|
1798
1773
|
async suspendUntil(opts) {
|
|
1799
1774
|
const { cancellable, readyFn } = opts;
|
|
1800
|
-
_debugLog('[AsyncTask#suspendUntil()] args', {
|
|
1775
|
+
_debugLog('[AsyncTask#suspendUntil()] args', {
|
|
1776
|
+
taskID: this.#id,
|
|
1777
|
+
args: {
|
|
1778
|
+
cancellable,
|
|
1779
|
+
},
|
|
1780
|
+
componentIdx: this.#componentIdx,
|
|
1781
|
+
});
|
|
1801
1782
|
|
|
1802
1783
|
const pendingCancelled = this.deliverPendingCancel({ cancellable });
|
|
1803
1784
|
if (pendingCancelled) { return false; }
|
|
@@ -1809,7 +1790,14 @@ class Waitable {
|
|
|
1809
1790
|
// TODO(threads): equivalent to thread.suspend_until()
|
|
1810
1791
|
async immediateSuspendUntil(opts) {
|
|
1811
1792
|
const { cancellable, readyFn } = opts;
|
|
1812
|
-
_debugLog('[AsyncTask#immediateSuspendUntil()] args', {
|
|
1793
|
+
_debugLog('[AsyncTask#immediateSuspendUntil()] args', {
|
|
1794
|
+
args: {
|
|
1795
|
+
cancellable,
|
|
1796
|
+
readyFn,
|
|
1797
|
+
},
|
|
1798
|
+
taskID: this.#id,
|
|
1799
|
+
componentIdx: this.#componentIdx,
|
|
1800
|
+
});
|
|
1813
1801
|
|
|
1814
1802
|
const ready = readyFn();
|
|
1815
1803
|
if (ready && ASYNC_DETERMINISM === 'random') {
|
|
@@ -1836,7 +1824,11 @@ class Waitable {
|
|
|
1836
1824
|
|
|
1837
1825
|
deliverPendingCancel(opts) {
|
|
1838
1826
|
const { cancellable } = opts;
|
|
1839
|
-
_debugLog('[AsyncTask#deliverPendingCancel()]
|
|
1827
|
+
_debugLog('[AsyncTask#deliverPendingCancel()]', {
|
|
1828
|
+
args: { cancellable },
|
|
1829
|
+
taskID: this.#id,
|
|
1830
|
+
componentIdx: this.#componentIdx,
|
|
1831
|
+
});
|
|
1840
1832
|
|
|
1841
1833
|
if (cancellable && this.#state === AsyncTask.State.PENDING_CANCEL) {
|
|
1842
1834
|
this.#state = AsyncTask.State.CANCEL_DELIVERED;
|
|
@@ -1864,7 +1856,6 @@ class Waitable {
|
|
|
1864
1856
|
this.#onResolveHandlers = [];
|
|
1865
1857
|
for (const f of handlers) {
|
|
1866
1858
|
try {
|
|
1867
|
-
// TODO(fix): resolve handlers getting called a ton?
|
|
1868
1859
|
f(taskValue);
|
|
1869
1860
|
} catch (err) {
|
|
1870
1861
|
_debugLog("[AsyncTask#onResolve] error during task resolve handler", err);
|
|
@@ -2096,6 +2087,153 @@ class Waitable {
|
|
|
2096
2087
|
}
|
|
2097
2088
|
}
|
|
2098
2089
|
|
|
2090
|
+
const ASYNC_EVENT_CODE = {
|
|
2091
|
+
NONE: 0,
|
|
2092
|
+
SUBTASK: 1,
|
|
2093
|
+
STREAM_READ: 2,
|
|
2094
|
+
STREAM_WRITE: 3,
|
|
2095
|
+
FUTURE_READ: 4,
|
|
2096
|
+
FUTURE_WRITE: 5,
|
|
2097
|
+
TASK_CANCELLED: 6,
|
|
2098
|
+
};
|
|
2099
|
+
|
|
2100
|
+
function getCurrentTask(componentIdx, taskID) {
|
|
2101
|
+
let usedGlobal = false;
|
|
2102
|
+
if (componentIdx === undefined || componentIdx === null) {
|
|
2103
|
+
throw new Error('missing component idx'); // TODO(fix)
|
|
2104
|
+
// componentIdx = ASYNC_CURRENT_COMPONENT_IDXS.at(-1);
|
|
2105
|
+
// usedGlobal = true;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
const taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
|
|
2109
|
+
if (taskMetas === undefined || taskMetas.length === 0) { return undefined; }
|
|
2110
|
+
|
|
2111
|
+
if (taskID) {
|
|
2112
|
+
return taskMetas.find(meta => meta.task.id() === taskID);
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
const taskMeta = taskMetas[taskMetas.length - 1];
|
|
2116
|
+
if (!taskMeta || !taskMeta.task) { return undefined; }
|
|
2117
|
+
|
|
2118
|
+
return taskMeta;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
let dv = new DataView(new ArrayBuffer());
|
|
2122
|
+
const dataView = mem => dv.buffer === mem.buffer ? dv : dv = new DataView(mem.buffer);
|
|
2123
|
+
|
|
2124
|
+
function toUint64(val) {
|
|
2125
|
+
const converted = BigInt(val)
|
|
2126
|
+
|
|
2127
|
+
return BigInt.asUintN(64, converted);
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
function toUint32(val) {
|
|
2132
|
+
|
|
2133
|
+
return val >>> 0;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
const utf16Decoder = new TextDecoder('utf-16');
|
|
2137
|
+
const TEXT_DECODER_UTF8 = new TextDecoder();
|
|
2138
|
+
const TEXT_ENCODER_UTF8 = new TextEncoder();
|
|
2139
|
+
|
|
2140
|
+
function _utf8AllocateAndEncode(s, realloc, memory) {
|
|
2141
|
+
if (typeof s !== 'string') {
|
|
2142
|
+
throw new TypeError('expected a string, received [' + typeof s + ']');
|
|
2143
|
+
}
|
|
2144
|
+
if (s.length === 0) { return { ptr: 1, len: 0 }; }
|
|
2145
|
+
let buf = TEXT_ENCODER_UTF8.encode(s);
|
|
2146
|
+
let ptr = realloc(0, 0, 1, buf.length);
|
|
2147
|
+
new Uint8Array(memory.buffer).set(buf, ptr);
|
|
2148
|
+
const res = { ptr, len: buf.length, codepoints: [...s].length };
|
|
2149
|
+
return res;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
|
|
2153
|
+
const T_FLAG = 1 << 30;
|
|
2154
|
+
|
|
2155
|
+
function rscTableCreateOwn(table, rep) {
|
|
2156
|
+
const free = table[0] & ~T_FLAG;
|
|
2157
|
+
table._createdReps.add(rep);
|
|
2158
|
+
if (free === 0) {
|
|
2159
|
+
table.push(0);
|
|
2160
|
+
table.push(rep | T_FLAG);
|
|
2161
|
+
return (table.length >> 1) - 1;
|
|
2162
|
+
}
|
|
2163
|
+
table[0] = table[free << 1];
|
|
2164
|
+
table[free << 1] = 0;
|
|
2165
|
+
table[(free << 1) + 1] = rep | T_FLAG;
|
|
2166
|
+
return free;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
function rscTableRemove(table, handle) {
|
|
2170
|
+
const scope = table[handle << 1];
|
|
2171
|
+
const val = table[(handle << 1) + 1];
|
|
2172
|
+
const own = (val & T_FLAG) !== 0;
|
|
2173
|
+
const rep = val & ~T_FLAG;
|
|
2174
|
+
if (val === 0 || (scope & T_FLAG) !== 0) {
|
|
2175
|
+
throw new TypeError("Invalid handle");
|
|
2176
|
+
}
|
|
2177
|
+
table[handle << 1] = table[0] | T_FLAG;
|
|
2178
|
+
table[0] = handle | T_FLAG;
|
|
2179
|
+
return { rep, scope, own };
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
let curResourceBorrows = [];
|
|
2183
|
+
|
|
2184
|
+
function createNewCurrentTask(args) {
|
|
2185
|
+
_debugLog('[createNewCurrentTask()] args', args);
|
|
2186
|
+
const {
|
|
2187
|
+
componentIdx,
|
|
2188
|
+
isAsync,
|
|
2189
|
+
isManualAsync,
|
|
2190
|
+
entryFnName,
|
|
2191
|
+
parentSubtaskID,
|
|
2192
|
+
callbackFnName,
|
|
2193
|
+
getCallbackFn,
|
|
2194
|
+
getParamsFn,
|
|
2195
|
+
stringEncoding,
|
|
2196
|
+
errHandling,
|
|
2197
|
+
getCalleeParamsFn,
|
|
2198
|
+
resultPtr,
|
|
2199
|
+
callingWasmExport,
|
|
2200
|
+
} = args;
|
|
2201
|
+
if (componentIdx === undefined || componentIdx === null) {
|
|
2202
|
+
throw new Error('missing/invalid component instance index while starting task');
|
|
2203
|
+
}
|
|
2204
|
+
let taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
|
|
2205
|
+
const callbackFn = getCallbackFn ? getCallbackFn() : null;
|
|
2206
|
+
|
|
2207
|
+
const newTask = new AsyncTask({
|
|
2208
|
+
componentIdx,
|
|
2209
|
+
isAsync,
|
|
2210
|
+
isManualAsync,
|
|
2211
|
+
entryFnName,
|
|
2212
|
+
callbackFn,
|
|
2213
|
+
callbackFnName,
|
|
2214
|
+
stringEncoding,
|
|
2215
|
+
getCalleeParamsFn,
|
|
2216
|
+
resultPtr,
|
|
2217
|
+
errHandling,
|
|
2218
|
+
});
|
|
2219
|
+
|
|
2220
|
+
const newTaskID = newTask.id();
|
|
2221
|
+
const newTaskMeta = { id: newTaskID, componentIdx, task: newTask };
|
|
2222
|
+
|
|
2223
|
+
// NOTE: do not track host tasks
|
|
2224
|
+
ASYNC_CURRENT_TASK_IDS.push(newTaskID);
|
|
2225
|
+
ASYNC_CURRENT_COMPONENT_IDXS.push(componentIdx);
|
|
2226
|
+
|
|
2227
|
+
if (!taskMetas) {
|
|
2228
|
+
taskMetas = [newTaskMeta];
|
|
2229
|
+
ASYNC_TASKS_BY_COMPONENT_IDX.set(componentIdx, [newTaskMeta]);
|
|
2230
|
+
} else {
|
|
2231
|
+
taskMetas.push(newTaskMeta);
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
return [newTask, newTaskID];
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2099
2237
|
function _lowerImportBackwardsCompat(args) {
|
|
2100
2238
|
const params = [...arguments].slice(1);
|
|
2101
2239
|
_debugLog('[_lowerImportBackwardsCompat()] args', { args, params });
|
|
@@ -2414,6 +2552,38 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2414
2552
|
}
|
|
2415
2553
|
|
|
2416
2554
|
|
|
2555
|
+
function _liftFlatFloat64(ctx) {
|
|
2556
|
+
_debugLog('[_liftFlatFloat64()] args', { ctx });
|
|
2557
|
+
let val;
|
|
2558
|
+
|
|
2559
|
+
if (ctx.useDirectParams) {
|
|
2560
|
+
if (ctx.params.length === 0) {
|
|
2561
|
+
throw new Error('expected at least one single f64 argument');
|
|
2562
|
+
}
|
|
2563
|
+
val = ctx.params[0];
|
|
2564
|
+
ctx.params = ctx.params.slice(1);
|
|
2565
|
+
|
|
2566
|
+
if (ctx.inVariant) {
|
|
2567
|
+
const dv = new DataView(new ArrayBuffer(8));
|
|
2568
|
+
dv.setBigInt64(0, val);
|
|
2569
|
+
val = dv.getFloat64(0);
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
return [val, ctx];
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
if (ctx.storageLen !== undefined && ctx.storageLen < 8) {
|
|
2576
|
+
throw new Error(`insufficient storage ([${ctx.storageLen}] bytes) for lift (f64 requires 8 bytes)`);
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
val = new DataView(ctx.memory.buffer).getFloat64(ctx.storagePtr, true);
|
|
2580
|
+
ctx.storagePtr += 8;
|
|
2581
|
+
if (ctx.storageLen !== undefined) { ctx.storageLen -= 8; }
|
|
2582
|
+
|
|
2583
|
+
return [val, ctx];
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
|
|
2417
2587
|
function _liftFlatStringAny(ctx) {
|
|
2418
2588
|
switch (ctx.stringEncoding) {
|
|
2419
2589
|
case 'utf8':
|
|
@@ -2431,8 +2601,9 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2431
2601
|
|
|
2432
2602
|
if (ctx.useDirectParams) {
|
|
2433
2603
|
if (ctx.params.length < 2) { throw new Error('expected at least two u32 arguments'); }
|
|
2434
|
-
|
|
2435
|
-
if (
|
|
2604
|
+
let offset = ctx.params[0];
|
|
2605
|
+
if (typeof offset === 'bigint') { offset = Number(offset); }
|
|
2606
|
+
if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
|
|
2436
2607
|
const len = ctx.params[1];
|
|
2437
2608
|
if (!Number.isSafeInteger(len)) { throw new Error('invalid len'); }
|
|
2438
2609
|
val = TEXT_DECODER_UTF8.decode(new DataView(ctx.memory.buffer, offset, len));
|
|
@@ -2462,6 +2633,7 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2462
2633
|
if (ctx.useDirectParams) {
|
|
2463
2634
|
if (ctx.params.length < 2) { throw new Error('expected at least two u32 arguments'); }
|
|
2464
2635
|
const offset = ctx.params[0];
|
|
2636
|
+
if (typeof offset === 'bigint') { offset = Number(offset); }
|
|
2465
2637
|
if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
|
|
2466
2638
|
const len = ctx.params[1];
|
|
2467
2639
|
if (!Number.isSafeInteger(len)) { throw new Error('invalid len'); }
|
|
@@ -2480,17 +2652,30 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2480
2652
|
return [val, ctx];
|
|
2481
2653
|
}
|
|
2482
2654
|
|
|
2483
|
-
function _liftFlatVariant(
|
|
2655
|
+
function _liftFlatVariant(meta) {
|
|
2656
|
+
const {
|
|
2657
|
+
caseMetas,
|
|
2658
|
+
variantSize32,
|
|
2659
|
+
variantAlign32,
|
|
2660
|
+
variantPayloadOffset32,
|
|
2661
|
+
variantFlatCount,
|
|
2662
|
+
isEnum,
|
|
2663
|
+
} = meta;
|
|
2664
|
+
|
|
2484
2665
|
return function _liftFlatVariantInner(ctx) {
|
|
2485
2666
|
_debugLog('[_liftFlatVariant()] args', { ctx });
|
|
2486
|
-
|
|
2487
2667
|
const origUseParams = ctx.useDirectParams;
|
|
2488
2668
|
|
|
2669
|
+
// If we're in the process of lifting a variant, we note
|
|
2670
|
+
// we are during any lifting that happens (e.g. to accomodate f32/f64 mechanics)
|
|
2671
|
+
const wasInVariant = ctx.inVariant;
|
|
2672
|
+
ctx.inVariant = true;
|
|
2673
|
+
|
|
2489
2674
|
let caseIdx;
|
|
2490
2675
|
let liftRes;
|
|
2491
2676
|
const originalPtr = ctx.storagePtr;
|
|
2492
|
-
const numCases =
|
|
2493
|
-
if (
|
|
2677
|
+
const numCases = caseMetas.length;
|
|
2678
|
+
if (caseMetas.length < 256) {
|
|
2494
2679
|
liftRes = _liftFlatU8(ctx);
|
|
2495
2680
|
} else if (numCases >= 256 && numCases < 65536) {
|
|
2496
2681
|
liftRes = _liftFlatU16(ctx);
|
|
@@ -2502,11 +2687,20 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2502
2687
|
caseIdx = liftRes[0];
|
|
2503
2688
|
ctx = liftRes[1];
|
|
2504
2689
|
|
|
2505
|
-
const [
|
|
2506
|
-
|
|
2690
|
+
const [
|
|
2691
|
+
tag,
|
|
2692
|
+
liftFn,
|
|
2693
|
+
caseSize32,
|
|
2694
|
+
caseAlign32,
|
|
2695
|
+
caseFlatCount,
|
|
2696
|
+
] = caseMetas[caseIdx];
|
|
2697
|
+
|
|
2698
|
+
if (variantPayloadOffset32 === undefined) {
|
|
2699
|
+
throw new Error('unexpectedly missing payload offset');
|
|
2700
|
+
}
|
|
2507
2701
|
|
|
2508
2702
|
if (originalPtr !== undefined) {
|
|
2509
|
-
ctx.storagePtr = originalPtr +
|
|
2703
|
+
ctx.storagePtr = originalPtr + variantPayloadOffset32;
|
|
2510
2704
|
}
|
|
2511
2705
|
|
|
2512
2706
|
let val;
|
|
@@ -2515,28 +2709,32 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2515
2709
|
// NOTE: here we need to move past the entire object in memory
|
|
2516
2710
|
// despite moving to the payload which we now know is missing/unnecessary
|
|
2517
2711
|
if (originalPtr !== undefined) {
|
|
2518
|
-
ctx.storagePtr = originalPtr +
|
|
2712
|
+
ctx.storagePtr = originalPtr + variantSize32;
|
|
2519
2713
|
}
|
|
2520
2714
|
} else {
|
|
2715
|
+
if (ctx.useDirectParams && ctx.params && liftFn !== _liftFlatFloat64 && typeof ctx.params[0] === 'bigint') {
|
|
2716
|
+
if (ctx.params[0] > BigInt(Number.MAX_SAFE_INTEGER)) {
|
|
2717
|
+
throw new Error(`invalid value, reinterpreted i32/f32 too large: [${ctx.params[0]}]`);
|
|
2718
|
+
}
|
|
2719
|
+
ctx.params[0] = Number(ctx.params[0]);
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2521
2722
|
const [newVal, newCtx] = liftFn(ctx);
|
|
2522
2723
|
val = { tag, val: newVal };
|
|
2523
2724
|
ctx = newCtx;
|
|
2524
|
-
|
|
2525
|
-
// NOTE: Padding can be left over after doing the lift if it was less than
|
|
2526
|
-
// space left for the payload normally.
|
|
2527
|
-
if (originalPtr !== undefined) {
|
|
2528
|
-
ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + size32);
|
|
2529
|
-
}
|
|
2530
2725
|
}
|
|
2531
2726
|
|
|
2532
2727
|
if (origUseParams) {
|
|
2533
|
-
if (
|
|
2534
|
-
|
|
2535
|
-
}
|
|
2536
|
-
if (caseFlatCount === null || variantFlatCount === null) {
|
|
2728
|
+
if (variantFlatCount === undefined || variantFlatCount === null) {
|
|
2729
|
+
_debugLog('[_liftFlatVariant()] variant with unknown flat count', { ctx, meta });
|
|
2537
2730
|
throw new Error('cannot lift variant with unknown flat count');
|
|
2538
2731
|
}
|
|
2539
|
-
|
|
2732
|
+
if (caseFlatCount === undefined || caseFlatCount === null) {
|
|
2733
|
+
_debugLog('[_liftFlatVariant()] case with unknown flat count', { ctx, meta, case: meta.caseMetas[caseIdx] });
|
|
2734
|
+
throw new Error('cannot lift case with unknown flat count');
|
|
2735
|
+
}
|
|
2736
|
+
// NOTE: enums can be tightly packed and do not have a descriminant
|
|
2737
|
+
const remainingPayloadParams = variantFlatCount - caseFlatCount - (isEnum ? 0 : 1);
|
|
2540
2738
|
if (remainingPayloadParams < 0) {
|
|
2541
2739
|
throw new Error(`invalid variant flat count metadata`);
|
|
2542
2740
|
}
|
|
@@ -2547,10 +2745,12 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2547
2745
|
}
|
|
2548
2746
|
|
|
2549
2747
|
if (ctx.storagePtr !== undefined) {
|
|
2550
|
-
const rem = ctx.storagePtr %
|
|
2551
|
-
if (rem !== 0) { ctx.storagePtr +=
|
|
2748
|
+
const rem = ctx.storagePtr % variantAlign32;
|
|
2749
|
+
if (rem !== 0) { ctx.storagePtr += variantAlign32 - rem; }
|
|
2552
2750
|
}
|
|
2553
2751
|
|
|
2752
|
+
ctx.inVariant = wasInVariant;
|
|
2753
|
+
|
|
2554
2754
|
return [val, ctx];
|
|
2555
2755
|
}
|
|
2556
2756
|
}
|
|
@@ -2585,34 +2785,9 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2585
2785
|
let liftResults;
|
|
2586
2786
|
if (knownLen !== undefined) { // list with known length
|
|
2587
2787
|
if (ctx.useDirectParams) {
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
// a fixed length list (or other value) is being passed only
|
|
2592
|
-
// via parameters to the function.
|
|
2593
|
-
//
|
|
2594
|
-
// Normally, we would expect to use the direct parameters as a
|
|
2595
|
-
// memory location + size, but in this case, *all* values are being passed directly,
|
|
2596
|
-
// via params.
|
|
2597
|
-
//
|
|
2598
|
-
_debugLog('memory unexpectedly missing while lifting unknown length list', { ctx });
|
|
2599
|
-
liftResults = [listValue(ctx.params.slice(0, knownLen)), ctx];
|
|
2600
|
-
ctx.params = ctx.params.slice(knownLen);
|
|
2601
|
-
} else {
|
|
2602
|
-
// in-memory list with unknown length w/ direct params
|
|
2603
|
-
const dataPtr = ctx.params[0];
|
|
2604
|
-
ctx.params = ctx.params.slice(1);
|
|
2605
|
-
|
|
2606
|
-
ctx.useDirectParams = false;
|
|
2607
|
-
const originalPtr = ctx.storagePtr;
|
|
2608
|
-
ctx.storageLen = knownLen * elemSize32;
|
|
2609
|
-
|
|
2610
|
-
liftResults = readValuesAndReset(ctx, originalPtr, dataPtr, knownLen);
|
|
2611
|
-
|
|
2612
|
-
ctx.useDirectParams = true;
|
|
2613
|
-
ctx.storagePtr = undefined;
|
|
2614
|
-
ctx.storageLen = undefined;
|
|
2615
|
-
}
|
|
2788
|
+
_debugLog('memory unexpectedly missing while lifting unknown length list', { ctx });
|
|
2789
|
+
liftResults = [listValue(ctx.params.slice(0, knownLen)), ctx];
|
|
2790
|
+
ctx.params = ctx.params.slice(knownLen);
|
|
2616
2791
|
} else { // indirect params
|
|
2617
2792
|
if (ctx.memory === null) {
|
|
2618
2793
|
_debugLog('memory unexpectedly missing while lifting known length list', { knownLen, ctx });
|
|
@@ -2703,10 +2878,11 @@ function _liftFlatFlags(meta) {
|
|
|
2703
2878
|
}
|
|
2704
2879
|
}
|
|
2705
2880
|
|
|
2706
|
-
function _liftFlatResult(
|
|
2881
|
+
function _liftFlatResult(meta) {
|
|
2882
|
+
const f = _liftFlatVariant(meta);
|
|
2707
2883
|
return function _liftFlatResultInner(ctx) {
|
|
2708
2884
|
_debugLog('[_liftFlatResult()] args', { ctx });
|
|
2709
|
-
return
|
|
2885
|
+
return f(ctx);
|
|
2710
2886
|
}
|
|
2711
2887
|
}
|
|
2712
2888
|
|
|
@@ -2853,9 +3029,11 @@ function _lowerFlatRecord(meta) {
|
|
|
2853
3029
|
}
|
|
2854
3030
|
}
|
|
2855
3031
|
|
|
2856
|
-
function _lowerFlatVariant(
|
|
3032
|
+
function _lowerFlatVariant(meta) {
|
|
3033
|
+
const { variantSize32, variantAlign32, variantPayloadOffset32, caseMetas } = meta;
|
|
3034
|
+
|
|
2857
3035
|
let caseLookup = {};
|
|
2858
|
-
for (const [idx, meta] of
|
|
3036
|
+
for (const [idx, meta] of caseMetas.entries()) {
|
|
2859
3037
|
let tag = meta[0];
|
|
2860
3038
|
caseLookup[tag] = { discriminant: idx, meta };
|
|
2861
3039
|
}
|
|
@@ -2869,30 +3047,30 @@ function _lowerFlatVariant(lowerMetas) {
|
|
|
2869
3047
|
throw new Error(`missing tag [${tag}] (valid tags: ${Object.keys(caseLookup)})`);
|
|
2870
3048
|
}
|
|
2871
3049
|
|
|
2872
|
-
const [ _tag, lowerFn,
|
|
3050
|
+
const [ _tag, lowerFn, caseSize32, caseAlign32, caseFlatCount ] = variantCase.meta;
|
|
2873
3051
|
|
|
2874
3052
|
const originalPtr = ctx.storagePtr;
|
|
2875
3053
|
ctx.vals = [variantCase.discriminant];
|
|
2876
3054
|
let discLowerRes;
|
|
2877
|
-
if (
|
|
3055
|
+
if (caseMetas.length < 256) {
|
|
2878
3056
|
discLowerRes = _lowerFlatU8(ctx);
|
|
2879
|
-
} else if (
|
|
3057
|
+
} else if (caseMetas.length >= 256 && caseMetas.length < 65536) {
|
|
2880
3058
|
discLowerRes = _lowerFlatU16(ctx);
|
|
2881
|
-
} else if (
|
|
3059
|
+
} else if (caseMetas.length >= 65536 && caseMetas.length < 4_294_967_296) {
|
|
2882
3060
|
discLowerRes = _lowerFlatU32(ctx);
|
|
2883
3061
|
} else {
|
|
2884
|
-
throw new Error(`unsupported number of cases [${
|
|
3062
|
+
throw new Error(`unsupported number of cases [${caseMetas.length}]`);
|
|
2885
3063
|
}
|
|
2886
3064
|
|
|
2887
|
-
const payloadOffsetPtr = originalPtr +
|
|
3065
|
+
const payloadOffsetPtr = originalPtr + variantPayloadOffset32;
|
|
2888
3066
|
ctx.storagePtr = payloadOffsetPtr;
|
|
2889
3067
|
ctx.vals = [val];
|
|
2890
3068
|
if (lowerFn) { lowerFn(ctx); }
|
|
2891
3069
|
|
|
2892
|
-
ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr +
|
|
3070
|
+
ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + variantSize32);
|
|
2893
3071
|
|
|
2894
|
-
const rem = ctx.storagePtr %
|
|
2895
|
-
if (rem !== 0) { ctx.storagePtr +=
|
|
3072
|
+
const rem = ctx.storagePtr % variantAlign32;
|
|
3073
|
+
if (rem !== 0) { ctx.storagePtr += varianttAlign32 - rem; }
|
|
2896
3074
|
}
|
|
2897
3075
|
}
|
|
2898
3076
|
|
|
@@ -3055,7 +3233,8 @@ function _lowerFlatFlags(meta) {
|
|
|
3055
3233
|
}
|
|
3056
3234
|
}
|
|
3057
3235
|
|
|
3058
|
-
function _lowerFlatEnum(
|
|
3236
|
+
function _lowerFlatEnum(meta) {
|
|
3237
|
+
const f = _lowerFlatVariant(meta);
|
|
3059
3238
|
return function _lowerFlatEnumInner(ctx) {
|
|
3060
3239
|
_debugLog('[_lowerFlatEnum()] args', { ctx });
|
|
3061
3240
|
|
|
@@ -3067,11 +3246,12 @@ function _lowerFlatEnum(lowerMetas) {
|
|
|
3067
3246
|
ctx.vals[0] = { tag: v };
|
|
3068
3247
|
}
|
|
3069
3248
|
|
|
3070
|
-
|
|
3249
|
+
f(ctx);
|
|
3071
3250
|
}
|
|
3072
3251
|
}
|
|
3073
3252
|
|
|
3074
|
-
function _lowerFlatOption(
|
|
3253
|
+
function _lowerFlatOption(meta) {
|
|
3254
|
+
const f = _lowerFlatVariant(meta);
|
|
3075
3255
|
return function _lowerFlatOptionInner(ctx) {
|
|
3076
3256
|
_debugLog('[_lowerFlatOption()] args', { ctx });
|
|
3077
3257
|
|
|
@@ -3089,13 +3269,14 @@ function _lowerFlatOption(lowerMetas) {
|
|
|
3089
3269
|
}
|
|
3090
3270
|
}
|
|
3091
3271
|
|
|
3092
|
-
|
|
3272
|
+
f(ctx);
|
|
3093
3273
|
}
|
|
3094
3274
|
}
|
|
3095
3275
|
|
|
3096
|
-
function _lowerFlatResult(
|
|
3276
|
+
function _lowerFlatResult(meta) {
|
|
3277
|
+
const f = _lowerFlatVariant(meta);
|
|
3097
3278
|
return function _lowerFlatResultInner(ctx) {
|
|
3098
|
-
_debugLog('[_lowerFlatResult()] args', {
|
|
3279
|
+
_debugLog('[_lowerFlatResult()] args', { ctx });
|
|
3099
3280
|
|
|
3100
3281
|
const v = ctx.vals[0];
|
|
3101
3282
|
const isNotResultObject = typeof v !== 'object'
|
|
@@ -3107,7 +3288,7 @@ function _lowerFlatResult(lowerMetas) {
|
|
|
3107
3288
|
ctx.vals[0] = { tag: 'ok', val: v };
|
|
3108
3289
|
}
|
|
3109
3290
|
|
|
3110
|
-
|
|
3291
|
+
f(ctx);
|
|
3111
3292
|
};
|
|
3112
3293
|
}
|
|
3113
3294
|
|
|
@@ -3391,7 +3572,10 @@ class ComponentAsyncState {
|
|
|
3391
3572
|
}
|
|
3392
3573
|
|
|
3393
3574
|
#removeSuspendedTaskMeta(taskID) {
|
|
3394
|
-
_debugLog('[ComponentAsyncState#removeSuspendedTaskMeta()] removing suspended task', {
|
|
3575
|
+
_debugLog('[ComponentAsyncState#removeSuspendedTaskMeta()] removing suspended task', {
|
|
3576
|
+
taskID,
|
|
3577
|
+
componentIdx: this.#componentIdx,
|
|
3578
|
+
});
|
|
3395
3579
|
const idx = this.#suspendedTaskIDs.findIndex(t => t === taskID);
|
|
3396
3580
|
const meta = this.#suspendedTasksByTaskID.get(taskID);
|
|
3397
3581
|
this.#suspendedTaskIDs[idx] = null;
|
|
@@ -3413,6 +3597,7 @@ class ComponentAsyncState {
|
|
|
3413
3597
|
suspendTask(args) {
|
|
3414
3598
|
const { task, readyFn } = args;
|
|
3415
3599
|
const taskID = task.id();
|
|
3600
|
+
const componentIdx = task.componentIdx();
|
|
3416
3601
|
_debugLog('[ComponentAsyncState#suspendTask()]', {
|
|
3417
3602
|
taskID,
|
|
3418
3603
|
componentIdx: this.#componentIdx,
|
|
@@ -3420,6 +3605,10 @@ class ComponentAsyncState {
|
|
|
3420
3605
|
subtask: task.getParentSubtask(),
|
|
3421
3606
|
});
|
|
3422
3607
|
|
|
3608
|
+
if (componentIdx !== this.#componentIdx) {
|
|
3609
|
+
throw new Error('assert: task component idx should match async state');
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3423
3612
|
if (this.#getSuspendedTaskMeta(taskID)) {
|
|
3424
3613
|
throw new Error(`task [${taskID}] already suspended`);
|
|
3425
3614
|
}
|
|
@@ -3430,7 +3619,10 @@ class ComponentAsyncState {
|
|
|
3430
3619
|
taskID,
|
|
3431
3620
|
readyFn,
|
|
3432
3621
|
resume: () => {
|
|
3433
|
-
_debugLog('[ComponentAsyncState
|
|
3622
|
+
_debugLog('[ComponentAsyncState] resuming suspended task', {
|
|
3623
|
+
taskID,
|
|
3624
|
+
componentIdx: this.#componentIdx,
|
|
3625
|
+
});
|
|
3434
3626
|
// TODO(threads): it's thread cancellation we should be checking for below, not task
|
|
3435
3627
|
resolve(!task.isCancelled());
|
|
3436
3628
|
},
|
|
@@ -3474,7 +3666,7 @@ class ComponentAsyncState {
|
|
|
3474
3666
|
// If the task failed via any means, allow the task to resume because
|
|
3475
3667
|
// it's been cancelled -- the callback should immediately exit as well
|
|
3476
3668
|
if (meta.task.isRejected()) {
|
|
3477
|
-
_debugLog('[ComponentAsyncState#
|
|
3669
|
+
_debugLog('[ComponentAsyncState#tick()] detected task rejection, leaving early', { meta });
|
|
3478
3670
|
this.resumeTaskByID(taskID);
|
|
3479
3671
|
return;
|
|
3480
3672
|
}
|
|
@@ -3482,6 +3674,10 @@ class ComponentAsyncState {
|
|
|
3482
3674
|
const isReady = meta.readyFn();
|
|
3483
3675
|
if (!isReady) { continue; }
|
|
3484
3676
|
|
|
3677
|
+
_debugLog('[ComponentAsyncState#tick()] resuming task via tick', {
|
|
3678
|
+
taskID,
|
|
3679
|
+
componentIdx: this.#componentIdx,
|
|
3680
|
+
});
|
|
3485
3681
|
this.resumeTaskByID(taskID);
|
|
3486
3682
|
}
|
|
3487
3683
|
|
|
@@ -3896,7 +4092,7 @@ HANDLE_TABLES[2] = handleTable2;
|
|
|
3896
4092
|
|
|
3897
4093
|
const _trampoline5 = function() {
|
|
3898
4094
|
_debugLog('[iface="wasi:cli/stderr@0.2.3", function="get-stderr"] [Instruction::CallInterface] (sync, @ enter)');
|
|
3899
|
-
|
|
4095
|
+
const hostProvided = true;
|
|
3900
4096
|
|
|
3901
4097
|
let parentTask;
|
|
3902
4098
|
let task;
|
|
@@ -3950,6 +4146,11 @@ const _trampoline5 = function() {
|
|
|
3950
4146
|
;
|
|
3951
4147
|
} catch (err) {
|
|
3952
4148
|
|
|
4149
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
4150
|
+
taskID: task.id(),
|
|
4151
|
+
subtaskID: currentSubtask?.id(),
|
|
4152
|
+
err,
|
|
4153
|
+
});
|
|
3953
4154
|
task.setErrored(err);
|
|
3954
4155
|
task.reject(err);
|
|
3955
4156
|
task.exit();
|
|
@@ -3991,7 +4192,7 @@ HANDLE_TABLES[1] = handleTable1;
|
|
|
3991
4192
|
|
|
3992
4193
|
const _trampoline8 = function() {
|
|
3993
4194
|
_debugLog('[iface="wasi:cli/stdin@0.2.3", function="get-stdin"] [Instruction::CallInterface] (sync, @ enter)');
|
|
3994
|
-
|
|
4195
|
+
const hostProvided = true;
|
|
3995
4196
|
|
|
3996
4197
|
let parentTask;
|
|
3997
4198
|
let task;
|
|
@@ -4045,6 +4246,11 @@ const _trampoline8 = function() {
|
|
|
4045
4246
|
;
|
|
4046
4247
|
} catch (err) {
|
|
4047
4248
|
|
|
4249
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
4250
|
+
taskID: task.id(),
|
|
4251
|
+
subtaskID: currentSubtask?.id(),
|
|
4252
|
+
err,
|
|
4253
|
+
});
|
|
4048
4254
|
task.setErrored(err);
|
|
4049
4255
|
task.reject(err);
|
|
4050
4256
|
task.exit();
|
|
@@ -4077,7 +4283,7 @@ _trampoline8.fnName = 'wasi:cli/stdin@0.2.3#getStdin';
|
|
|
4077
4283
|
|
|
4078
4284
|
const _trampoline9 = function() {
|
|
4079
4285
|
_debugLog('[iface="wasi:cli/stdout@0.2.3", function="get-stdout"] [Instruction::CallInterface] (sync, @ enter)');
|
|
4080
|
-
|
|
4286
|
+
const hostProvided = true;
|
|
4081
4287
|
|
|
4082
4288
|
let parentTask;
|
|
4083
4289
|
let task;
|
|
@@ -4131,6 +4337,11 @@ const _trampoline9 = function() {
|
|
|
4131
4337
|
;
|
|
4132
4338
|
} catch (err) {
|
|
4133
4339
|
|
|
4340
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
4341
|
+
taskID: task.id(),
|
|
4342
|
+
subtaskID: currentSubtask?.id(),
|
|
4343
|
+
err,
|
|
4344
|
+
});
|
|
4134
4345
|
task.setErrored(err);
|
|
4135
4346
|
task.reject(err);
|
|
4136
4347
|
task.exit();
|
|
@@ -4183,7 +4394,7 @@ const _trampoline10 = function(arg0) {
|
|
|
4183
4394
|
}
|
|
4184
4395
|
}
|
|
4185
4396
|
_debugLog('[iface="wasi:cli/exit@0.2.3", function="exit"] [Instruction::CallInterface] (sync, @ enter)');
|
|
4186
|
-
|
|
4397
|
+
const hostProvided = true;
|
|
4187
4398
|
|
|
4188
4399
|
let parentTask;
|
|
4189
4400
|
let task;
|
|
@@ -4237,6 +4448,11 @@ const _trampoline10 = function(arg0) {
|
|
|
4237
4448
|
;
|
|
4238
4449
|
} catch (err) {
|
|
4239
4450
|
|
|
4451
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
4452
|
+
taskID: task.id(),
|
|
4453
|
+
subtaskID: currentSubtask?.id(),
|
|
4454
|
+
err,
|
|
4455
|
+
});
|
|
4240
4456
|
task.setErrored(err);
|
|
4241
4457
|
task.reject(err);
|
|
4242
4458
|
task.exit();
|
|
@@ -4261,7 +4477,7 @@ let realloc0Async;
|
|
|
4261
4477
|
|
|
4262
4478
|
const _trampoline11 = function(arg0) {
|
|
4263
4479
|
_debugLog('[iface="wasi:cli/environment@0.2.3", function="get-environment"] [Instruction::CallInterface] (sync, @ enter)');
|
|
4264
|
-
|
|
4480
|
+
const hostProvided = true;
|
|
4265
4481
|
|
|
4266
4482
|
let parentTask;
|
|
4267
4483
|
let task;
|
|
@@ -4315,6 +4531,11 @@ const _trampoline11 = function(arg0) {
|
|
|
4315
4531
|
;
|
|
4316
4532
|
} catch (err) {
|
|
4317
4533
|
|
|
4534
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
4535
|
+
taskID: task.id(),
|
|
4536
|
+
subtaskID: currentSubtask?.id(),
|
|
4537
|
+
err,
|
|
4538
|
+
});
|
|
4318
4539
|
task.setErrored(err);
|
|
4319
4540
|
task.reject(err);
|
|
4320
4541
|
task.exit();
|
|
@@ -4378,7 +4599,7 @@ const _trampoline12 = function(arg0, arg1) {
|
|
|
4378
4599
|
|
|
4379
4600
|
curResourceBorrows.push(rsc0);
|
|
4380
4601
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.get-flags"] [Instruction::CallInterface] (sync, @ enter)');
|
|
4381
|
-
|
|
4602
|
+
const hostProvided = true;
|
|
4382
4603
|
|
|
4383
4604
|
let parentTask;
|
|
4384
4605
|
let task;
|
|
@@ -4647,7 +4868,7 @@ const _trampoline13 = function(arg0, arg1) {
|
|
|
4647
4868
|
|
|
4648
4869
|
curResourceBorrows.push(rsc0);
|
|
4649
4870
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.get-type"] [Instruction::CallInterface] (sync, @ enter)');
|
|
4650
|
-
|
|
4871
|
+
const hostProvided = true;
|
|
4651
4872
|
|
|
4652
4873
|
let parentTask;
|
|
4653
4874
|
let task;
|
|
@@ -4953,7 +5174,7 @@ const _trampoline14 = function(arg0, arg1) {
|
|
|
4953
5174
|
|
|
4954
5175
|
curResourceBorrows.push(rsc0);
|
|
4955
5176
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.metadata-hash"] [Instruction::CallInterface] (sync, @ enter)');
|
|
4956
|
-
|
|
5177
|
+
const hostProvided = true;
|
|
4957
5178
|
|
|
4958
5179
|
let parentTask;
|
|
4959
5180
|
let task;
|
|
@@ -5227,7 +5448,7 @@ const _trampoline15 = function(arg0, arg1) {
|
|
|
5227
5448
|
|
|
5228
5449
|
curResourceBorrows.push(rsc0);
|
|
5229
5450
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="filesystem-error-code"] [Instruction::CallInterface] (sync, @ enter)');
|
|
5230
|
-
|
|
5451
|
+
const hostProvided = true;
|
|
5231
5452
|
|
|
5232
5453
|
let parentTask;
|
|
5233
5454
|
let task;
|
|
@@ -5281,6 +5502,11 @@ const _trampoline15 = function(arg0, arg1) {
|
|
|
5281
5502
|
;
|
|
5282
5503
|
} catch (err) {
|
|
5283
5504
|
|
|
5505
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
5506
|
+
taskID: task.id(),
|
|
5507
|
+
subtaskID: currentSubtask?.id(),
|
|
5508
|
+
err,
|
|
5509
|
+
});
|
|
5284
5510
|
task.setErrored(err);
|
|
5285
5511
|
task.reject(err);
|
|
5286
5512
|
task.exit();
|
|
@@ -5492,7 +5718,7 @@ const _trampoline16 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
|
5492
5718
|
var len4 = arg3;
|
|
5493
5719
|
var result4 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr4, len4));
|
|
5494
5720
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.metadata-hash-at"] [Instruction::CallInterface] (sync, @ enter)');
|
|
5495
|
-
|
|
5721
|
+
const hostProvided = true;
|
|
5496
5722
|
|
|
5497
5723
|
let parentTask;
|
|
5498
5724
|
let task;
|
|
@@ -5757,7 +5983,7 @@ const _trampoline17 = function(arg0, arg1, arg2) {
|
|
|
5757
5983
|
|
|
5758
5984
|
curResourceBorrows.push(rsc0);
|
|
5759
5985
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.read-via-stream"] [Instruction::CallInterface] (sync, @ enter)');
|
|
5760
|
-
|
|
5986
|
+
const hostProvided = true;
|
|
5761
5987
|
|
|
5762
5988
|
let parentTask;
|
|
5763
5989
|
let task;
|
|
@@ -6031,7 +6257,7 @@ const _trampoline18 = function(arg0, arg1, arg2) {
|
|
|
6031
6257
|
|
|
6032
6258
|
curResourceBorrows.push(rsc0);
|
|
6033
6259
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.write-via-stream"] [Instruction::CallInterface] (sync, @ enter)');
|
|
6034
|
-
|
|
6260
|
+
const hostProvided = true;
|
|
6035
6261
|
|
|
6036
6262
|
let parentTask;
|
|
6037
6263
|
let task;
|
|
@@ -6305,7 +6531,7 @@ const _trampoline19 = function(arg0, arg1) {
|
|
|
6305
6531
|
|
|
6306
6532
|
curResourceBorrows.push(rsc0);
|
|
6307
6533
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.append-via-stream"] [Instruction::CallInterface] (sync, @ enter)');
|
|
6308
|
-
|
|
6534
|
+
const hostProvided = true;
|
|
6309
6535
|
|
|
6310
6536
|
let parentTask;
|
|
6311
6537
|
let task;
|
|
@@ -6588,7 +6814,7 @@ const _trampoline20 = function(arg0, arg1) {
|
|
|
6588
6814
|
|
|
6589
6815
|
curResourceBorrows.push(rsc0);
|
|
6590
6816
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.read-directory"] [Instruction::CallInterface] (sync, @ enter)');
|
|
6591
|
-
|
|
6817
|
+
const hostProvided = true;
|
|
6592
6818
|
|
|
6593
6819
|
let parentTask;
|
|
6594
6820
|
let task;
|
|
@@ -6862,7 +7088,7 @@ const _trampoline21 = function(arg0, arg1) {
|
|
|
6862
7088
|
|
|
6863
7089
|
curResourceBorrows.push(rsc0);
|
|
6864
7090
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.stat"] [Instruction::CallInterface] (sync, @ enter)');
|
|
6865
|
-
|
|
7091
|
+
const hostProvided = true;
|
|
6866
7092
|
|
|
6867
7093
|
let parentTask;
|
|
6868
7094
|
let task;
|
|
@@ -7210,7 +7436,7 @@ const _trampoline22 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
|
7210
7436
|
var len4 = arg3;
|
|
7211
7437
|
var result4 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr4, len4));
|
|
7212
7438
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.stat-at"] [Instruction::CallInterface] (sync, @ enter)');
|
|
7213
|
-
|
|
7439
|
+
const hostProvided = true;
|
|
7214
7440
|
|
|
7215
7441
|
let parentTask;
|
|
7216
7442
|
let task;
|
|
@@ -7578,7 +7804,7 @@ const _trampoline23 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
|
7578
7804
|
mutateDirectory: Boolean(arg5 & 32),
|
|
7579
7805
|
};
|
|
7580
7806
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]descriptor.open-at"] [Instruction::CallInterface] (sync, @ enter)');
|
|
7581
|
-
|
|
7807
|
+
const hostProvided = true;
|
|
7582
7808
|
|
|
7583
7809
|
let parentTask;
|
|
7584
7810
|
let task;
|
|
@@ -7852,7 +8078,7 @@ const _trampoline24 = function(arg0, arg1) {
|
|
|
7852
8078
|
|
|
7853
8079
|
curResourceBorrows.push(rsc0);
|
|
7854
8080
|
_debugLog('[iface="wasi:filesystem/types@0.2.3", function="[method]directory-entry-stream.read-directory-entry"] [Instruction::CallInterface] (sync, @ enter)');
|
|
7855
|
-
|
|
8081
|
+
const hostProvided = true;
|
|
7856
8082
|
|
|
7857
8083
|
let parentTask;
|
|
7858
8084
|
let task;
|
|
@@ -8173,7 +8399,7 @@ const _trampoline25 = function(arg0, arg1, arg2) {
|
|
|
8173
8399
|
|
|
8174
8400
|
curResourceBorrows.push(rsc0);
|
|
8175
8401
|
_debugLog('[iface="wasi:io/streams@0.2.3", function="[method]input-stream.read"] [Instruction::CallInterface] (sync, @ enter)');
|
|
8176
|
-
|
|
8402
|
+
const hostProvided = true;
|
|
8177
8403
|
|
|
8178
8404
|
let parentTask;
|
|
8179
8405
|
let task;
|
|
@@ -8326,7 +8552,7 @@ const _trampoline26 = function(arg0, arg1, arg2) {
|
|
|
8326
8552
|
|
|
8327
8553
|
curResourceBorrows.push(rsc0);
|
|
8328
8554
|
_debugLog('[iface="wasi:io/streams@0.2.3", function="[method]input-stream.blocking-read"] [Instruction::CallInterface] (sync, @ enter)');
|
|
8329
|
-
|
|
8555
|
+
const hostProvided = true;
|
|
8330
8556
|
|
|
8331
8557
|
let parentTask;
|
|
8332
8558
|
let task;
|
|
@@ -8479,7 +8705,7 @@ const _trampoline27 = function(arg0, arg1) {
|
|
|
8479
8705
|
|
|
8480
8706
|
curResourceBorrows.push(rsc0);
|
|
8481
8707
|
_debugLog('[iface="wasi:io/streams@0.2.3", function="[method]output-stream.check-write"] [Instruction::CallInterface] (sync, @ enter)');
|
|
8482
|
-
|
|
8708
|
+
const hostProvided = true;
|
|
8483
8709
|
|
|
8484
8710
|
let parentTask;
|
|
8485
8711
|
let task;
|
|
@@ -8612,7 +8838,7 @@ const _trampoline28 = function(arg0, arg1, arg2, arg3) {
|
|
|
8612
8838
|
var len3 = arg2;
|
|
8613
8839
|
var result3 = new Uint8Array(memory0.buffer.slice(ptr3, ptr3 + len3 * 1));
|
|
8614
8840
|
_debugLog('[iface="wasi:io/streams@0.2.3", function="[method]output-stream.write"] [Instruction::CallInterface] (sync, @ enter)');
|
|
8615
|
-
|
|
8841
|
+
const hostProvided = true;
|
|
8616
8842
|
|
|
8617
8843
|
let parentTask;
|
|
8618
8844
|
let task;
|
|
@@ -8744,7 +8970,7 @@ const _trampoline29 = function(arg0, arg1, arg2, arg3) {
|
|
|
8744
8970
|
var len3 = arg2;
|
|
8745
8971
|
var result3 = new Uint8Array(memory0.buffer.slice(ptr3, ptr3 + len3 * 1));
|
|
8746
8972
|
_debugLog('[iface="wasi:io/streams@0.2.3", function="[method]output-stream.blocking-write-and-flush"] [Instruction::CallInterface] (sync, @ enter)');
|
|
8747
|
-
|
|
8973
|
+
const hostProvided = true;
|
|
8748
8974
|
|
|
8749
8975
|
let parentTask;
|
|
8750
8976
|
let task;
|
|
@@ -8873,7 +9099,7 @@ const _trampoline30 = function(arg0, arg1) {
|
|
|
8873
9099
|
|
|
8874
9100
|
curResourceBorrows.push(rsc0);
|
|
8875
9101
|
_debugLog('[iface="wasi:io/streams@0.2.3", function="[method]output-stream.blocking-flush"] [Instruction::CallInterface] (sync, @ enter)');
|
|
8876
|
-
|
|
9102
|
+
const hostProvided = true;
|
|
8877
9103
|
|
|
8878
9104
|
let parentTask;
|
|
8879
9105
|
let task;
|
|
@@ -8991,7 +9217,7 @@ _trampoline30.fnName = 'wasi:io/streams@0.2.3#blockingFlush';
|
|
|
8991
9217
|
|
|
8992
9218
|
const _trampoline31 = function(arg0, arg1) {
|
|
8993
9219
|
_debugLog('[iface="wasi:random/random@0.2.3", function="get-random-bytes"] [Instruction::CallInterface] (sync, @ enter)');
|
|
8994
|
-
|
|
9220
|
+
const hostProvided = true;
|
|
8995
9221
|
|
|
8996
9222
|
let parentTask;
|
|
8997
9223
|
let task;
|
|
@@ -9045,6 +9271,11 @@ const _trampoline31 = function(arg0, arg1) {
|
|
|
9045
9271
|
;
|
|
9046
9272
|
} catch (err) {
|
|
9047
9273
|
|
|
9274
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
9275
|
+
taskID: task.id(),
|
|
9276
|
+
subtaskID: currentSubtask?.id(),
|
|
9277
|
+
err,
|
|
9278
|
+
});
|
|
9048
9279
|
task.setErrored(err);
|
|
9049
9280
|
task.reject(err);
|
|
9050
9281
|
task.exit();
|
|
@@ -9089,7 +9320,7 @@ _trampoline31.fnName = 'wasi:random/random@0.2.3#getRandomBytes';
|
|
|
9089
9320
|
|
|
9090
9321
|
const _trampoline32 = function(arg0) {
|
|
9091
9322
|
_debugLog('[iface="wasi:filesystem/preopens@0.2.3", function="get-directories"] [Instruction::CallInterface] (sync, @ enter)');
|
|
9092
|
-
|
|
9323
|
+
const hostProvided = true;
|
|
9093
9324
|
|
|
9094
9325
|
let parentTask;
|
|
9095
9326
|
let task;
|
|
@@ -9143,6 +9374,11 @@ const _trampoline32 = function(arg0) {
|
|
|
9143
9374
|
;
|
|
9144
9375
|
} catch (err) {
|
|
9145
9376
|
|
|
9377
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
9378
|
+
taskID: task.id(),
|
|
9379
|
+
subtaskID: currentSubtask?.id(),
|
|
9380
|
+
err,
|
|
9381
|
+
});
|
|
9146
9382
|
task.setErrored(err);
|
|
9147
9383
|
task.reject(err);
|
|
9148
9384
|
task.exit();
|
|
@@ -9200,7 +9436,7 @@ HANDLE_TABLES[3] = handleTable3;
|
|
|
9200
9436
|
|
|
9201
9437
|
const _trampoline33 = function(arg0) {
|
|
9202
9438
|
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.3", function="get-terminal-stdin"] [Instruction::CallInterface] (sync, @ enter)');
|
|
9203
|
-
|
|
9439
|
+
const hostProvided = true;
|
|
9204
9440
|
|
|
9205
9441
|
let parentTask;
|
|
9206
9442
|
let task;
|
|
@@ -9254,6 +9490,11 @@ const _trampoline33 = function(arg0) {
|
|
|
9254
9490
|
;
|
|
9255
9491
|
} catch (err) {
|
|
9256
9492
|
|
|
9493
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
9494
|
+
taskID: task.id(),
|
|
9495
|
+
subtaskID: currentSubtask?.id(),
|
|
9496
|
+
err,
|
|
9497
|
+
});
|
|
9257
9498
|
task.setErrored(err);
|
|
9258
9499
|
task.reject(err);
|
|
9259
9500
|
task.exit();
|
|
@@ -9302,7 +9543,7 @@ HANDLE_TABLES[4] = handleTable4;
|
|
|
9302
9543
|
|
|
9303
9544
|
const _trampoline34 = function(arg0) {
|
|
9304
9545
|
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.3", function="get-terminal-stdout"] [Instruction::CallInterface] (sync, @ enter)');
|
|
9305
|
-
|
|
9546
|
+
const hostProvided = true;
|
|
9306
9547
|
|
|
9307
9548
|
let parentTask;
|
|
9308
9549
|
let task;
|
|
@@ -9356,6 +9597,11 @@ const _trampoline34 = function(arg0) {
|
|
|
9356
9597
|
;
|
|
9357
9598
|
} catch (err) {
|
|
9358
9599
|
|
|
9600
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
9601
|
+
taskID: task.id(),
|
|
9602
|
+
subtaskID: currentSubtask?.id(),
|
|
9603
|
+
err,
|
|
9604
|
+
});
|
|
9359
9605
|
task.setErrored(err);
|
|
9360
9606
|
task.reject(err);
|
|
9361
9607
|
task.exit();
|
|
@@ -9395,7 +9641,7 @@ _trampoline34.fnName = 'wasi:cli/terminal-stdout@0.2.3#getTerminalStdout';
|
|
|
9395
9641
|
|
|
9396
9642
|
const _trampoline35 = function(arg0) {
|
|
9397
9643
|
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.3", function="get-terminal-stderr"] [Instruction::CallInterface] (sync, @ enter)');
|
|
9398
|
-
|
|
9644
|
+
const hostProvided = true;
|
|
9399
9645
|
|
|
9400
9646
|
let parentTask;
|
|
9401
9647
|
let task;
|
|
@@ -9449,6 +9695,11 @@ const _trampoline35 = function(arg0) {
|
|
|
9449
9695
|
;
|
|
9450
9696
|
} catch (err) {
|
|
9451
9697
|
|
|
9698
|
+
_debugLog('[Instruction::CallInterface] error during sync call', {
|
|
9699
|
+
taskID: task.id(),
|
|
9700
|
+
subtaskID: currentSubtask?.id(),
|
|
9701
|
+
err,
|
|
9702
|
+
});
|
|
9452
9703
|
task.setErrored(err);
|
|
9453
9704
|
task.reject(err);
|
|
9454
9705
|
task.exit();
|
|
@@ -9795,6 +10046,10 @@ function generate(arg0, arg1) {
|
|
|
9795
10046
|
});
|
|
9796
10047
|
} catch (err) {
|
|
9797
10048
|
|
|
10049
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
10050
|
+
taskID: task.id(),
|
|
10051
|
+
err,
|
|
10052
|
+
});
|
|
9798
10053
|
task.setErrored(err);
|
|
9799
10054
|
task.reject(err);
|
|
9800
10055
|
task.exit();
|
|
@@ -10187,6 +10442,10 @@ function generateTypes(arg0, arg1) {
|
|
|
10187
10442
|
});
|
|
10188
10443
|
} catch (err) {
|
|
10189
10444
|
|
|
10445
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
10446
|
+
taskID: task.id(),
|
|
10447
|
+
err,
|
|
10448
|
+
});
|
|
10190
10449
|
task.setErrored(err);
|
|
10191
10450
|
task.reject(err);
|
|
10192
10451
|
task.exit();
|
|
@@ -10570,7 +10829,15 @@ null,
|
|
|
10570
10829
|
componentIdx: 0,
|
|
10571
10830
|
isAsync: false,
|
|
10572
10831
|
isManualAsync: _trampoline10.manuallyAsync,
|
|
10573
|
-
paramLiftFns: [
|
|
10832
|
+
paramLiftFns: [
|
|
10833
|
+
_liftFlatResult({
|
|
10834
|
+
caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
|
|
10835
|
+
variantSize32: 1,
|
|
10836
|
+
variantAlign32: 1,
|
|
10837
|
+
variantPayloadOffset32: 1,
|
|
10838
|
+
variantFlatCount: 1,
|
|
10839
|
+
})
|
|
10840
|
+
],
|
|
10574
10841
|
resultLowerFns: [],
|
|
10575
10842
|
hasResultPointer: false,
|
|
10576
10843
|
funcTypeIsAsync: false,
|
|
@@ -10590,7 +10857,15 @@ null,
|
|
|
10590
10857
|
componentIdx: 0,
|
|
10591
10858
|
isAsync: false,
|
|
10592
10859
|
isManualAsync: _trampoline10.manuallyAsync,
|
|
10593
|
-
paramLiftFns: [
|
|
10860
|
+
paramLiftFns: [
|
|
10861
|
+
_liftFlatResult({
|
|
10862
|
+
caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
|
|
10863
|
+
variantSize32: 1,
|
|
10864
|
+
variantAlign32: 1,
|
|
10865
|
+
variantPayloadOffset32: 1,
|
|
10866
|
+
variantFlatCount: 1,
|
|
10867
|
+
})
|
|
10868
|
+
],
|
|
10594
10869
|
resultLowerFns: [],
|
|
10595
10870
|
hasResultPointer: false,
|
|
10596
10871
|
funcTypeIsAsync: false,
|
|
@@ -10661,10 +10936,25 @@ null,
|
|
|
10661
10936
|
isAsync: false,
|
|
10662
10937
|
isManualAsync: _trampoline12.manuallyAsync,
|
|
10663
10938
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10664
|
-
resultLowerFns: [
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10939
|
+
resultLowerFns: [
|
|
10940
|
+
_lowerFlatResult({
|
|
10941
|
+
caseMetas: [
|
|
10942
|
+
[ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
|
|
10943
|
+
[ 'err',
|
|
10944
|
+
_lowerFlatEnum({
|
|
10945
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
10946
|
+
variantSize32: 1,
|
|
10947
|
+
variantAlign32: 1,
|
|
10948
|
+
variantPayloadOffset32: 1,
|
|
10949
|
+
variantFlatCount: 1,
|
|
10950
|
+
})
|
|
10951
|
+
, 2, 1, 1 ],
|
|
10952
|
+
],
|
|
10953
|
+
variantSize32: 2,
|
|
10954
|
+
variantAlign32: 1,
|
|
10955
|
+
variantPayloadOffset32: 1,
|
|
10956
|
+
variantFlatCount: 2,
|
|
10957
|
+
})
|
|
10668
10958
|
],
|
|
10669
10959
|
hasResultPointer: true,
|
|
10670
10960
|
funcTypeIsAsync: false,
|
|
@@ -10685,10 +10975,25 @@ null,
|
|
|
10685
10975
|
isAsync: false,
|
|
10686
10976
|
isManualAsync: _trampoline12.manuallyAsync,
|
|
10687
10977
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10688
|
-
resultLowerFns: [
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10978
|
+
resultLowerFns: [
|
|
10979
|
+
_lowerFlatResult({
|
|
10980
|
+
caseMetas: [
|
|
10981
|
+
[ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
|
|
10982
|
+
[ 'err',
|
|
10983
|
+
_lowerFlatEnum({
|
|
10984
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
10985
|
+
variantSize32: 1,
|
|
10986
|
+
variantAlign32: 1,
|
|
10987
|
+
variantPayloadOffset32: 1,
|
|
10988
|
+
variantFlatCount: 1,
|
|
10989
|
+
})
|
|
10990
|
+
, 2, 1, 1 ],
|
|
10991
|
+
],
|
|
10992
|
+
variantSize32: 2,
|
|
10993
|
+
variantAlign32: 1,
|
|
10994
|
+
variantPayloadOffset32: 1,
|
|
10995
|
+
variantFlatCount: 2,
|
|
10996
|
+
})
|
|
10692
10997
|
],
|
|
10693
10998
|
hasResultPointer: true,
|
|
10694
10999
|
funcTypeIsAsync: false,
|
|
@@ -10710,10 +11015,33 @@ null,
|
|
|
10710
11015
|
isAsync: false,
|
|
10711
11016
|
isManualAsync: _trampoline13.manuallyAsync,
|
|
10712
11017
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10713
|
-
resultLowerFns: [
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
11018
|
+
resultLowerFns: [
|
|
11019
|
+
_lowerFlatResult({
|
|
11020
|
+
caseMetas: [
|
|
11021
|
+
[ 'ok',
|
|
11022
|
+
_lowerFlatEnum({
|
|
11023
|
+
caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
|
|
11024
|
+
variantSize32: 1,
|
|
11025
|
+
variantAlign32: 1,
|
|
11026
|
+
variantPayloadOffset32: 1,
|
|
11027
|
+
variantFlatCount: 1,
|
|
11028
|
+
})
|
|
11029
|
+
, 2, 1, 1 ],
|
|
11030
|
+
[ 'err',
|
|
11031
|
+
_lowerFlatEnum({
|
|
11032
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11033
|
+
variantSize32: 1,
|
|
11034
|
+
variantAlign32: 1,
|
|
11035
|
+
variantPayloadOffset32: 1,
|
|
11036
|
+
variantFlatCount: 1,
|
|
11037
|
+
})
|
|
11038
|
+
, 2, 1, 1 ],
|
|
11039
|
+
],
|
|
11040
|
+
variantSize32: 2,
|
|
11041
|
+
variantAlign32: 1,
|
|
11042
|
+
variantPayloadOffset32: 1,
|
|
11043
|
+
variantFlatCount: 2,
|
|
11044
|
+
})
|
|
10717
11045
|
],
|
|
10718
11046
|
hasResultPointer: true,
|
|
10719
11047
|
funcTypeIsAsync: false,
|
|
@@ -10734,10 +11062,33 @@ null,
|
|
|
10734
11062
|
isAsync: false,
|
|
10735
11063
|
isManualAsync: _trampoline13.manuallyAsync,
|
|
10736
11064
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10737
|
-
resultLowerFns: [
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
11065
|
+
resultLowerFns: [
|
|
11066
|
+
_lowerFlatResult({
|
|
11067
|
+
caseMetas: [
|
|
11068
|
+
[ 'ok',
|
|
11069
|
+
_lowerFlatEnum({
|
|
11070
|
+
caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
|
|
11071
|
+
variantSize32: 1,
|
|
11072
|
+
variantAlign32: 1,
|
|
11073
|
+
variantPayloadOffset32: 1,
|
|
11074
|
+
variantFlatCount: 1,
|
|
11075
|
+
})
|
|
11076
|
+
, 2, 1, 1 ],
|
|
11077
|
+
[ 'err',
|
|
11078
|
+
_lowerFlatEnum({
|
|
11079
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11080
|
+
variantSize32: 1,
|
|
11081
|
+
variantAlign32: 1,
|
|
11082
|
+
variantPayloadOffset32: 1,
|
|
11083
|
+
variantFlatCount: 1,
|
|
11084
|
+
})
|
|
11085
|
+
, 2, 1, 1 ],
|
|
11086
|
+
],
|
|
11087
|
+
variantSize32: 2,
|
|
11088
|
+
variantAlign32: 1,
|
|
11089
|
+
variantPayloadOffset32: 1,
|
|
11090
|
+
variantFlatCount: 2,
|
|
11091
|
+
})
|
|
10741
11092
|
],
|
|
10742
11093
|
hasResultPointer: true,
|
|
10743
11094
|
funcTypeIsAsync: false,
|
|
@@ -10759,10 +11110,25 @@ null,
|
|
|
10759
11110
|
isAsync: false,
|
|
10760
11111
|
isManualAsync: _trampoline14.manuallyAsync,
|
|
10761
11112
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10762
|
-
resultLowerFns: [
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
11113
|
+
resultLowerFns: [
|
|
11114
|
+
_lowerFlatResult({
|
|
11115
|
+
caseMetas: [
|
|
11116
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11117
|
+
[ 'err',
|
|
11118
|
+
_lowerFlatEnum({
|
|
11119
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11120
|
+
variantSize32: 1,
|
|
11121
|
+
variantAlign32: 1,
|
|
11122
|
+
variantPayloadOffset32: 1,
|
|
11123
|
+
variantFlatCount: 1,
|
|
11124
|
+
})
|
|
11125
|
+
, 24, 8, 8 ],
|
|
11126
|
+
],
|
|
11127
|
+
variantSize32: 24,
|
|
11128
|
+
variantAlign32: 8,
|
|
11129
|
+
variantPayloadOffset32: 8,
|
|
11130
|
+
variantFlatCount: 3,
|
|
11131
|
+
})
|
|
10766
11132
|
],
|
|
10767
11133
|
hasResultPointer: true,
|
|
10768
11134
|
funcTypeIsAsync: false,
|
|
@@ -10783,10 +11149,25 @@ null,
|
|
|
10783
11149
|
isAsync: false,
|
|
10784
11150
|
isManualAsync: _trampoline14.manuallyAsync,
|
|
10785
11151
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10786
|
-
resultLowerFns: [
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
11152
|
+
resultLowerFns: [
|
|
11153
|
+
_lowerFlatResult({
|
|
11154
|
+
caseMetas: [
|
|
11155
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11156
|
+
[ 'err',
|
|
11157
|
+
_lowerFlatEnum({
|
|
11158
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11159
|
+
variantSize32: 1,
|
|
11160
|
+
variantAlign32: 1,
|
|
11161
|
+
variantPayloadOffset32: 1,
|
|
11162
|
+
variantFlatCount: 1,
|
|
11163
|
+
})
|
|
11164
|
+
, 24, 8, 8 ],
|
|
11165
|
+
],
|
|
11166
|
+
variantSize32: 24,
|
|
11167
|
+
variantAlign32: 8,
|
|
11168
|
+
variantPayloadOffset32: 8,
|
|
11169
|
+
variantFlatCount: 3,
|
|
11170
|
+
})
|
|
10790
11171
|
],
|
|
10791
11172
|
hasResultPointer: true,
|
|
10792
11173
|
funcTypeIsAsync: false,
|
|
@@ -10808,10 +11189,25 @@ null,
|
|
|
10808
11189
|
isAsync: false,
|
|
10809
11190
|
isManualAsync: _trampoline15.manuallyAsync,
|
|
10810
11191
|
paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
|
|
10811
|
-
resultLowerFns: [
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
11192
|
+
resultLowerFns: [
|
|
11193
|
+
_lowerFlatOption({
|
|
11194
|
+
caseMetas: [
|
|
11195
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11196
|
+
[ 'some',
|
|
11197
|
+
_lowerFlatEnum({
|
|
11198
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11199
|
+
variantSize32: 1,
|
|
11200
|
+
variantAlign32: 1,
|
|
11201
|
+
variantPayloadOffset32: 1,
|
|
11202
|
+
variantFlatCount: 1,
|
|
11203
|
+
})
|
|
11204
|
+
, 1, 1, 1],
|
|
11205
|
+
],
|
|
11206
|
+
variantSize32: 2,
|
|
11207
|
+
variantAlign32: 1,
|
|
11208
|
+
variantPayloadOffset32: 1,
|
|
11209
|
+
variantFlatCount: 2,
|
|
11210
|
+
})
|
|
10815
11211
|
],
|
|
10816
11212
|
hasResultPointer: true,
|
|
10817
11213
|
funcTypeIsAsync: false,
|
|
@@ -10832,10 +11228,25 @@ null,
|
|
|
10832
11228
|
isAsync: false,
|
|
10833
11229
|
isManualAsync: _trampoline15.manuallyAsync,
|
|
10834
11230
|
paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
|
|
10835
|
-
resultLowerFns: [
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
|
|
11231
|
+
resultLowerFns: [
|
|
11232
|
+
_lowerFlatOption({
|
|
11233
|
+
caseMetas: [
|
|
11234
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11235
|
+
[ 'some',
|
|
11236
|
+
_lowerFlatEnum({
|
|
11237
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11238
|
+
variantSize32: 1,
|
|
11239
|
+
variantAlign32: 1,
|
|
11240
|
+
variantPayloadOffset32: 1,
|
|
11241
|
+
variantFlatCount: 1,
|
|
11242
|
+
})
|
|
11243
|
+
, 1, 1, 1],
|
|
11244
|
+
],
|
|
11245
|
+
variantSize32: 2,
|
|
11246
|
+
variantAlign32: 1,
|
|
11247
|
+
variantPayloadOffset32: 1,
|
|
11248
|
+
variantFlatCount: 2,
|
|
11249
|
+
})
|
|
10839
11250
|
],
|
|
10840
11251
|
hasResultPointer: true,
|
|
10841
11252
|
funcTypeIsAsync: false,
|
|
@@ -10857,10 +11268,25 @@ null,
|
|
|
10857
11268
|
isAsync: false,
|
|
10858
11269
|
isManualAsync: _trampoline16.manuallyAsync,
|
|
10859
11270
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
10860
|
-
resultLowerFns: [
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
11271
|
+
resultLowerFns: [
|
|
11272
|
+
_lowerFlatResult({
|
|
11273
|
+
caseMetas: [
|
|
11274
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11275
|
+
[ 'err',
|
|
11276
|
+
_lowerFlatEnum({
|
|
11277
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11278
|
+
variantSize32: 1,
|
|
11279
|
+
variantAlign32: 1,
|
|
11280
|
+
variantPayloadOffset32: 1,
|
|
11281
|
+
variantFlatCount: 1,
|
|
11282
|
+
})
|
|
11283
|
+
, 24, 8, 8 ],
|
|
11284
|
+
],
|
|
11285
|
+
variantSize32: 24,
|
|
11286
|
+
variantAlign32: 8,
|
|
11287
|
+
variantPayloadOffset32: 8,
|
|
11288
|
+
variantFlatCount: 3,
|
|
11289
|
+
})
|
|
10864
11290
|
],
|
|
10865
11291
|
hasResultPointer: true,
|
|
10866
11292
|
funcTypeIsAsync: false,
|
|
@@ -10881,10 +11307,25 @@ null,
|
|
|
10881
11307
|
isAsync: false,
|
|
10882
11308
|
isManualAsync: _trampoline16.manuallyAsync,
|
|
10883
11309
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
10884
|
-
resultLowerFns: [
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
11310
|
+
resultLowerFns: [
|
|
11311
|
+
_lowerFlatResult({
|
|
11312
|
+
caseMetas: [
|
|
11313
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11314
|
+
[ 'err',
|
|
11315
|
+
_lowerFlatEnum({
|
|
11316
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11317
|
+
variantSize32: 1,
|
|
11318
|
+
variantAlign32: 1,
|
|
11319
|
+
variantPayloadOffset32: 1,
|
|
11320
|
+
variantFlatCount: 1,
|
|
11321
|
+
})
|
|
11322
|
+
, 24, 8, 8 ],
|
|
11323
|
+
],
|
|
11324
|
+
variantSize32: 24,
|
|
11325
|
+
variantAlign32: 8,
|
|
11326
|
+
variantPayloadOffset32: 8,
|
|
11327
|
+
variantFlatCount: 3,
|
|
11328
|
+
})
|
|
10888
11329
|
],
|
|
10889
11330
|
hasResultPointer: true,
|
|
10890
11331
|
funcTypeIsAsync: false,
|
|
@@ -10906,26 +11347,41 @@ null,
|
|
|
10906
11347
|
isAsync: false,
|
|
10907
11348
|
isManualAsync: _trampoline17.manuallyAsync,
|
|
10908
11349
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
10909
|
-
resultLowerFns: [
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
|
|
10921
|
-
|
|
11350
|
+
resultLowerFns: [
|
|
11351
|
+
_lowerFlatResult({
|
|
11352
|
+
caseMetas: [
|
|
11353
|
+
[ 'ok', _lowerFlatOwn({
|
|
11354
|
+
componentIdx: 0,
|
|
11355
|
+
lowerFn:
|
|
11356
|
+
function lowerImportedOwnedHost_InputStream(obj) {
|
|
11357
|
+
if (!(obj instanceof InputStream)) {
|
|
11358
|
+
throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
|
|
11359
|
+
}
|
|
11360
|
+
let handle = obj[symbolRscHandle];
|
|
11361
|
+
if (!handle) {
|
|
11362
|
+
const rep = obj[symbolRscRep] || ++captureCnt1;
|
|
11363
|
+
captureTable1.set(rep, obj);
|
|
11364
|
+
handle = rscTableCreateOwn(handleTable1, rep);
|
|
11365
|
+
}
|
|
11366
|
+
return handle;
|
|
10922
11367
|
}
|
|
10923
|
-
|
|
10924
|
-
}
|
|
10925
|
-
,
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
11368
|
+
,
|
|
11369
|
+
}), 8, 4, 4 ],
|
|
11370
|
+
[ 'err',
|
|
11371
|
+
_lowerFlatEnum({
|
|
11372
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11373
|
+
variantSize32: 1,
|
|
11374
|
+
variantAlign32: 1,
|
|
11375
|
+
variantPayloadOffset32: 1,
|
|
11376
|
+
variantFlatCount: 1,
|
|
11377
|
+
})
|
|
11378
|
+
, 8, 4, 4 ],
|
|
11379
|
+
],
|
|
11380
|
+
variantSize32: 8,
|
|
11381
|
+
variantAlign32: 4,
|
|
11382
|
+
variantPayloadOffset32: 4,
|
|
11383
|
+
variantFlatCount: 2,
|
|
11384
|
+
})
|
|
10929
11385
|
],
|
|
10930
11386
|
hasResultPointer: true,
|
|
10931
11387
|
funcTypeIsAsync: false,
|
|
@@ -10946,26 +11402,41 @@ null,
|
|
|
10946
11402
|
isAsync: false,
|
|
10947
11403
|
isManualAsync: _trampoline17.manuallyAsync,
|
|
10948
11404
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
10949
|
-
resultLowerFns: [
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
11405
|
+
resultLowerFns: [
|
|
11406
|
+
_lowerFlatResult({
|
|
11407
|
+
caseMetas: [
|
|
11408
|
+
[ 'ok', _lowerFlatOwn({
|
|
11409
|
+
componentIdx: 0,
|
|
11410
|
+
lowerFn:
|
|
11411
|
+
function lowerImportedOwnedHost_InputStream(obj) {
|
|
11412
|
+
if (!(obj instanceof InputStream)) {
|
|
11413
|
+
throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
|
|
11414
|
+
}
|
|
11415
|
+
let handle = obj[symbolRscHandle];
|
|
11416
|
+
if (!handle) {
|
|
11417
|
+
const rep = obj[symbolRscRep] || ++captureCnt1;
|
|
11418
|
+
captureTable1.set(rep, obj);
|
|
11419
|
+
handle = rscTableCreateOwn(handleTable1, rep);
|
|
11420
|
+
}
|
|
11421
|
+
return handle;
|
|
10962
11422
|
}
|
|
10963
|
-
|
|
10964
|
-
}
|
|
10965
|
-
,
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
|
|
11423
|
+
,
|
|
11424
|
+
}), 8, 4, 4 ],
|
|
11425
|
+
[ 'err',
|
|
11426
|
+
_lowerFlatEnum({
|
|
11427
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11428
|
+
variantSize32: 1,
|
|
11429
|
+
variantAlign32: 1,
|
|
11430
|
+
variantPayloadOffset32: 1,
|
|
11431
|
+
variantFlatCount: 1,
|
|
11432
|
+
})
|
|
11433
|
+
, 8, 4, 4 ],
|
|
11434
|
+
],
|
|
11435
|
+
variantSize32: 8,
|
|
11436
|
+
variantAlign32: 4,
|
|
11437
|
+
variantPayloadOffset32: 4,
|
|
11438
|
+
variantFlatCount: 2,
|
|
11439
|
+
})
|
|
10969
11440
|
],
|
|
10970
11441
|
hasResultPointer: true,
|
|
10971
11442
|
funcTypeIsAsync: false,
|
|
@@ -10987,26 +11458,41 @@ null,
|
|
|
10987
11458
|
isAsync: false,
|
|
10988
11459
|
isManualAsync: _trampoline18.manuallyAsync,
|
|
10989
11460
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
10990
|
-
resultLowerFns: [
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11461
|
+
resultLowerFns: [
|
|
11462
|
+
_lowerFlatResult({
|
|
11463
|
+
caseMetas: [
|
|
11464
|
+
[ 'ok', _lowerFlatOwn({
|
|
11465
|
+
componentIdx: 0,
|
|
11466
|
+
lowerFn:
|
|
11467
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
11468
|
+
if (!(obj instanceof OutputStream)) {
|
|
11469
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
11470
|
+
}
|
|
11471
|
+
let handle = obj[symbolRscHandle];
|
|
11472
|
+
if (!handle) {
|
|
11473
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
11474
|
+
captureTable2.set(rep, obj);
|
|
11475
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
11476
|
+
}
|
|
11477
|
+
return handle;
|
|
11003
11478
|
}
|
|
11004
|
-
|
|
11005
|
-
}
|
|
11006
|
-
,
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11479
|
+
,
|
|
11480
|
+
}), 8, 4, 4 ],
|
|
11481
|
+
[ 'err',
|
|
11482
|
+
_lowerFlatEnum({
|
|
11483
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11484
|
+
variantSize32: 1,
|
|
11485
|
+
variantAlign32: 1,
|
|
11486
|
+
variantPayloadOffset32: 1,
|
|
11487
|
+
variantFlatCount: 1,
|
|
11488
|
+
})
|
|
11489
|
+
, 8, 4, 4 ],
|
|
11490
|
+
],
|
|
11491
|
+
variantSize32: 8,
|
|
11492
|
+
variantAlign32: 4,
|
|
11493
|
+
variantPayloadOffset32: 4,
|
|
11494
|
+
variantFlatCount: 2,
|
|
11495
|
+
})
|
|
11010
11496
|
],
|
|
11011
11497
|
hasResultPointer: true,
|
|
11012
11498
|
funcTypeIsAsync: false,
|
|
@@ -11027,26 +11513,41 @@ null,
|
|
|
11027
11513
|
isAsync: false,
|
|
11028
11514
|
isManualAsync: _trampoline18.manuallyAsync,
|
|
11029
11515
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11030
|
-
resultLowerFns: [
|
|
11031
|
-
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
|
|
11035
|
-
|
|
11036
|
-
|
|
11037
|
-
|
|
11038
|
-
|
|
11039
|
-
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
|
-
|
|
11516
|
+
resultLowerFns: [
|
|
11517
|
+
_lowerFlatResult({
|
|
11518
|
+
caseMetas: [
|
|
11519
|
+
[ 'ok', _lowerFlatOwn({
|
|
11520
|
+
componentIdx: 0,
|
|
11521
|
+
lowerFn:
|
|
11522
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
11523
|
+
if (!(obj instanceof OutputStream)) {
|
|
11524
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
11525
|
+
}
|
|
11526
|
+
let handle = obj[symbolRscHandle];
|
|
11527
|
+
if (!handle) {
|
|
11528
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
11529
|
+
captureTable2.set(rep, obj);
|
|
11530
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
11531
|
+
}
|
|
11532
|
+
return handle;
|
|
11043
11533
|
}
|
|
11044
|
-
|
|
11045
|
-
}
|
|
11046
|
-
,
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11534
|
+
,
|
|
11535
|
+
}), 8, 4, 4 ],
|
|
11536
|
+
[ 'err',
|
|
11537
|
+
_lowerFlatEnum({
|
|
11538
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11539
|
+
variantSize32: 1,
|
|
11540
|
+
variantAlign32: 1,
|
|
11541
|
+
variantPayloadOffset32: 1,
|
|
11542
|
+
variantFlatCount: 1,
|
|
11543
|
+
})
|
|
11544
|
+
, 8, 4, 4 ],
|
|
11545
|
+
],
|
|
11546
|
+
variantSize32: 8,
|
|
11547
|
+
variantAlign32: 4,
|
|
11548
|
+
variantPayloadOffset32: 4,
|
|
11549
|
+
variantFlatCount: 2,
|
|
11550
|
+
})
|
|
11050
11551
|
],
|
|
11051
11552
|
hasResultPointer: true,
|
|
11052
11553
|
funcTypeIsAsync: false,
|
|
@@ -11068,26 +11569,41 @@ null,
|
|
|
11068
11569
|
isAsync: false,
|
|
11069
11570
|
isManualAsync: _trampoline19.manuallyAsync,
|
|
11070
11571
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11071
|
-
resultLowerFns: [
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
|
-
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11572
|
+
resultLowerFns: [
|
|
11573
|
+
_lowerFlatResult({
|
|
11574
|
+
caseMetas: [
|
|
11575
|
+
[ 'ok', _lowerFlatOwn({
|
|
11576
|
+
componentIdx: 0,
|
|
11577
|
+
lowerFn:
|
|
11578
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
11579
|
+
if (!(obj instanceof OutputStream)) {
|
|
11580
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
11581
|
+
}
|
|
11582
|
+
let handle = obj[symbolRscHandle];
|
|
11583
|
+
if (!handle) {
|
|
11584
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
11585
|
+
captureTable2.set(rep, obj);
|
|
11586
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
11587
|
+
}
|
|
11588
|
+
return handle;
|
|
11084
11589
|
}
|
|
11085
|
-
|
|
11086
|
-
}
|
|
11087
|
-
,
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
|
|
11590
|
+
,
|
|
11591
|
+
}), 8, 4, 4 ],
|
|
11592
|
+
[ 'err',
|
|
11593
|
+
_lowerFlatEnum({
|
|
11594
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11595
|
+
variantSize32: 1,
|
|
11596
|
+
variantAlign32: 1,
|
|
11597
|
+
variantPayloadOffset32: 1,
|
|
11598
|
+
variantFlatCount: 1,
|
|
11599
|
+
})
|
|
11600
|
+
, 8, 4, 4 ],
|
|
11601
|
+
],
|
|
11602
|
+
variantSize32: 8,
|
|
11603
|
+
variantAlign32: 4,
|
|
11604
|
+
variantPayloadOffset32: 4,
|
|
11605
|
+
variantFlatCount: 2,
|
|
11606
|
+
})
|
|
11091
11607
|
],
|
|
11092
11608
|
hasResultPointer: true,
|
|
11093
11609
|
funcTypeIsAsync: false,
|
|
@@ -11108,26 +11624,41 @@ null,
|
|
|
11108
11624
|
isAsync: false,
|
|
11109
11625
|
isManualAsync: _trampoline19.manuallyAsync,
|
|
11110
11626
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11111
|
-
resultLowerFns: [
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11627
|
+
resultLowerFns: [
|
|
11628
|
+
_lowerFlatResult({
|
|
11629
|
+
caseMetas: [
|
|
11630
|
+
[ 'ok', _lowerFlatOwn({
|
|
11631
|
+
componentIdx: 0,
|
|
11632
|
+
lowerFn:
|
|
11633
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
11634
|
+
if (!(obj instanceof OutputStream)) {
|
|
11635
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
11636
|
+
}
|
|
11637
|
+
let handle = obj[symbolRscHandle];
|
|
11638
|
+
if (!handle) {
|
|
11639
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
11640
|
+
captureTable2.set(rep, obj);
|
|
11641
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
11642
|
+
}
|
|
11643
|
+
return handle;
|
|
11124
11644
|
}
|
|
11125
|
-
|
|
11126
|
-
}
|
|
11127
|
-
,
|
|
11128
|
-
|
|
11129
|
-
|
|
11130
|
-
|
|
11645
|
+
,
|
|
11646
|
+
}), 8, 4, 4 ],
|
|
11647
|
+
[ 'err',
|
|
11648
|
+
_lowerFlatEnum({
|
|
11649
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11650
|
+
variantSize32: 1,
|
|
11651
|
+
variantAlign32: 1,
|
|
11652
|
+
variantPayloadOffset32: 1,
|
|
11653
|
+
variantFlatCount: 1,
|
|
11654
|
+
})
|
|
11655
|
+
, 8, 4, 4 ],
|
|
11656
|
+
],
|
|
11657
|
+
variantSize32: 8,
|
|
11658
|
+
variantAlign32: 4,
|
|
11659
|
+
variantPayloadOffset32: 4,
|
|
11660
|
+
variantFlatCount: 2,
|
|
11661
|
+
})
|
|
11131
11662
|
],
|
|
11132
11663
|
hasResultPointer: true,
|
|
11133
11664
|
funcTypeIsAsync: false,
|
|
@@ -11149,26 +11680,41 @@ null,
|
|
|
11149
11680
|
isAsync: false,
|
|
11150
11681
|
isManualAsync: _trampoline20.manuallyAsync,
|
|
11151
11682
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11152
|
-
resultLowerFns: [
|
|
11153
|
-
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
|
-
|
|
11683
|
+
resultLowerFns: [
|
|
11684
|
+
_lowerFlatResult({
|
|
11685
|
+
caseMetas: [
|
|
11686
|
+
[ 'ok', _lowerFlatOwn({
|
|
11687
|
+
componentIdx: 0,
|
|
11688
|
+
lowerFn:
|
|
11689
|
+
function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
|
|
11690
|
+
if (!(obj instanceof DirectoryEntryStream)) {
|
|
11691
|
+
throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
|
|
11692
|
+
}
|
|
11693
|
+
let handle = obj[symbolRscHandle];
|
|
11694
|
+
if (!handle) {
|
|
11695
|
+
const rep = obj[symbolRscRep] || ++captureCnt5;
|
|
11696
|
+
captureTable5.set(rep, obj);
|
|
11697
|
+
handle = rscTableCreateOwn(handleTable5, rep);
|
|
11698
|
+
}
|
|
11699
|
+
return handle;
|
|
11165
11700
|
}
|
|
11166
|
-
|
|
11167
|
-
}
|
|
11168
|
-
,
|
|
11169
|
-
|
|
11170
|
-
|
|
11171
|
-
|
|
11701
|
+
,
|
|
11702
|
+
}), 8, 4, 4 ],
|
|
11703
|
+
[ 'err',
|
|
11704
|
+
_lowerFlatEnum({
|
|
11705
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11706
|
+
variantSize32: 1,
|
|
11707
|
+
variantAlign32: 1,
|
|
11708
|
+
variantPayloadOffset32: 1,
|
|
11709
|
+
variantFlatCount: 1,
|
|
11710
|
+
})
|
|
11711
|
+
, 8, 4, 4 ],
|
|
11712
|
+
],
|
|
11713
|
+
variantSize32: 8,
|
|
11714
|
+
variantAlign32: 4,
|
|
11715
|
+
variantPayloadOffset32: 4,
|
|
11716
|
+
variantFlatCount: 2,
|
|
11717
|
+
})
|
|
11172
11718
|
],
|
|
11173
11719
|
hasResultPointer: true,
|
|
11174
11720
|
funcTypeIsAsync: false,
|
|
@@ -11189,26 +11735,41 @@ null,
|
|
|
11189
11735
|
isAsync: false,
|
|
11190
11736
|
isManualAsync: _trampoline20.manuallyAsync,
|
|
11191
11737
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11192
|
-
resultLowerFns: [
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
|
|
11202
|
-
|
|
11203
|
-
|
|
11204
|
-
|
|
11738
|
+
resultLowerFns: [
|
|
11739
|
+
_lowerFlatResult({
|
|
11740
|
+
caseMetas: [
|
|
11741
|
+
[ 'ok', _lowerFlatOwn({
|
|
11742
|
+
componentIdx: 0,
|
|
11743
|
+
lowerFn:
|
|
11744
|
+
function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
|
|
11745
|
+
if (!(obj instanceof DirectoryEntryStream)) {
|
|
11746
|
+
throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
|
|
11747
|
+
}
|
|
11748
|
+
let handle = obj[symbolRscHandle];
|
|
11749
|
+
if (!handle) {
|
|
11750
|
+
const rep = obj[symbolRscRep] || ++captureCnt5;
|
|
11751
|
+
captureTable5.set(rep, obj);
|
|
11752
|
+
handle = rscTableCreateOwn(handleTable5, rep);
|
|
11753
|
+
}
|
|
11754
|
+
return handle;
|
|
11205
11755
|
}
|
|
11206
|
-
|
|
11207
|
-
}
|
|
11208
|
-
,
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11756
|
+
,
|
|
11757
|
+
}), 8, 4, 4 ],
|
|
11758
|
+
[ 'err',
|
|
11759
|
+
_lowerFlatEnum({
|
|
11760
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11761
|
+
variantSize32: 1,
|
|
11762
|
+
variantAlign32: 1,
|
|
11763
|
+
variantPayloadOffset32: 1,
|
|
11764
|
+
variantFlatCount: 1,
|
|
11765
|
+
})
|
|
11766
|
+
, 8, 4, 4 ],
|
|
11767
|
+
],
|
|
11768
|
+
variantSize32: 8,
|
|
11769
|
+
variantAlign32: 4,
|
|
11770
|
+
variantPayloadOffset32: 4,
|
|
11771
|
+
variantFlatCount: 2,
|
|
11772
|
+
})
|
|
11212
11773
|
],
|
|
11213
11774
|
hasResultPointer: true,
|
|
11214
11775
|
funcTypeIsAsync: false,
|
|
@@ -11230,22 +11791,66 @@ null,
|
|
|
11230
11791
|
isAsync: false,
|
|
11231
11792
|
isManualAsync: _trampoline21.manuallyAsync,
|
|
11232
11793
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11233
|
-
resultLowerFns: [
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
|
|
11239
|
-
|
|
11240
|
-
|
|
11241
|
-
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
|
|
11245
|
-
|
|
11246
|
-
|
|
11247
|
-
|
|
11248
|
-
|
|
11794
|
+
resultLowerFns: [
|
|
11795
|
+
_lowerFlatResult({
|
|
11796
|
+
caseMetas: [
|
|
11797
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
11798
|
+
_lowerFlatEnum({
|
|
11799
|
+
caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
|
|
11800
|
+
variantSize32: 1,
|
|
11801
|
+
variantAlign32: 1,
|
|
11802
|
+
variantPayloadOffset32: 1,
|
|
11803
|
+
variantFlatCount: 1,
|
|
11804
|
+
})
|
|
11805
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
11806
|
+
_lowerFlatOption({
|
|
11807
|
+
caseMetas: [
|
|
11808
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11809
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11810
|
+
],
|
|
11811
|
+
variantSize32: 24,
|
|
11812
|
+
variantAlign32: 8,
|
|
11813
|
+
variantPayloadOffset32: 8,
|
|
11814
|
+
variantFlatCount: 3,
|
|
11815
|
+
})
|
|
11816
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
11817
|
+
_lowerFlatOption({
|
|
11818
|
+
caseMetas: [
|
|
11819
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11820
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11821
|
+
],
|
|
11822
|
+
variantSize32: 24,
|
|
11823
|
+
variantAlign32: 8,
|
|
11824
|
+
variantPayloadOffset32: 8,
|
|
11825
|
+
variantFlatCount: 3,
|
|
11826
|
+
})
|
|
11827
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
11828
|
+
_lowerFlatOption({
|
|
11829
|
+
caseMetas: [
|
|
11830
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11831
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11832
|
+
],
|
|
11833
|
+
variantSize32: 24,
|
|
11834
|
+
variantAlign32: 8,
|
|
11835
|
+
variantPayloadOffset32: 8,
|
|
11836
|
+
variantFlatCount: 3,
|
|
11837
|
+
})
|
|
11838
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
11839
|
+
[ 'err',
|
|
11840
|
+
_lowerFlatEnum({
|
|
11841
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11842
|
+
variantSize32: 1,
|
|
11843
|
+
variantAlign32: 1,
|
|
11844
|
+
variantPayloadOffset32: 1,
|
|
11845
|
+
variantFlatCount: 1,
|
|
11846
|
+
})
|
|
11847
|
+
, 104, 8, 8 ],
|
|
11848
|
+
],
|
|
11849
|
+
variantSize32: 104,
|
|
11850
|
+
variantAlign32: 8,
|
|
11851
|
+
variantPayloadOffset32: 8,
|
|
11852
|
+
variantFlatCount: 13,
|
|
11853
|
+
})
|
|
11249
11854
|
],
|
|
11250
11855
|
hasResultPointer: true,
|
|
11251
11856
|
funcTypeIsAsync: false,
|
|
@@ -11266,22 +11871,66 @@ null,
|
|
|
11266
11871
|
isAsync: false,
|
|
11267
11872
|
isManualAsync: _trampoline21.manuallyAsync,
|
|
11268
11873
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11269
|
-
resultLowerFns: [
|
|
11270
|
-
|
|
11271
|
-
|
|
11272
|
-
|
|
11273
|
-
|
|
11274
|
-
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
|
-
|
|
11278
|
-
|
|
11279
|
-
|
|
11280
|
-
|
|
11281
|
-
|
|
11282
|
-
|
|
11283
|
-
|
|
11284
|
-
|
|
11874
|
+
resultLowerFns: [
|
|
11875
|
+
_lowerFlatResult({
|
|
11876
|
+
caseMetas: [
|
|
11877
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
11878
|
+
_lowerFlatEnum({
|
|
11879
|
+
caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
|
|
11880
|
+
variantSize32: 1,
|
|
11881
|
+
variantAlign32: 1,
|
|
11882
|
+
variantPayloadOffset32: 1,
|
|
11883
|
+
variantFlatCount: 1,
|
|
11884
|
+
})
|
|
11885
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
11886
|
+
_lowerFlatOption({
|
|
11887
|
+
caseMetas: [
|
|
11888
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11889
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11890
|
+
],
|
|
11891
|
+
variantSize32: 24,
|
|
11892
|
+
variantAlign32: 8,
|
|
11893
|
+
variantPayloadOffset32: 8,
|
|
11894
|
+
variantFlatCount: 3,
|
|
11895
|
+
})
|
|
11896
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
11897
|
+
_lowerFlatOption({
|
|
11898
|
+
caseMetas: [
|
|
11899
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11900
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11901
|
+
],
|
|
11902
|
+
variantSize32: 24,
|
|
11903
|
+
variantAlign32: 8,
|
|
11904
|
+
variantPayloadOffset32: 8,
|
|
11905
|
+
variantFlatCount: 3,
|
|
11906
|
+
})
|
|
11907
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
11908
|
+
_lowerFlatOption({
|
|
11909
|
+
caseMetas: [
|
|
11910
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11911
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11912
|
+
],
|
|
11913
|
+
variantSize32: 24,
|
|
11914
|
+
variantAlign32: 8,
|
|
11915
|
+
variantPayloadOffset32: 8,
|
|
11916
|
+
variantFlatCount: 3,
|
|
11917
|
+
})
|
|
11918
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
11919
|
+
[ 'err',
|
|
11920
|
+
_lowerFlatEnum({
|
|
11921
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
11922
|
+
variantSize32: 1,
|
|
11923
|
+
variantAlign32: 1,
|
|
11924
|
+
variantPayloadOffset32: 1,
|
|
11925
|
+
variantFlatCount: 1,
|
|
11926
|
+
})
|
|
11927
|
+
, 104, 8, 8 ],
|
|
11928
|
+
],
|
|
11929
|
+
variantSize32: 104,
|
|
11930
|
+
variantAlign32: 8,
|
|
11931
|
+
variantPayloadOffset32: 8,
|
|
11932
|
+
variantFlatCount: 13,
|
|
11933
|
+
})
|
|
11285
11934
|
],
|
|
11286
11935
|
hasResultPointer: true,
|
|
11287
11936
|
funcTypeIsAsync: false,
|
|
@@ -11303,22 +11952,66 @@ null,
|
|
|
11303
11952
|
isAsync: false,
|
|
11304
11953
|
isManualAsync: _trampoline22.manuallyAsync,
|
|
11305
11954
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
11306
|
-
resultLowerFns: [
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11316
|
-
|
|
11317
|
-
|
|
11318
|
-
|
|
11319
|
-
|
|
11320
|
-
|
|
11321
|
-
|
|
11955
|
+
resultLowerFns: [
|
|
11956
|
+
_lowerFlatResult({
|
|
11957
|
+
caseMetas: [
|
|
11958
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
11959
|
+
_lowerFlatEnum({
|
|
11960
|
+
caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
|
|
11961
|
+
variantSize32: 1,
|
|
11962
|
+
variantAlign32: 1,
|
|
11963
|
+
variantPayloadOffset32: 1,
|
|
11964
|
+
variantFlatCount: 1,
|
|
11965
|
+
})
|
|
11966
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
11967
|
+
_lowerFlatOption({
|
|
11968
|
+
caseMetas: [
|
|
11969
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11970
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11971
|
+
],
|
|
11972
|
+
variantSize32: 24,
|
|
11973
|
+
variantAlign32: 8,
|
|
11974
|
+
variantPayloadOffset32: 8,
|
|
11975
|
+
variantFlatCount: 3,
|
|
11976
|
+
})
|
|
11977
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
11978
|
+
_lowerFlatOption({
|
|
11979
|
+
caseMetas: [
|
|
11980
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11981
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11982
|
+
],
|
|
11983
|
+
variantSize32: 24,
|
|
11984
|
+
variantAlign32: 8,
|
|
11985
|
+
variantPayloadOffset32: 8,
|
|
11986
|
+
variantFlatCount: 3,
|
|
11987
|
+
})
|
|
11988
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
11989
|
+
_lowerFlatOption({
|
|
11990
|
+
caseMetas: [
|
|
11991
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11992
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11993
|
+
],
|
|
11994
|
+
variantSize32: 24,
|
|
11995
|
+
variantAlign32: 8,
|
|
11996
|
+
variantPayloadOffset32: 8,
|
|
11997
|
+
variantFlatCount: 3,
|
|
11998
|
+
})
|
|
11999
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
12000
|
+
[ 'err',
|
|
12001
|
+
_lowerFlatEnum({
|
|
12002
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
12003
|
+
variantSize32: 1,
|
|
12004
|
+
variantAlign32: 1,
|
|
12005
|
+
variantPayloadOffset32: 1,
|
|
12006
|
+
variantFlatCount: 1,
|
|
12007
|
+
})
|
|
12008
|
+
, 104, 8, 8 ],
|
|
12009
|
+
],
|
|
12010
|
+
variantSize32: 104,
|
|
12011
|
+
variantAlign32: 8,
|
|
12012
|
+
variantPayloadOffset32: 8,
|
|
12013
|
+
variantFlatCount: 13,
|
|
12014
|
+
})
|
|
11322
12015
|
],
|
|
11323
12016
|
hasResultPointer: true,
|
|
11324
12017
|
funcTypeIsAsync: false,
|
|
@@ -11339,22 +12032,66 @@ null,
|
|
|
11339
12032
|
isAsync: false,
|
|
11340
12033
|
isManualAsync: _trampoline22.manuallyAsync,
|
|
11341
12034
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
11342
|
-
resultLowerFns: [
|
|
11343
|
-
|
|
11344
|
-
|
|
11345
|
-
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
12035
|
+
resultLowerFns: [
|
|
12036
|
+
_lowerFlatResult({
|
|
12037
|
+
caseMetas: [
|
|
12038
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12039
|
+
_lowerFlatEnum({
|
|
12040
|
+
caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
|
|
12041
|
+
variantSize32: 1,
|
|
12042
|
+
variantAlign32: 1,
|
|
12043
|
+
variantPayloadOffset32: 1,
|
|
12044
|
+
variantFlatCount: 1,
|
|
12045
|
+
})
|
|
12046
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
12047
|
+
_lowerFlatOption({
|
|
12048
|
+
caseMetas: [
|
|
12049
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12050
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12051
|
+
],
|
|
12052
|
+
variantSize32: 24,
|
|
12053
|
+
variantAlign32: 8,
|
|
12054
|
+
variantPayloadOffset32: 8,
|
|
12055
|
+
variantFlatCount: 3,
|
|
12056
|
+
})
|
|
12057
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
12058
|
+
_lowerFlatOption({
|
|
12059
|
+
caseMetas: [
|
|
12060
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12061
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12062
|
+
],
|
|
12063
|
+
variantSize32: 24,
|
|
12064
|
+
variantAlign32: 8,
|
|
12065
|
+
variantPayloadOffset32: 8,
|
|
12066
|
+
variantFlatCount: 3,
|
|
12067
|
+
})
|
|
12068
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
12069
|
+
_lowerFlatOption({
|
|
12070
|
+
caseMetas: [
|
|
12071
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12072
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12073
|
+
],
|
|
12074
|
+
variantSize32: 24,
|
|
12075
|
+
variantAlign32: 8,
|
|
12076
|
+
variantPayloadOffset32: 8,
|
|
12077
|
+
variantFlatCount: 3,
|
|
12078
|
+
})
|
|
12079
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
12080
|
+
[ 'err',
|
|
12081
|
+
_lowerFlatEnum({
|
|
12082
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
12083
|
+
variantSize32: 1,
|
|
12084
|
+
variantAlign32: 1,
|
|
12085
|
+
variantPayloadOffset32: 1,
|
|
12086
|
+
variantFlatCount: 1,
|
|
12087
|
+
})
|
|
12088
|
+
, 104, 8, 8 ],
|
|
12089
|
+
],
|
|
12090
|
+
variantSize32: 104,
|
|
12091
|
+
variantAlign32: 8,
|
|
12092
|
+
variantPayloadOffset32: 8,
|
|
12093
|
+
variantFlatCount: 13,
|
|
12094
|
+
})
|
|
11358
12095
|
],
|
|
11359
12096
|
hasResultPointer: true,
|
|
11360
12097
|
funcTypeIsAsync: false,
|
|
@@ -11376,26 +12113,41 @@ null,
|
|
|
11376
12113
|
isAsync: false,
|
|
11377
12114
|
isManualAsync: _trampoline23.manuallyAsync,
|
|
11378
12115
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 })],
|
|
11379
|
-
resultLowerFns: [
|
|
11380
|
-
|
|
11381
|
-
|
|
11382
|
-
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
|
|
11391
|
-
|
|
12116
|
+
resultLowerFns: [
|
|
12117
|
+
_lowerFlatResult({
|
|
12118
|
+
caseMetas: [
|
|
12119
|
+
[ 'ok', _lowerFlatOwn({
|
|
12120
|
+
componentIdx: 0,
|
|
12121
|
+
lowerFn:
|
|
12122
|
+
function lowerImportedOwnedHost_Descriptor(obj) {
|
|
12123
|
+
if (!(obj instanceof Descriptor)) {
|
|
12124
|
+
throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
|
|
12125
|
+
}
|
|
12126
|
+
let handle = obj[symbolRscHandle];
|
|
12127
|
+
if (!handle) {
|
|
12128
|
+
const rep = obj[symbolRscRep] || ++captureCnt6;
|
|
12129
|
+
captureTable6.set(rep, obj);
|
|
12130
|
+
handle = rscTableCreateOwn(handleTable6, rep);
|
|
12131
|
+
}
|
|
12132
|
+
return handle;
|
|
11392
12133
|
}
|
|
11393
|
-
|
|
11394
|
-
}
|
|
11395
|
-
,
|
|
11396
|
-
|
|
11397
|
-
|
|
11398
|
-
|
|
12134
|
+
,
|
|
12135
|
+
}), 8, 4, 4 ],
|
|
12136
|
+
[ 'err',
|
|
12137
|
+
_lowerFlatEnum({
|
|
12138
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
12139
|
+
variantSize32: 1,
|
|
12140
|
+
variantAlign32: 1,
|
|
12141
|
+
variantPayloadOffset32: 1,
|
|
12142
|
+
variantFlatCount: 1,
|
|
12143
|
+
})
|
|
12144
|
+
, 8, 4, 4 ],
|
|
12145
|
+
],
|
|
12146
|
+
variantSize32: 8,
|
|
12147
|
+
variantAlign32: 4,
|
|
12148
|
+
variantPayloadOffset32: 4,
|
|
12149
|
+
variantFlatCount: 2,
|
|
12150
|
+
})
|
|
11399
12151
|
],
|
|
11400
12152
|
hasResultPointer: true,
|
|
11401
12153
|
funcTypeIsAsync: false,
|
|
@@ -11416,26 +12168,41 @@ null,
|
|
|
11416
12168
|
isAsync: false,
|
|
11417
12169
|
isManualAsync: _trampoline23.manuallyAsync,
|
|
11418
12170
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 })],
|
|
11419
|
-
resultLowerFns: [
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
-
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
12171
|
+
resultLowerFns: [
|
|
12172
|
+
_lowerFlatResult({
|
|
12173
|
+
caseMetas: [
|
|
12174
|
+
[ 'ok', _lowerFlatOwn({
|
|
12175
|
+
componentIdx: 0,
|
|
12176
|
+
lowerFn:
|
|
12177
|
+
function lowerImportedOwnedHost_Descriptor(obj) {
|
|
12178
|
+
if (!(obj instanceof Descriptor)) {
|
|
12179
|
+
throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
|
|
12180
|
+
}
|
|
12181
|
+
let handle = obj[symbolRscHandle];
|
|
12182
|
+
if (!handle) {
|
|
12183
|
+
const rep = obj[symbolRscRep] || ++captureCnt6;
|
|
12184
|
+
captureTable6.set(rep, obj);
|
|
12185
|
+
handle = rscTableCreateOwn(handleTable6, rep);
|
|
12186
|
+
}
|
|
12187
|
+
return handle;
|
|
11432
12188
|
}
|
|
11433
|
-
|
|
11434
|
-
}
|
|
11435
|
-
,
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
12189
|
+
,
|
|
12190
|
+
}), 8, 4, 4 ],
|
|
12191
|
+
[ 'err',
|
|
12192
|
+
_lowerFlatEnum({
|
|
12193
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
12194
|
+
variantSize32: 1,
|
|
12195
|
+
variantAlign32: 1,
|
|
12196
|
+
variantPayloadOffset32: 1,
|
|
12197
|
+
variantFlatCount: 1,
|
|
12198
|
+
})
|
|
12199
|
+
, 8, 4, 4 ],
|
|
12200
|
+
],
|
|
12201
|
+
variantSize32: 8,
|
|
12202
|
+
variantAlign32: 4,
|
|
12203
|
+
variantPayloadOffset32: 4,
|
|
12204
|
+
variantFlatCount: 2,
|
|
12205
|
+
})
|
|
11439
12206
|
],
|
|
11440
12207
|
hasResultPointer: true,
|
|
11441
12208
|
funcTypeIsAsync: false,
|
|
@@ -11457,14 +12224,44 @@ null,
|
|
|
11457
12224
|
isAsync: false,
|
|
11458
12225
|
isManualAsync: _trampoline24.manuallyAsync,
|
|
11459
12226
|
paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
|
|
11460
|
-
resultLowerFns: [
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
12227
|
+
resultLowerFns: [
|
|
12228
|
+
_lowerFlatResult({
|
|
12229
|
+
caseMetas: [
|
|
12230
|
+
[ 'ok',
|
|
12231
|
+
_lowerFlatOption({
|
|
12232
|
+
caseMetas: [
|
|
12233
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12234
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12235
|
+
_lowerFlatEnum({
|
|
12236
|
+
caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
|
|
12237
|
+
variantSize32: 1,
|
|
12238
|
+
variantAlign32: 1,
|
|
12239
|
+
variantPayloadOffset32: 1,
|
|
12240
|
+
variantFlatCount: 1,
|
|
12241
|
+
})
|
|
12242
|
+
, 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
|
|
12243
|
+
],
|
|
12244
|
+
variantSize32: 16,
|
|
12245
|
+
variantAlign32: 4,
|
|
12246
|
+
variantPayloadOffset32: 4,
|
|
12247
|
+
variantFlatCount: 4,
|
|
12248
|
+
})
|
|
12249
|
+
, 20, 4, 4 ],
|
|
12250
|
+
[ 'err',
|
|
12251
|
+
_lowerFlatEnum({
|
|
12252
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
12253
|
+
variantSize32: 1,
|
|
12254
|
+
variantAlign32: 1,
|
|
12255
|
+
variantPayloadOffset32: 1,
|
|
12256
|
+
variantFlatCount: 1,
|
|
12257
|
+
})
|
|
12258
|
+
, 20, 4, 4 ],
|
|
12259
|
+
],
|
|
12260
|
+
variantSize32: 20,
|
|
12261
|
+
variantAlign32: 4,
|
|
12262
|
+
variantPayloadOffset32: 4,
|
|
12263
|
+
variantFlatCount: 5,
|
|
12264
|
+
})
|
|
11468
12265
|
],
|
|
11469
12266
|
hasResultPointer: true,
|
|
11470
12267
|
funcTypeIsAsync: false,
|
|
@@ -11485,14 +12282,44 @@ null,
|
|
|
11485
12282
|
isAsync: false,
|
|
11486
12283
|
isManualAsync: _trampoline24.manuallyAsync,
|
|
11487
12284
|
paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
|
|
11488
|
-
resultLowerFns: [
|
|
11489
|
-
|
|
11490
|
-
|
|
11491
|
-
|
|
11492
|
-
|
|
11493
|
-
|
|
11494
|
-
|
|
11495
|
-
|
|
12285
|
+
resultLowerFns: [
|
|
12286
|
+
_lowerFlatResult({
|
|
12287
|
+
caseMetas: [
|
|
12288
|
+
[ 'ok',
|
|
12289
|
+
_lowerFlatOption({
|
|
12290
|
+
caseMetas: [
|
|
12291
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12292
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12293
|
+
_lowerFlatEnum({
|
|
12294
|
+
caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
|
|
12295
|
+
variantSize32: 1,
|
|
12296
|
+
variantAlign32: 1,
|
|
12297
|
+
variantPayloadOffset32: 1,
|
|
12298
|
+
variantFlatCount: 1,
|
|
12299
|
+
})
|
|
12300
|
+
, 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
|
|
12301
|
+
],
|
|
12302
|
+
variantSize32: 16,
|
|
12303
|
+
variantAlign32: 4,
|
|
12304
|
+
variantPayloadOffset32: 4,
|
|
12305
|
+
variantFlatCount: 4,
|
|
12306
|
+
})
|
|
12307
|
+
, 20, 4, 4 ],
|
|
12308
|
+
[ 'err',
|
|
12309
|
+
_lowerFlatEnum({
|
|
12310
|
+
caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
|
|
12311
|
+
variantSize32: 1,
|
|
12312
|
+
variantAlign32: 1,
|
|
12313
|
+
variantPayloadOffset32: 1,
|
|
12314
|
+
variantFlatCount: 1,
|
|
12315
|
+
})
|
|
12316
|
+
, 20, 4, 4 ],
|
|
12317
|
+
],
|
|
12318
|
+
variantSize32: 20,
|
|
12319
|
+
variantAlign32: 4,
|
|
12320
|
+
variantPayloadOffset32: 4,
|
|
12321
|
+
variantFlatCount: 5,
|
|
12322
|
+
})
|
|
11496
12323
|
],
|
|
11497
12324
|
hasResultPointer: true,
|
|
11498
12325
|
funcTypeIsAsync: false,
|
|
@@ -11514,30 +12341,43 @@ null,
|
|
|
11514
12341
|
isAsync: false,
|
|
11515
12342
|
isManualAsync: _trampoline25.manuallyAsync,
|
|
11516
12343
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
11517
|
-
resultLowerFns: [
|
|
11518
|
-
|
|
11519
|
-
|
|
11520
|
-
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11528
|
-
|
|
11529
|
-
|
|
11530
|
-
|
|
11531
|
-
|
|
11532
|
-
|
|
11533
|
-
|
|
11534
|
-
|
|
11535
|
-
|
|
11536
|
-
|
|
11537
|
-
|
|
11538
|
-
|
|
11539
|
-
|
|
11540
|
-
|
|
12344
|
+
resultLowerFns: [
|
|
12345
|
+
_lowerFlatResult({
|
|
12346
|
+
caseMetas: [
|
|
12347
|
+
[ 'ok', _lowerFlatList({
|
|
12348
|
+
elemLowerFn: _lowerFlatU8,
|
|
12349
|
+
elemSize32: 1,
|
|
12350
|
+
elemAlign32: 1,
|
|
12351
|
+
}), 12, 4, 4 ],
|
|
12352
|
+
[ 'err', _lowerFlatVariant({
|
|
12353
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12354
|
+
componentIdx: 0,
|
|
12355
|
+
lowerFn:
|
|
12356
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12357
|
+
if (!(obj instanceof Error$1)) {
|
|
12358
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12359
|
+
}
|
|
12360
|
+
let handle = obj[symbolRscHandle];
|
|
12361
|
+
if (!handle) {
|
|
12362
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12363
|
+
captureTable0.set(rep, obj);
|
|
12364
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12365
|
+
}
|
|
12366
|
+
return handle;
|
|
12367
|
+
}
|
|
12368
|
+
,
|
|
12369
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12370
|
+
variantSize32: 8,
|
|
12371
|
+
variantAlign32: 4,
|
|
12372
|
+
variantPayloadOffset32: 4,
|
|
12373
|
+
variantFlatCount: 2,
|
|
12374
|
+
} ), 12, 4, 4 ],
|
|
12375
|
+
],
|
|
12376
|
+
variantSize32: 12,
|
|
12377
|
+
variantAlign32: 4,
|
|
12378
|
+
variantPayloadOffset32: 4,
|
|
12379
|
+
variantFlatCount: 3,
|
|
12380
|
+
})
|
|
11541
12381
|
],
|
|
11542
12382
|
hasResultPointer: true,
|
|
11543
12383
|
funcTypeIsAsync: false,
|
|
@@ -11558,30 +12398,43 @@ null,
|
|
|
11558
12398
|
isAsync: false,
|
|
11559
12399
|
isManualAsync: _trampoline25.manuallyAsync,
|
|
11560
12400
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
11561
|
-
resultLowerFns: [
|
|
11562
|
-
|
|
11563
|
-
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
|
|
11573
|
-
|
|
11574
|
-
|
|
11575
|
-
|
|
11576
|
-
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
|
|
11582
|
-
|
|
11583
|
-
|
|
11584
|
-
|
|
12401
|
+
resultLowerFns: [
|
|
12402
|
+
_lowerFlatResult({
|
|
12403
|
+
caseMetas: [
|
|
12404
|
+
[ 'ok', _lowerFlatList({
|
|
12405
|
+
elemLowerFn: _lowerFlatU8,
|
|
12406
|
+
elemSize32: 1,
|
|
12407
|
+
elemAlign32: 1,
|
|
12408
|
+
}), 12, 4, 4 ],
|
|
12409
|
+
[ 'err', _lowerFlatVariant({
|
|
12410
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12411
|
+
componentIdx: 0,
|
|
12412
|
+
lowerFn:
|
|
12413
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12414
|
+
if (!(obj instanceof Error$1)) {
|
|
12415
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12416
|
+
}
|
|
12417
|
+
let handle = obj[symbolRscHandle];
|
|
12418
|
+
if (!handle) {
|
|
12419
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12420
|
+
captureTable0.set(rep, obj);
|
|
12421
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12422
|
+
}
|
|
12423
|
+
return handle;
|
|
12424
|
+
}
|
|
12425
|
+
,
|
|
12426
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12427
|
+
variantSize32: 8,
|
|
12428
|
+
variantAlign32: 4,
|
|
12429
|
+
variantPayloadOffset32: 4,
|
|
12430
|
+
variantFlatCount: 2,
|
|
12431
|
+
} ), 12, 4, 4 ],
|
|
12432
|
+
],
|
|
12433
|
+
variantSize32: 12,
|
|
12434
|
+
variantAlign32: 4,
|
|
12435
|
+
variantPayloadOffset32: 4,
|
|
12436
|
+
variantFlatCount: 3,
|
|
12437
|
+
})
|
|
11585
12438
|
],
|
|
11586
12439
|
hasResultPointer: true,
|
|
11587
12440
|
funcTypeIsAsync: false,
|
|
@@ -11603,30 +12456,43 @@ null,
|
|
|
11603
12456
|
isAsync: false,
|
|
11604
12457
|
isManualAsync: _trampoline26.manuallyAsync,
|
|
11605
12458
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
11606
|
-
resultLowerFns: [
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
|
|
11610
|
-
|
|
11611
|
-
|
|
11612
|
-
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
12459
|
+
resultLowerFns: [
|
|
12460
|
+
_lowerFlatResult({
|
|
12461
|
+
caseMetas: [
|
|
12462
|
+
[ 'ok', _lowerFlatList({
|
|
12463
|
+
elemLowerFn: _lowerFlatU8,
|
|
12464
|
+
elemSize32: 1,
|
|
12465
|
+
elemAlign32: 1,
|
|
12466
|
+
}), 12, 4, 4 ],
|
|
12467
|
+
[ 'err', _lowerFlatVariant({
|
|
12468
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12469
|
+
componentIdx: 0,
|
|
12470
|
+
lowerFn:
|
|
12471
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12472
|
+
if (!(obj instanceof Error$1)) {
|
|
12473
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12474
|
+
}
|
|
12475
|
+
let handle = obj[symbolRscHandle];
|
|
12476
|
+
if (!handle) {
|
|
12477
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12478
|
+
captureTable0.set(rep, obj);
|
|
12479
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12480
|
+
}
|
|
12481
|
+
return handle;
|
|
12482
|
+
}
|
|
12483
|
+
,
|
|
12484
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12485
|
+
variantSize32: 8,
|
|
12486
|
+
variantAlign32: 4,
|
|
12487
|
+
variantPayloadOffset32: 4,
|
|
12488
|
+
variantFlatCount: 2,
|
|
12489
|
+
} ), 12, 4, 4 ],
|
|
12490
|
+
],
|
|
12491
|
+
variantSize32: 12,
|
|
12492
|
+
variantAlign32: 4,
|
|
12493
|
+
variantPayloadOffset32: 4,
|
|
12494
|
+
variantFlatCount: 3,
|
|
12495
|
+
})
|
|
11630
12496
|
],
|
|
11631
12497
|
hasResultPointer: true,
|
|
11632
12498
|
funcTypeIsAsync: false,
|
|
@@ -11647,30 +12513,43 @@ null,
|
|
|
11647
12513
|
isAsync: false,
|
|
11648
12514
|
isManualAsync: _trampoline26.manuallyAsync,
|
|
11649
12515
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
11650
|
-
resultLowerFns: [
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
11665
|
-
|
|
11666
|
-
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
12516
|
+
resultLowerFns: [
|
|
12517
|
+
_lowerFlatResult({
|
|
12518
|
+
caseMetas: [
|
|
12519
|
+
[ 'ok', _lowerFlatList({
|
|
12520
|
+
elemLowerFn: _lowerFlatU8,
|
|
12521
|
+
elemSize32: 1,
|
|
12522
|
+
elemAlign32: 1,
|
|
12523
|
+
}), 12, 4, 4 ],
|
|
12524
|
+
[ 'err', _lowerFlatVariant({
|
|
12525
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12526
|
+
componentIdx: 0,
|
|
12527
|
+
lowerFn:
|
|
12528
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12529
|
+
if (!(obj instanceof Error$1)) {
|
|
12530
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12531
|
+
}
|
|
12532
|
+
let handle = obj[symbolRscHandle];
|
|
12533
|
+
if (!handle) {
|
|
12534
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12535
|
+
captureTable0.set(rep, obj);
|
|
12536
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12537
|
+
}
|
|
12538
|
+
return handle;
|
|
12539
|
+
}
|
|
12540
|
+
,
|
|
12541
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12542
|
+
variantSize32: 8,
|
|
12543
|
+
variantAlign32: 4,
|
|
12544
|
+
variantPayloadOffset32: 4,
|
|
12545
|
+
variantFlatCount: 2,
|
|
12546
|
+
} ), 12, 4, 4 ],
|
|
12547
|
+
],
|
|
12548
|
+
variantSize32: 12,
|
|
12549
|
+
variantAlign32: 4,
|
|
12550
|
+
variantPayloadOffset32: 4,
|
|
12551
|
+
variantFlatCount: 3,
|
|
12552
|
+
})
|
|
11674
12553
|
],
|
|
11675
12554
|
hasResultPointer: true,
|
|
11676
12555
|
funcTypeIsAsync: false,
|
|
@@ -11692,26 +12571,39 @@ null,
|
|
|
11692
12571
|
isAsync: false,
|
|
11693
12572
|
isManualAsync: _trampoline27.manuallyAsync,
|
|
11694
12573
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
11695
|
-
resultLowerFns: [
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
|
|
11701
|
-
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
|
|
12574
|
+
resultLowerFns: [
|
|
12575
|
+
_lowerFlatResult({
|
|
12576
|
+
caseMetas: [
|
|
12577
|
+
[ 'ok', _lowerFlatU64, 16, 8, 8 ],
|
|
12578
|
+
[ 'err', _lowerFlatVariant({
|
|
12579
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12580
|
+
componentIdx: 0,
|
|
12581
|
+
lowerFn:
|
|
12582
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12583
|
+
if (!(obj instanceof Error$1)) {
|
|
12584
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12585
|
+
}
|
|
12586
|
+
let handle = obj[symbolRscHandle];
|
|
12587
|
+
if (!handle) {
|
|
12588
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12589
|
+
captureTable0.set(rep, obj);
|
|
12590
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12591
|
+
}
|
|
12592
|
+
return handle;
|
|
12593
|
+
}
|
|
12594
|
+
,
|
|
12595
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12596
|
+
variantSize32: 8,
|
|
12597
|
+
variantAlign32: 4,
|
|
12598
|
+
variantPayloadOffset32: 4,
|
|
12599
|
+
variantFlatCount: 2,
|
|
12600
|
+
} ), 16, 8, 8 ],
|
|
12601
|
+
],
|
|
12602
|
+
variantSize32: 16,
|
|
12603
|
+
variantAlign32: 8,
|
|
12604
|
+
variantPayloadOffset32: 8,
|
|
12605
|
+
variantFlatCount: 3,
|
|
12606
|
+
})
|
|
11715
12607
|
],
|
|
11716
12608
|
hasResultPointer: true,
|
|
11717
12609
|
funcTypeIsAsync: false,
|
|
@@ -11732,26 +12624,39 @@ null,
|
|
|
11732
12624
|
isAsync: false,
|
|
11733
12625
|
isManualAsync: _trampoline27.manuallyAsync,
|
|
11734
12626
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
11735
|
-
resultLowerFns: [
|
|
11736
|
-
|
|
11737
|
-
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11747
|
-
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
12627
|
+
resultLowerFns: [
|
|
12628
|
+
_lowerFlatResult({
|
|
12629
|
+
caseMetas: [
|
|
12630
|
+
[ 'ok', _lowerFlatU64, 16, 8, 8 ],
|
|
12631
|
+
[ 'err', _lowerFlatVariant({
|
|
12632
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12633
|
+
componentIdx: 0,
|
|
12634
|
+
lowerFn:
|
|
12635
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12636
|
+
if (!(obj instanceof Error$1)) {
|
|
12637
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12638
|
+
}
|
|
12639
|
+
let handle = obj[symbolRscHandle];
|
|
12640
|
+
if (!handle) {
|
|
12641
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12642
|
+
captureTable0.set(rep, obj);
|
|
12643
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12644
|
+
}
|
|
12645
|
+
return handle;
|
|
12646
|
+
}
|
|
12647
|
+
,
|
|
12648
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12649
|
+
variantSize32: 8,
|
|
12650
|
+
variantAlign32: 4,
|
|
12651
|
+
variantPayloadOffset32: 4,
|
|
12652
|
+
variantFlatCount: 2,
|
|
12653
|
+
} ), 16, 8, 8 ],
|
|
12654
|
+
],
|
|
12655
|
+
variantSize32: 16,
|
|
12656
|
+
variantAlign32: 8,
|
|
12657
|
+
variantPayloadOffset32: 8,
|
|
12658
|
+
variantFlatCount: 3,
|
|
12659
|
+
})
|
|
11755
12660
|
],
|
|
11756
12661
|
hasResultPointer: true,
|
|
11757
12662
|
funcTypeIsAsync: false,
|
|
@@ -11778,26 +12683,39 @@ null,
|
|
|
11778
12683
|
elemSize32: 1,
|
|
11779
12684
|
typedArray: Uint8Array,
|
|
11780
12685
|
})],
|
|
11781
|
-
resultLowerFns: [
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
12686
|
+
resultLowerFns: [
|
|
12687
|
+
_lowerFlatResult({
|
|
12688
|
+
caseMetas: [
|
|
12689
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12690
|
+
[ 'err', _lowerFlatVariant({
|
|
12691
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12692
|
+
componentIdx: 0,
|
|
12693
|
+
lowerFn:
|
|
12694
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12695
|
+
if (!(obj instanceof Error$1)) {
|
|
12696
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12697
|
+
}
|
|
12698
|
+
let handle = obj[symbolRscHandle];
|
|
12699
|
+
if (!handle) {
|
|
12700
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12701
|
+
captureTable0.set(rep, obj);
|
|
12702
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12703
|
+
}
|
|
12704
|
+
return handle;
|
|
12705
|
+
}
|
|
12706
|
+
,
|
|
12707
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12708
|
+
variantSize32: 8,
|
|
12709
|
+
variantAlign32: 4,
|
|
12710
|
+
variantPayloadOffset32: 4,
|
|
12711
|
+
variantFlatCount: 2,
|
|
12712
|
+
} ), 12, 4, 4 ],
|
|
12713
|
+
],
|
|
12714
|
+
variantSize32: 12,
|
|
12715
|
+
variantAlign32: 4,
|
|
12716
|
+
variantPayloadOffset32: 4,
|
|
12717
|
+
variantFlatCount: 3,
|
|
12718
|
+
})
|
|
11801
12719
|
],
|
|
11802
12720
|
hasResultPointer: true,
|
|
11803
12721
|
funcTypeIsAsync: false,
|
|
@@ -11823,26 +12741,39 @@ null,
|
|
|
11823
12741
|
elemSize32: 1,
|
|
11824
12742
|
typedArray: Uint8Array,
|
|
11825
12743
|
})],
|
|
11826
|
-
resultLowerFns: [
|
|
11827
|
-
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
12744
|
+
resultLowerFns: [
|
|
12745
|
+
_lowerFlatResult({
|
|
12746
|
+
caseMetas: [
|
|
12747
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12748
|
+
[ 'err', _lowerFlatVariant({
|
|
12749
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12750
|
+
componentIdx: 0,
|
|
12751
|
+
lowerFn:
|
|
12752
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12753
|
+
if (!(obj instanceof Error$1)) {
|
|
12754
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12755
|
+
}
|
|
12756
|
+
let handle = obj[symbolRscHandle];
|
|
12757
|
+
if (!handle) {
|
|
12758
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12759
|
+
captureTable0.set(rep, obj);
|
|
12760
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12761
|
+
}
|
|
12762
|
+
return handle;
|
|
12763
|
+
}
|
|
12764
|
+
,
|
|
12765
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12766
|
+
variantSize32: 8,
|
|
12767
|
+
variantAlign32: 4,
|
|
12768
|
+
variantPayloadOffset32: 4,
|
|
12769
|
+
variantFlatCount: 2,
|
|
12770
|
+
} ), 12, 4, 4 ],
|
|
12771
|
+
],
|
|
12772
|
+
variantSize32: 12,
|
|
12773
|
+
variantAlign32: 4,
|
|
12774
|
+
variantPayloadOffset32: 4,
|
|
12775
|
+
variantFlatCount: 3,
|
|
12776
|
+
})
|
|
11846
12777
|
],
|
|
11847
12778
|
hasResultPointer: true,
|
|
11848
12779
|
funcTypeIsAsync: false,
|
|
@@ -11869,26 +12800,39 @@ null,
|
|
|
11869
12800
|
elemSize32: 1,
|
|
11870
12801
|
typedArray: Uint8Array,
|
|
11871
12802
|
})],
|
|
11872
|
-
resultLowerFns: [
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
12803
|
+
resultLowerFns: [
|
|
12804
|
+
_lowerFlatResult({
|
|
12805
|
+
caseMetas: [
|
|
12806
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12807
|
+
[ 'err', _lowerFlatVariant({
|
|
12808
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12809
|
+
componentIdx: 0,
|
|
12810
|
+
lowerFn:
|
|
12811
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12812
|
+
if (!(obj instanceof Error$1)) {
|
|
12813
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12814
|
+
}
|
|
12815
|
+
let handle = obj[symbolRscHandle];
|
|
12816
|
+
if (!handle) {
|
|
12817
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12818
|
+
captureTable0.set(rep, obj);
|
|
12819
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12820
|
+
}
|
|
12821
|
+
return handle;
|
|
12822
|
+
}
|
|
12823
|
+
,
|
|
12824
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12825
|
+
variantSize32: 8,
|
|
12826
|
+
variantAlign32: 4,
|
|
12827
|
+
variantPayloadOffset32: 4,
|
|
12828
|
+
variantFlatCount: 2,
|
|
12829
|
+
} ), 12, 4, 4 ],
|
|
12830
|
+
],
|
|
12831
|
+
variantSize32: 12,
|
|
12832
|
+
variantAlign32: 4,
|
|
12833
|
+
variantPayloadOffset32: 4,
|
|
12834
|
+
variantFlatCount: 3,
|
|
12835
|
+
})
|
|
11892
12836
|
],
|
|
11893
12837
|
hasResultPointer: true,
|
|
11894
12838
|
funcTypeIsAsync: false,
|
|
@@ -11914,26 +12858,39 @@ null,
|
|
|
11914
12858
|
elemSize32: 1,
|
|
11915
12859
|
typedArray: Uint8Array,
|
|
11916
12860
|
})],
|
|
11917
|
-
resultLowerFns: [
|
|
11918
|
-
|
|
11919
|
-
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
12861
|
+
resultLowerFns: [
|
|
12862
|
+
_lowerFlatResult({
|
|
12863
|
+
caseMetas: [
|
|
12864
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12865
|
+
[ 'err', _lowerFlatVariant({
|
|
12866
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12867
|
+
componentIdx: 0,
|
|
12868
|
+
lowerFn:
|
|
12869
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12870
|
+
if (!(obj instanceof Error$1)) {
|
|
12871
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12872
|
+
}
|
|
12873
|
+
let handle = obj[symbolRscHandle];
|
|
12874
|
+
if (!handle) {
|
|
12875
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12876
|
+
captureTable0.set(rep, obj);
|
|
12877
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12878
|
+
}
|
|
12879
|
+
return handle;
|
|
12880
|
+
}
|
|
12881
|
+
,
|
|
12882
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12883
|
+
variantSize32: 8,
|
|
12884
|
+
variantAlign32: 4,
|
|
12885
|
+
variantPayloadOffset32: 4,
|
|
12886
|
+
variantFlatCount: 2,
|
|
12887
|
+
} ), 12, 4, 4 ],
|
|
12888
|
+
],
|
|
12889
|
+
variantSize32: 12,
|
|
12890
|
+
variantAlign32: 4,
|
|
12891
|
+
variantPayloadOffset32: 4,
|
|
12892
|
+
variantFlatCount: 3,
|
|
12893
|
+
})
|
|
11937
12894
|
],
|
|
11938
12895
|
hasResultPointer: true,
|
|
11939
12896
|
funcTypeIsAsync: false,
|
|
@@ -11955,26 +12912,39 @@ null,
|
|
|
11955
12912
|
isAsync: false,
|
|
11956
12913
|
isManualAsync: _trampoline30.manuallyAsync,
|
|
11957
12914
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
11958
|
-
resultLowerFns: [
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
|
-
|
|
11964
|
-
|
|
11965
|
-
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
12915
|
+
resultLowerFns: [
|
|
12916
|
+
_lowerFlatResult({
|
|
12917
|
+
caseMetas: [
|
|
12918
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12919
|
+
[ 'err', _lowerFlatVariant({
|
|
12920
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12921
|
+
componentIdx: 0,
|
|
12922
|
+
lowerFn:
|
|
12923
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12924
|
+
if (!(obj instanceof Error$1)) {
|
|
12925
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12926
|
+
}
|
|
12927
|
+
let handle = obj[symbolRscHandle];
|
|
12928
|
+
if (!handle) {
|
|
12929
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12930
|
+
captureTable0.set(rep, obj);
|
|
12931
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12932
|
+
}
|
|
12933
|
+
return handle;
|
|
12934
|
+
}
|
|
12935
|
+
,
|
|
12936
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12937
|
+
variantSize32: 8,
|
|
12938
|
+
variantAlign32: 4,
|
|
12939
|
+
variantPayloadOffset32: 4,
|
|
12940
|
+
variantFlatCount: 2,
|
|
12941
|
+
} ), 12, 4, 4 ],
|
|
12942
|
+
],
|
|
12943
|
+
variantSize32: 12,
|
|
12944
|
+
variantAlign32: 4,
|
|
12945
|
+
variantPayloadOffset32: 4,
|
|
12946
|
+
variantFlatCount: 3,
|
|
12947
|
+
})
|
|
11978
12948
|
],
|
|
11979
12949
|
hasResultPointer: true,
|
|
11980
12950
|
funcTypeIsAsync: false,
|
|
@@ -11995,26 +12965,39 @@ null,
|
|
|
11995
12965
|
isAsync: false,
|
|
11996
12966
|
isManualAsync: _trampoline30.manuallyAsync,
|
|
11997
12967
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
11998
|
-
resultLowerFns: [
|
|
11999
|
-
|
|
12000
|
-
|
|
12001
|
-
|
|
12002
|
-
|
|
12003
|
-
|
|
12004
|
-
|
|
12005
|
-
|
|
12006
|
-
|
|
12007
|
-
|
|
12008
|
-
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12968
|
+
resultLowerFns: [
|
|
12969
|
+
_lowerFlatResult({
|
|
12970
|
+
caseMetas: [
|
|
12971
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12972
|
+
[ 'err', _lowerFlatVariant({
|
|
12973
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12974
|
+
componentIdx: 0,
|
|
12975
|
+
lowerFn:
|
|
12976
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12977
|
+
if (!(obj instanceof Error$1)) {
|
|
12978
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12979
|
+
}
|
|
12980
|
+
let handle = obj[symbolRscHandle];
|
|
12981
|
+
if (!handle) {
|
|
12982
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12983
|
+
captureTable0.set(rep, obj);
|
|
12984
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12985
|
+
}
|
|
12986
|
+
return handle;
|
|
12987
|
+
}
|
|
12988
|
+
,
|
|
12989
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12990
|
+
variantSize32: 8,
|
|
12991
|
+
variantAlign32: 4,
|
|
12992
|
+
variantPayloadOffset32: 4,
|
|
12993
|
+
variantFlatCount: 2,
|
|
12994
|
+
} ), 12, 4, 4 ],
|
|
12995
|
+
],
|
|
12996
|
+
variantSize32: 12,
|
|
12997
|
+
variantAlign32: 4,
|
|
12998
|
+
variantPayloadOffset32: 4,
|
|
12999
|
+
variantFlatCount: 3,
|
|
13000
|
+
})
|
|
12018
13001
|
],
|
|
12019
13002
|
hasResultPointer: true,
|
|
12020
13003
|
funcTypeIsAsync: false,
|
|
@@ -12166,26 +13149,33 @@ null,
|
|
|
12166
13149
|
isAsync: false,
|
|
12167
13150
|
isManualAsync: _trampoline33.manuallyAsync,
|
|
12168
13151
|
paramLiftFns: [],
|
|
12169
|
-
resultLowerFns: [
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
|
|
13152
|
+
resultLowerFns: [
|
|
13153
|
+
_lowerFlatOption({
|
|
13154
|
+
caseMetas: [
|
|
13155
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13156
|
+
[ 'some', _lowerFlatOwn({
|
|
13157
|
+
componentIdx: 0,
|
|
13158
|
+
lowerFn:
|
|
13159
|
+
function lowerImportedOwnedHost_TerminalInput(obj) {
|
|
13160
|
+
if (!(obj instanceof TerminalInput)) {
|
|
13161
|
+
throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
|
|
13162
|
+
}
|
|
13163
|
+
let handle = obj[symbolRscHandle];
|
|
13164
|
+
if (!handle) {
|
|
13165
|
+
const rep = obj[symbolRscRep] || ++captureCnt3;
|
|
13166
|
+
captureTable3.set(rep, obj);
|
|
13167
|
+
handle = rscTableCreateOwn(handleTable3, rep);
|
|
13168
|
+
}
|
|
13169
|
+
return handle;
|
|
12183
13170
|
}
|
|
12184
|
-
|
|
12185
|
-
}
|
|
12186
|
-
,
|
|
12187
|
-
|
|
12188
|
-
|
|
13171
|
+
,
|
|
13172
|
+
}), 4, 4, 1],
|
|
13173
|
+
],
|
|
13174
|
+
variantSize32: 8,
|
|
13175
|
+
variantAlign32: 4,
|
|
13176
|
+
variantPayloadOffset32: 4,
|
|
13177
|
+
variantFlatCount: 2,
|
|
13178
|
+
})
|
|
12189
13179
|
],
|
|
12190
13180
|
hasResultPointer: true,
|
|
12191
13181
|
funcTypeIsAsync: false,
|
|
@@ -12206,26 +13196,33 @@ null,
|
|
|
12206
13196
|
isAsync: false,
|
|
12207
13197
|
isManualAsync: _trampoline33.manuallyAsync,
|
|
12208
13198
|
paramLiftFns: [],
|
|
12209
|
-
resultLowerFns: [
|
|
12210
|
-
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
|
|
12217
|
-
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
|
|
12221
|
-
|
|
12222
|
-
|
|
13199
|
+
resultLowerFns: [
|
|
13200
|
+
_lowerFlatOption({
|
|
13201
|
+
caseMetas: [
|
|
13202
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13203
|
+
[ 'some', _lowerFlatOwn({
|
|
13204
|
+
componentIdx: 0,
|
|
13205
|
+
lowerFn:
|
|
13206
|
+
function lowerImportedOwnedHost_TerminalInput(obj) {
|
|
13207
|
+
if (!(obj instanceof TerminalInput)) {
|
|
13208
|
+
throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
|
|
13209
|
+
}
|
|
13210
|
+
let handle = obj[symbolRscHandle];
|
|
13211
|
+
if (!handle) {
|
|
13212
|
+
const rep = obj[symbolRscRep] || ++captureCnt3;
|
|
13213
|
+
captureTable3.set(rep, obj);
|
|
13214
|
+
handle = rscTableCreateOwn(handleTable3, rep);
|
|
13215
|
+
}
|
|
13216
|
+
return handle;
|
|
12223
13217
|
}
|
|
12224
|
-
|
|
12225
|
-
}
|
|
12226
|
-
,
|
|
12227
|
-
|
|
12228
|
-
|
|
13218
|
+
,
|
|
13219
|
+
}), 4, 4, 1],
|
|
13220
|
+
],
|
|
13221
|
+
variantSize32: 8,
|
|
13222
|
+
variantAlign32: 4,
|
|
13223
|
+
variantPayloadOffset32: 4,
|
|
13224
|
+
variantFlatCount: 2,
|
|
13225
|
+
})
|
|
12229
13226
|
],
|
|
12230
13227
|
hasResultPointer: true,
|
|
12231
13228
|
funcTypeIsAsync: false,
|
|
@@ -12247,26 +13244,33 @@ null,
|
|
|
12247
13244
|
isAsync: false,
|
|
12248
13245
|
isManualAsync: _trampoline34.manuallyAsync,
|
|
12249
13246
|
paramLiftFns: [],
|
|
12250
|
-
resultLowerFns: [
|
|
12251
|
-
|
|
12252
|
-
|
|
12253
|
-
|
|
12254
|
-
|
|
12255
|
-
|
|
12256
|
-
|
|
12257
|
-
|
|
12258
|
-
|
|
12259
|
-
|
|
12260
|
-
|
|
12261
|
-
|
|
12262
|
-
|
|
12263
|
-
|
|
13247
|
+
resultLowerFns: [
|
|
13248
|
+
_lowerFlatOption({
|
|
13249
|
+
caseMetas: [
|
|
13250
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13251
|
+
[ 'some', _lowerFlatOwn({
|
|
13252
|
+
componentIdx: 0,
|
|
13253
|
+
lowerFn:
|
|
13254
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13255
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13256
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13257
|
+
}
|
|
13258
|
+
let handle = obj[symbolRscHandle];
|
|
13259
|
+
if (!handle) {
|
|
13260
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13261
|
+
captureTable4.set(rep, obj);
|
|
13262
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13263
|
+
}
|
|
13264
|
+
return handle;
|
|
12264
13265
|
}
|
|
12265
|
-
|
|
12266
|
-
}
|
|
12267
|
-
,
|
|
12268
|
-
|
|
12269
|
-
|
|
13266
|
+
,
|
|
13267
|
+
}), 4, 4, 1],
|
|
13268
|
+
],
|
|
13269
|
+
variantSize32: 8,
|
|
13270
|
+
variantAlign32: 4,
|
|
13271
|
+
variantPayloadOffset32: 4,
|
|
13272
|
+
variantFlatCount: 2,
|
|
13273
|
+
})
|
|
12270
13274
|
],
|
|
12271
13275
|
hasResultPointer: true,
|
|
12272
13276
|
funcTypeIsAsync: false,
|
|
@@ -12287,26 +13291,33 @@ null,
|
|
|
12287
13291
|
isAsync: false,
|
|
12288
13292
|
isManualAsync: _trampoline34.manuallyAsync,
|
|
12289
13293
|
paramLiftFns: [],
|
|
12290
|
-
resultLowerFns: [
|
|
12291
|
-
|
|
12292
|
-
|
|
12293
|
-
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
|
|
12297
|
-
|
|
12298
|
-
|
|
12299
|
-
|
|
12300
|
-
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
13294
|
+
resultLowerFns: [
|
|
13295
|
+
_lowerFlatOption({
|
|
13296
|
+
caseMetas: [
|
|
13297
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13298
|
+
[ 'some', _lowerFlatOwn({
|
|
13299
|
+
componentIdx: 0,
|
|
13300
|
+
lowerFn:
|
|
13301
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13302
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13303
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13304
|
+
}
|
|
13305
|
+
let handle = obj[symbolRscHandle];
|
|
13306
|
+
if (!handle) {
|
|
13307
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13308
|
+
captureTable4.set(rep, obj);
|
|
13309
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13310
|
+
}
|
|
13311
|
+
return handle;
|
|
12304
13312
|
}
|
|
12305
|
-
|
|
12306
|
-
}
|
|
12307
|
-
,
|
|
12308
|
-
|
|
12309
|
-
|
|
13313
|
+
,
|
|
13314
|
+
}), 4, 4, 1],
|
|
13315
|
+
],
|
|
13316
|
+
variantSize32: 8,
|
|
13317
|
+
variantAlign32: 4,
|
|
13318
|
+
variantPayloadOffset32: 4,
|
|
13319
|
+
variantFlatCount: 2,
|
|
13320
|
+
})
|
|
12310
13321
|
],
|
|
12311
13322
|
hasResultPointer: true,
|
|
12312
13323
|
funcTypeIsAsync: false,
|
|
@@ -12328,26 +13339,33 @@ null,
|
|
|
12328
13339
|
isAsync: false,
|
|
12329
13340
|
isManualAsync: _trampoline35.manuallyAsync,
|
|
12330
13341
|
paramLiftFns: [],
|
|
12331
|
-
resultLowerFns: [
|
|
12332
|
-
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
13342
|
+
resultLowerFns: [
|
|
13343
|
+
_lowerFlatOption({
|
|
13344
|
+
caseMetas: [
|
|
13345
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13346
|
+
[ 'some', _lowerFlatOwn({
|
|
13347
|
+
componentIdx: 0,
|
|
13348
|
+
lowerFn:
|
|
13349
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13350
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13351
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13352
|
+
}
|
|
13353
|
+
let handle = obj[symbolRscHandle];
|
|
13354
|
+
if (!handle) {
|
|
13355
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13356
|
+
captureTable4.set(rep, obj);
|
|
13357
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13358
|
+
}
|
|
13359
|
+
return handle;
|
|
12345
13360
|
}
|
|
12346
|
-
|
|
12347
|
-
}
|
|
12348
|
-
,
|
|
12349
|
-
|
|
12350
|
-
|
|
13361
|
+
,
|
|
13362
|
+
}), 4, 4, 1],
|
|
13363
|
+
],
|
|
13364
|
+
variantSize32: 8,
|
|
13365
|
+
variantAlign32: 4,
|
|
13366
|
+
variantPayloadOffset32: 4,
|
|
13367
|
+
variantFlatCount: 2,
|
|
13368
|
+
})
|
|
12351
13369
|
],
|
|
12352
13370
|
hasResultPointer: true,
|
|
12353
13371
|
funcTypeIsAsync: false,
|
|
@@ -12368,26 +13386,33 @@ null,
|
|
|
12368
13386
|
isAsync: false,
|
|
12369
13387
|
isManualAsync: _trampoline35.manuallyAsync,
|
|
12370
13388
|
paramLiftFns: [],
|
|
12371
|
-
resultLowerFns: [
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
|
|
12375
|
-
|
|
12376
|
-
|
|
12377
|
-
|
|
12378
|
-
|
|
12379
|
-
|
|
12380
|
-
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
|
|
12384
|
-
|
|
13389
|
+
resultLowerFns: [
|
|
13390
|
+
_lowerFlatOption({
|
|
13391
|
+
caseMetas: [
|
|
13392
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13393
|
+
[ 'some', _lowerFlatOwn({
|
|
13394
|
+
componentIdx: 0,
|
|
13395
|
+
lowerFn:
|
|
13396
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13397
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13398
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13399
|
+
}
|
|
13400
|
+
let handle = obj[symbolRscHandle];
|
|
13401
|
+
if (!handle) {
|
|
13402
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13403
|
+
captureTable4.set(rep, obj);
|
|
13404
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13405
|
+
}
|
|
13406
|
+
return handle;
|
|
12385
13407
|
}
|
|
12386
|
-
|
|
12387
|
-
}
|
|
12388
|
-
,
|
|
12389
|
-
|
|
12390
|
-
|
|
13408
|
+
,
|
|
13409
|
+
}), 4, 4, 1],
|
|
13410
|
+
],
|
|
13411
|
+
variantSize32: 8,
|
|
13412
|
+
variantAlign32: 4,
|
|
13413
|
+
variantPayloadOffset32: 4,
|
|
13414
|
+
variantFlatCount: 2,
|
|
13415
|
+
})
|
|
12391
13416
|
],
|
|
12392
13417
|
hasResultPointer: true,
|
|
12393
13418
|
funcTypeIsAsync: false,
|
|
@@ -12407,8 +13432,8 @@ export const $init = (() => {
|
|
|
12407
13432
|
let gen = (function* _initGenerator () {
|
|
12408
13433
|
const module0 = fetchCompile(new URL('./js-component-bindgen-component.core.wasm', import.meta.url));
|
|
12409
13434
|
const module1 = fetchCompile(new URL('./js-component-bindgen-component.core2.wasm', import.meta.url));
|
|
12410
|
-
const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+
|
|
12411
|
-
const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+
|
|
13435
|
+
const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNTEuMA');
|
|
13436
|
+
const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjUxLjA');
|
|
12412
13437
|
({ exports: exports0 } = yield instantiateCore(yield module2));
|
|
12413
13438
|
({ exports: exports1 } = yield instantiateCore(yield module0, {
|
|
12414
13439
|
wasi_snapshot_preview1: {
|