@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
package/obj/wasm-tools.js
CHANGED
|
@@ -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();
|
|
@@ -9540,6 +9791,10 @@ function parse(arg0) {
|
|
|
9540
9791
|
});
|
|
9541
9792
|
} catch (err) {
|
|
9542
9793
|
|
|
9794
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
9795
|
+
taskID: task.id(),
|
|
9796
|
+
err,
|
|
9797
|
+
});
|
|
9543
9798
|
task.setErrored(err);
|
|
9544
9799
|
task.reject(err);
|
|
9545
9800
|
task.exit();
|
|
@@ -9659,6 +9914,10 @@ function print(arg0) {
|
|
|
9659
9914
|
});
|
|
9660
9915
|
} catch (err) {
|
|
9661
9916
|
|
|
9917
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
9918
|
+
taskID: task.id(),
|
|
9919
|
+
err,
|
|
9920
|
+
});
|
|
9662
9921
|
task.setErrored(err);
|
|
9663
9922
|
task.reject(err);
|
|
9664
9923
|
task.exit();
|
|
@@ -9830,6 +10089,10 @@ function componentNew(arg0, arg1) {
|
|
|
9830
10089
|
});
|
|
9831
10090
|
} catch (err) {
|
|
9832
10091
|
|
|
10092
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
10093
|
+
taskID: task.id(),
|
|
10094
|
+
err,
|
|
10095
|
+
});
|
|
9833
10096
|
task.setErrored(err);
|
|
9834
10097
|
task.reject(err);
|
|
9835
10098
|
task.exit();
|
|
@@ -9949,6 +10212,10 @@ function componentWit(arg0) {
|
|
|
9949
10212
|
});
|
|
9950
10213
|
} catch (err) {
|
|
9951
10214
|
|
|
10215
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
10216
|
+
taskID: task.id(),
|
|
10217
|
+
err,
|
|
10218
|
+
});
|
|
9952
10219
|
task.setErrored(err);
|
|
9953
10220
|
task.reject(err);
|
|
9954
10221
|
task.exit();
|
|
@@ -10098,8 +10365,12 @@ function componentWitMetadataForWorld(arg0, arg1) {
|
|
|
10098
10365
|
});
|
|
10099
10366
|
} catch (err) {
|
|
10100
10367
|
|
|
10101
|
-
|
|
10102
|
-
|
|
10368
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
10369
|
+
taskID: task.id(),
|
|
10370
|
+
err,
|
|
10371
|
+
});
|
|
10372
|
+
task.setErrored(err);
|
|
10373
|
+
task.reject(err);
|
|
10103
10374
|
task.exit();
|
|
10104
10375
|
throw err;
|
|
10105
10376
|
|
|
@@ -10542,6 +10813,10 @@ function componentEmbed(arg0) {
|
|
|
10542
10813
|
});
|
|
10543
10814
|
} catch (err) {
|
|
10544
10815
|
|
|
10816
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
10817
|
+
taskID: task.id(),
|
|
10818
|
+
err,
|
|
10819
|
+
});
|
|
10545
10820
|
task.setErrored(err);
|
|
10546
10821
|
task.reject(err);
|
|
10547
10822
|
task.exit();
|
|
@@ -10661,6 +10936,10 @@ function metadataShow(arg0) {
|
|
|
10661
10936
|
});
|
|
10662
10937
|
} catch (err) {
|
|
10663
10938
|
|
|
10939
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
10940
|
+
taskID: task.id(),
|
|
10941
|
+
err,
|
|
10942
|
+
});
|
|
10664
10943
|
task.setErrored(err);
|
|
10665
10944
|
task.reject(err);
|
|
10666
10945
|
task.exit();
|
|
@@ -10900,6 +11179,10 @@ function metadataAdd(arg0, arg1) {
|
|
|
10900
11179
|
});
|
|
10901
11180
|
} catch (err) {
|
|
10902
11181
|
|
|
11182
|
+
_debugLog('[Instruction::CallWasm] error during sync call', {
|
|
11183
|
+
taskID: task.id(),
|
|
11184
|
+
err,
|
|
11185
|
+
});
|
|
10903
11186
|
task.setErrored(err);
|
|
10904
11187
|
task.reject(err);
|
|
10905
11188
|
task.exit();
|
|
@@ -11273,7 +11556,15 @@ null,
|
|
|
11273
11556
|
componentIdx: 0,
|
|
11274
11557
|
isAsync: false,
|
|
11275
11558
|
isManualAsync: _trampoline10.manuallyAsync,
|
|
11276
|
-
paramLiftFns: [
|
|
11559
|
+
paramLiftFns: [
|
|
11560
|
+
_liftFlatResult({
|
|
11561
|
+
caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
|
|
11562
|
+
variantSize32: 1,
|
|
11563
|
+
variantAlign32: 1,
|
|
11564
|
+
variantPayloadOffset32: 1,
|
|
11565
|
+
variantFlatCount: 1,
|
|
11566
|
+
})
|
|
11567
|
+
],
|
|
11277
11568
|
resultLowerFns: [],
|
|
11278
11569
|
hasResultPointer: false,
|
|
11279
11570
|
funcTypeIsAsync: false,
|
|
@@ -11293,7 +11584,15 @@ null,
|
|
|
11293
11584
|
componentIdx: 0,
|
|
11294
11585
|
isAsync: false,
|
|
11295
11586
|
isManualAsync: _trampoline10.manuallyAsync,
|
|
11296
|
-
paramLiftFns: [
|
|
11587
|
+
paramLiftFns: [
|
|
11588
|
+
_liftFlatResult({
|
|
11589
|
+
caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
|
|
11590
|
+
variantSize32: 1,
|
|
11591
|
+
variantAlign32: 1,
|
|
11592
|
+
variantPayloadOffset32: 1,
|
|
11593
|
+
variantFlatCount: 1,
|
|
11594
|
+
})
|
|
11595
|
+
],
|
|
11297
11596
|
resultLowerFns: [],
|
|
11298
11597
|
hasResultPointer: false,
|
|
11299
11598
|
funcTypeIsAsync: false,
|
|
@@ -11364,10 +11663,25 @@ null,
|
|
|
11364
11663
|
isAsync: false,
|
|
11365
11664
|
isManualAsync: _trampoline12.manuallyAsync,
|
|
11366
11665
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11367
|
-
resultLowerFns: [
|
|
11368
|
-
|
|
11369
|
-
|
|
11370
|
-
|
|
11666
|
+
resultLowerFns: [
|
|
11667
|
+
_lowerFlatResult({
|
|
11668
|
+
caseMetas: [
|
|
11669
|
+
[ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
|
|
11670
|
+
[ 'err',
|
|
11671
|
+
_lowerFlatEnum({
|
|
11672
|
+
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],],
|
|
11673
|
+
variantSize32: 1,
|
|
11674
|
+
variantAlign32: 1,
|
|
11675
|
+
variantPayloadOffset32: 1,
|
|
11676
|
+
variantFlatCount: 1,
|
|
11677
|
+
})
|
|
11678
|
+
, 2, 1, 1 ],
|
|
11679
|
+
],
|
|
11680
|
+
variantSize32: 2,
|
|
11681
|
+
variantAlign32: 1,
|
|
11682
|
+
variantPayloadOffset32: 1,
|
|
11683
|
+
variantFlatCount: 2,
|
|
11684
|
+
})
|
|
11371
11685
|
],
|
|
11372
11686
|
hasResultPointer: true,
|
|
11373
11687
|
funcTypeIsAsync: false,
|
|
@@ -11388,10 +11702,25 @@ null,
|
|
|
11388
11702
|
isAsync: false,
|
|
11389
11703
|
isManualAsync: _trampoline12.manuallyAsync,
|
|
11390
11704
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11391
|
-
resultLowerFns: [
|
|
11392
|
-
|
|
11393
|
-
|
|
11394
|
-
|
|
11705
|
+
resultLowerFns: [
|
|
11706
|
+
_lowerFlatResult({
|
|
11707
|
+
caseMetas: [
|
|
11708
|
+
[ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
|
|
11709
|
+
[ 'err',
|
|
11710
|
+
_lowerFlatEnum({
|
|
11711
|
+
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],],
|
|
11712
|
+
variantSize32: 1,
|
|
11713
|
+
variantAlign32: 1,
|
|
11714
|
+
variantPayloadOffset32: 1,
|
|
11715
|
+
variantFlatCount: 1,
|
|
11716
|
+
})
|
|
11717
|
+
, 2, 1, 1 ],
|
|
11718
|
+
],
|
|
11719
|
+
variantSize32: 2,
|
|
11720
|
+
variantAlign32: 1,
|
|
11721
|
+
variantPayloadOffset32: 1,
|
|
11722
|
+
variantFlatCount: 2,
|
|
11723
|
+
})
|
|
11395
11724
|
],
|
|
11396
11725
|
hasResultPointer: true,
|
|
11397
11726
|
funcTypeIsAsync: false,
|
|
@@ -11413,10 +11742,33 @@ null,
|
|
|
11413
11742
|
isAsync: false,
|
|
11414
11743
|
isManualAsync: _trampoline13.manuallyAsync,
|
|
11415
11744
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11416
|
-
resultLowerFns: [
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11745
|
+
resultLowerFns: [
|
|
11746
|
+
_lowerFlatResult({
|
|
11747
|
+
caseMetas: [
|
|
11748
|
+
[ 'ok',
|
|
11749
|
+
_lowerFlatEnum({
|
|
11750
|
+
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],],
|
|
11751
|
+
variantSize32: 1,
|
|
11752
|
+
variantAlign32: 1,
|
|
11753
|
+
variantPayloadOffset32: 1,
|
|
11754
|
+
variantFlatCount: 1,
|
|
11755
|
+
})
|
|
11756
|
+
, 2, 1, 1 ],
|
|
11757
|
+
[ 'err',
|
|
11758
|
+
_lowerFlatEnum({
|
|
11759
|
+
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],],
|
|
11760
|
+
variantSize32: 1,
|
|
11761
|
+
variantAlign32: 1,
|
|
11762
|
+
variantPayloadOffset32: 1,
|
|
11763
|
+
variantFlatCount: 1,
|
|
11764
|
+
})
|
|
11765
|
+
, 2, 1, 1 ],
|
|
11766
|
+
],
|
|
11767
|
+
variantSize32: 2,
|
|
11768
|
+
variantAlign32: 1,
|
|
11769
|
+
variantPayloadOffset32: 1,
|
|
11770
|
+
variantFlatCount: 2,
|
|
11771
|
+
})
|
|
11420
11772
|
],
|
|
11421
11773
|
hasResultPointer: true,
|
|
11422
11774
|
funcTypeIsAsync: false,
|
|
@@ -11437,10 +11789,33 @@ null,
|
|
|
11437
11789
|
isAsync: false,
|
|
11438
11790
|
isManualAsync: _trampoline13.manuallyAsync,
|
|
11439
11791
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11440
|
-
resultLowerFns: [
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11792
|
+
resultLowerFns: [
|
|
11793
|
+
_lowerFlatResult({
|
|
11794
|
+
caseMetas: [
|
|
11795
|
+
[ 'ok',
|
|
11796
|
+
_lowerFlatEnum({
|
|
11797
|
+
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],],
|
|
11798
|
+
variantSize32: 1,
|
|
11799
|
+
variantAlign32: 1,
|
|
11800
|
+
variantPayloadOffset32: 1,
|
|
11801
|
+
variantFlatCount: 1,
|
|
11802
|
+
})
|
|
11803
|
+
, 2, 1, 1 ],
|
|
11804
|
+
[ 'err',
|
|
11805
|
+
_lowerFlatEnum({
|
|
11806
|
+
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],],
|
|
11807
|
+
variantSize32: 1,
|
|
11808
|
+
variantAlign32: 1,
|
|
11809
|
+
variantPayloadOffset32: 1,
|
|
11810
|
+
variantFlatCount: 1,
|
|
11811
|
+
})
|
|
11812
|
+
, 2, 1, 1 ],
|
|
11813
|
+
],
|
|
11814
|
+
variantSize32: 2,
|
|
11815
|
+
variantAlign32: 1,
|
|
11816
|
+
variantPayloadOffset32: 1,
|
|
11817
|
+
variantFlatCount: 2,
|
|
11818
|
+
})
|
|
11444
11819
|
],
|
|
11445
11820
|
hasResultPointer: true,
|
|
11446
11821
|
funcTypeIsAsync: false,
|
|
@@ -11462,10 +11837,25 @@ null,
|
|
|
11462
11837
|
isAsync: false,
|
|
11463
11838
|
isManualAsync: _trampoline14.manuallyAsync,
|
|
11464
11839
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11465
|
-
resultLowerFns: [
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11840
|
+
resultLowerFns: [
|
|
11841
|
+
_lowerFlatResult({
|
|
11842
|
+
caseMetas: [
|
|
11843
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11844
|
+
[ 'err',
|
|
11845
|
+
_lowerFlatEnum({
|
|
11846
|
+
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],],
|
|
11847
|
+
variantSize32: 1,
|
|
11848
|
+
variantAlign32: 1,
|
|
11849
|
+
variantPayloadOffset32: 1,
|
|
11850
|
+
variantFlatCount: 1,
|
|
11851
|
+
})
|
|
11852
|
+
, 24, 8, 8 ],
|
|
11853
|
+
],
|
|
11854
|
+
variantSize32: 24,
|
|
11855
|
+
variantAlign32: 8,
|
|
11856
|
+
variantPayloadOffset32: 8,
|
|
11857
|
+
variantFlatCount: 3,
|
|
11858
|
+
})
|
|
11469
11859
|
],
|
|
11470
11860
|
hasResultPointer: true,
|
|
11471
11861
|
funcTypeIsAsync: false,
|
|
@@ -11486,10 +11876,25 @@ null,
|
|
|
11486
11876
|
isAsync: false,
|
|
11487
11877
|
isManualAsync: _trampoline14.manuallyAsync,
|
|
11488
11878
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11489
|
-
resultLowerFns: [
|
|
11490
|
-
|
|
11491
|
-
|
|
11492
|
-
|
|
11879
|
+
resultLowerFns: [
|
|
11880
|
+
_lowerFlatResult({
|
|
11881
|
+
caseMetas: [
|
|
11882
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11883
|
+
[ 'err',
|
|
11884
|
+
_lowerFlatEnum({
|
|
11885
|
+
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],],
|
|
11886
|
+
variantSize32: 1,
|
|
11887
|
+
variantAlign32: 1,
|
|
11888
|
+
variantPayloadOffset32: 1,
|
|
11889
|
+
variantFlatCount: 1,
|
|
11890
|
+
})
|
|
11891
|
+
, 24, 8, 8 ],
|
|
11892
|
+
],
|
|
11893
|
+
variantSize32: 24,
|
|
11894
|
+
variantAlign32: 8,
|
|
11895
|
+
variantPayloadOffset32: 8,
|
|
11896
|
+
variantFlatCount: 3,
|
|
11897
|
+
})
|
|
11493
11898
|
],
|
|
11494
11899
|
hasResultPointer: true,
|
|
11495
11900
|
funcTypeIsAsync: false,
|
|
@@ -11511,10 +11916,25 @@ null,
|
|
|
11511
11916
|
isAsync: false,
|
|
11512
11917
|
isManualAsync: _trampoline15.manuallyAsync,
|
|
11513
11918
|
paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
|
|
11514
|
-
resultLowerFns: [
|
|
11515
|
-
|
|
11516
|
-
|
|
11517
|
-
|
|
11919
|
+
resultLowerFns: [
|
|
11920
|
+
_lowerFlatOption({
|
|
11921
|
+
caseMetas: [
|
|
11922
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11923
|
+
[ 'some',
|
|
11924
|
+
_lowerFlatEnum({
|
|
11925
|
+
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],],
|
|
11926
|
+
variantSize32: 1,
|
|
11927
|
+
variantAlign32: 1,
|
|
11928
|
+
variantPayloadOffset32: 1,
|
|
11929
|
+
variantFlatCount: 1,
|
|
11930
|
+
})
|
|
11931
|
+
, 1, 1, 1],
|
|
11932
|
+
],
|
|
11933
|
+
variantSize32: 2,
|
|
11934
|
+
variantAlign32: 1,
|
|
11935
|
+
variantPayloadOffset32: 1,
|
|
11936
|
+
variantFlatCount: 2,
|
|
11937
|
+
})
|
|
11518
11938
|
],
|
|
11519
11939
|
hasResultPointer: true,
|
|
11520
11940
|
funcTypeIsAsync: false,
|
|
@@ -11535,10 +11955,25 @@ null,
|
|
|
11535
11955
|
isAsync: false,
|
|
11536
11956
|
isManualAsync: _trampoline15.manuallyAsync,
|
|
11537
11957
|
paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
|
|
11538
|
-
resultLowerFns: [
|
|
11539
|
-
|
|
11540
|
-
|
|
11541
|
-
|
|
11958
|
+
resultLowerFns: [
|
|
11959
|
+
_lowerFlatOption({
|
|
11960
|
+
caseMetas: [
|
|
11961
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11962
|
+
[ 'some',
|
|
11963
|
+
_lowerFlatEnum({
|
|
11964
|
+
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],],
|
|
11965
|
+
variantSize32: 1,
|
|
11966
|
+
variantAlign32: 1,
|
|
11967
|
+
variantPayloadOffset32: 1,
|
|
11968
|
+
variantFlatCount: 1,
|
|
11969
|
+
})
|
|
11970
|
+
, 1, 1, 1],
|
|
11971
|
+
],
|
|
11972
|
+
variantSize32: 2,
|
|
11973
|
+
variantAlign32: 1,
|
|
11974
|
+
variantPayloadOffset32: 1,
|
|
11975
|
+
variantFlatCount: 2,
|
|
11976
|
+
})
|
|
11542
11977
|
],
|
|
11543
11978
|
hasResultPointer: true,
|
|
11544
11979
|
funcTypeIsAsync: false,
|
|
@@ -11560,10 +11995,25 @@ null,
|
|
|
11560
11995
|
isAsync: false,
|
|
11561
11996
|
isManualAsync: _trampoline16.manuallyAsync,
|
|
11562
11997
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
11563
|
-
resultLowerFns: [
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
|
|
11998
|
+
resultLowerFns: [
|
|
11999
|
+
_lowerFlatResult({
|
|
12000
|
+
caseMetas: [
|
|
12001
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
12002
|
+
[ 'err',
|
|
12003
|
+
_lowerFlatEnum({
|
|
12004
|
+
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],],
|
|
12005
|
+
variantSize32: 1,
|
|
12006
|
+
variantAlign32: 1,
|
|
12007
|
+
variantPayloadOffset32: 1,
|
|
12008
|
+
variantFlatCount: 1,
|
|
12009
|
+
})
|
|
12010
|
+
, 24, 8, 8 ],
|
|
12011
|
+
],
|
|
12012
|
+
variantSize32: 24,
|
|
12013
|
+
variantAlign32: 8,
|
|
12014
|
+
variantPayloadOffset32: 8,
|
|
12015
|
+
variantFlatCount: 3,
|
|
12016
|
+
})
|
|
11567
12017
|
],
|
|
11568
12018
|
hasResultPointer: true,
|
|
11569
12019
|
funcTypeIsAsync: false,
|
|
@@ -11584,10 +12034,25 @@ null,
|
|
|
11584
12034
|
isAsync: false,
|
|
11585
12035
|
isManualAsync: _trampoline16.manuallyAsync,
|
|
11586
12036
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
11587
|
-
resultLowerFns: [
|
|
11588
|
-
|
|
11589
|
-
|
|
11590
|
-
|
|
12037
|
+
resultLowerFns: [
|
|
12038
|
+
_lowerFlatResult({
|
|
12039
|
+
caseMetas: [
|
|
12040
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
12041
|
+
[ 'err',
|
|
12042
|
+
_lowerFlatEnum({
|
|
12043
|
+
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],],
|
|
12044
|
+
variantSize32: 1,
|
|
12045
|
+
variantAlign32: 1,
|
|
12046
|
+
variantPayloadOffset32: 1,
|
|
12047
|
+
variantFlatCount: 1,
|
|
12048
|
+
})
|
|
12049
|
+
, 24, 8, 8 ],
|
|
12050
|
+
],
|
|
12051
|
+
variantSize32: 24,
|
|
12052
|
+
variantAlign32: 8,
|
|
12053
|
+
variantPayloadOffset32: 8,
|
|
12054
|
+
variantFlatCount: 3,
|
|
12055
|
+
})
|
|
11591
12056
|
],
|
|
11592
12057
|
hasResultPointer: true,
|
|
11593
12058
|
funcTypeIsAsync: false,
|
|
@@ -11609,26 +12074,41 @@ null,
|
|
|
11609
12074
|
isAsync: false,
|
|
11610
12075
|
isManualAsync: _trampoline17.manuallyAsync,
|
|
11611
12076
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11612
|
-
resultLowerFns: [
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
12077
|
+
resultLowerFns: [
|
|
12078
|
+
_lowerFlatResult({
|
|
12079
|
+
caseMetas: [
|
|
12080
|
+
[ 'ok', _lowerFlatOwn({
|
|
12081
|
+
componentIdx: 0,
|
|
12082
|
+
lowerFn:
|
|
12083
|
+
function lowerImportedOwnedHost_InputStream(obj) {
|
|
12084
|
+
if (!(obj instanceof InputStream)) {
|
|
12085
|
+
throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
|
|
12086
|
+
}
|
|
12087
|
+
let handle = obj[symbolRscHandle];
|
|
12088
|
+
if (!handle) {
|
|
12089
|
+
const rep = obj[symbolRscRep] || ++captureCnt1;
|
|
12090
|
+
captureTable1.set(rep, obj);
|
|
12091
|
+
handle = rscTableCreateOwn(handleTable1, rep);
|
|
12092
|
+
}
|
|
12093
|
+
return handle;
|
|
11625
12094
|
}
|
|
11626
|
-
|
|
11627
|
-
}
|
|
11628
|
-
,
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
12095
|
+
,
|
|
12096
|
+
}), 8, 4, 4 ],
|
|
12097
|
+
[ 'err',
|
|
12098
|
+
_lowerFlatEnum({
|
|
12099
|
+
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],],
|
|
12100
|
+
variantSize32: 1,
|
|
12101
|
+
variantAlign32: 1,
|
|
12102
|
+
variantPayloadOffset32: 1,
|
|
12103
|
+
variantFlatCount: 1,
|
|
12104
|
+
})
|
|
12105
|
+
, 8, 4, 4 ],
|
|
12106
|
+
],
|
|
12107
|
+
variantSize32: 8,
|
|
12108
|
+
variantAlign32: 4,
|
|
12109
|
+
variantPayloadOffset32: 4,
|
|
12110
|
+
variantFlatCount: 2,
|
|
12111
|
+
})
|
|
11632
12112
|
],
|
|
11633
12113
|
hasResultPointer: true,
|
|
11634
12114
|
funcTypeIsAsync: false,
|
|
@@ -11649,26 +12129,41 @@ null,
|
|
|
11649
12129
|
isAsync: false,
|
|
11650
12130
|
isManualAsync: _trampoline17.manuallyAsync,
|
|
11651
12131
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11652
|
-
resultLowerFns: [
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
12132
|
+
resultLowerFns: [
|
|
12133
|
+
_lowerFlatResult({
|
|
12134
|
+
caseMetas: [
|
|
12135
|
+
[ 'ok', _lowerFlatOwn({
|
|
12136
|
+
componentIdx: 0,
|
|
12137
|
+
lowerFn:
|
|
12138
|
+
function lowerImportedOwnedHost_InputStream(obj) {
|
|
12139
|
+
if (!(obj instanceof InputStream)) {
|
|
12140
|
+
throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
|
|
12141
|
+
}
|
|
12142
|
+
let handle = obj[symbolRscHandle];
|
|
12143
|
+
if (!handle) {
|
|
12144
|
+
const rep = obj[symbolRscRep] || ++captureCnt1;
|
|
12145
|
+
captureTable1.set(rep, obj);
|
|
12146
|
+
handle = rscTableCreateOwn(handleTable1, rep);
|
|
12147
|
+
}
|
|
12148
|
+
return handle;
|
|
11665
12149
|
}
|
|
11666
|
-
|
|
11667
|
-
}
|
|
11668
|
-
,
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
12150
|
+
,
|
|
12151
|
+
}), 8, 4, 4 ],
|
|
12152
|
+
[ 'err',
|
|
12153
|
+
_lowerFlatEnum({
|
|
12154
|
+
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],],
|
|
12155
|
+
variantSize32: 1,
|
|
12156
|
+
variantAlign32: 1,
|
|
12157
|
+
variantPayloadOffset32: 1,
|
|
12158
|
+
variantFlatCount: 1,
|
|
12159
|
+
})
|
|
12160
|
+
, 8, 4, 4 ],
|
|
12161
|
+
],
|
|
12162
|
+
variantSize32: 8,
|
|
12163
|
+
variantAlign32: 4,
|
|
12164
|
+
variantPayloadOffset32: 4,
|
|
12165
|
+
variantFlatCount: 2,
|
|
12166
|
+
})
|
|
11672
12167
|
],
|
|
11673
12168
|
hasResultPointer: true,
|
|
11674
12169
|
funcTypeIsAsync: false,
|
|
@@ -11690,26 +12185,41 @@ null,
|
|
|
11690
12185
|
isAsync: false,
|
|
11691
12186
|
isManualAsync: _trampoline18.manuallyAsync,
|
|
11692
12187
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11693
|
-
resultLowerFns: [
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
|
|
11701
|
-
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
12188
|
+
resultLowerFns: [
|
|
12189
|
+
_lowerFlatResult({
|
|
12190
|
+
caseMetas: [
|
|
12191
|
+
[ 'ok', _lowerFlatOwn({
|
|
12192
|
+
componentIdx: 0,
|
|
12193
|
+
lowerFn:
|
|
12194
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
12195
|
+
if (!(obj instanceof OutputStream)) {
|
|
12196
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
12197
|
+
}
|
|
12198
|
+
let handle = obj[symbolRscHandle];
|
|
12199
|
+
if (!handle) {
|
|
12200
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
12201
|
+
captureTable2.set(rep, obj);
|
|
12202
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
12203
|
+
}
|
|
12204
|
+
return handle;
|
|
11706
12205
|
}
|
|
11707
|
-
|
|
11708
|
-
}
|
|
11709
|
-
,
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
12206
|
+
,
|
|
12207
|
+
}), 8, 4, 4 ],
|
|
12208
|
+
[ 'err',
|
|
12209
|
+
_lowerFlatEnum({
|
|
12210
|
+
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],],
|
|
12211
|
+
variantSize32: 1,
|
|
12212
|
+
variantAlign32: 1,
|
|
12213
|
+
variantPayloadOffset32: 1,
|
|
12214
|
+
variantFlatCount: 1,
|
|
12215
|
+
})
|
|
12216
|
+
, 8, 4, 4 ],
|
|
12217
|
+
],
|
|
12218
|
+
variantSize32: 8,
|
|
12219
|
+
variantAlign32: 4,
|
|
12220
|
+
variantPayloadOffset32: 4,
|
|
12221
|
+
variantFlatCount: 2,
|
|
12222
|
+
})
|
|
11713
12223
|
],
|
|
11714
12224
|
hasResultPointer: true,
|
|
11715
12225
|
funcTypeIsAsync: false,
|
|
@@ -11730,26 +12240,41 @@ null,
|
|
|
11730
12240
|
isAsync: false,
|
|
11731
12241
|
isManualAsync: _trampoline18.manuallyAsync,
|
|
11732
12242
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11733
|
-
resultLowerFns: [
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
12243
|
+
resultLowerFns: [
|
|
12244
|
+
_lowerFlatResult({
|
|
12245
|
+
caseMetas: [
|
|
12246
|
+
[ 'ok', _lowerFlatOwn({
|
|
12247
|
+
componentIdx: 0,
|
|
12248
|
+
lowerFn:
|
|
12249
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
12250
|
+
if (!(obj instanceof OutputStream)) {
|
|
12251
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
12252
|
+
}
|
|
12253
|
+
let handle = obj[symbolRscHandle];
|
|
12254
|
+
if (!handle) {
|
|
12255
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
12256
|
+
captureTable2.set(rep, obj);
|
|
12257
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
12258
|
+
}
|
|
12259
|
+
return handle;
|
|
11746
12260
|
}
|
|
11747
|
-
|
|
11748
|
-
}
|
|
11749
|
-
,
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
12261
|
+
,
|
|
12262
|
+
}), 8, 4, 4 ],
|
|
12263
|
+
[ 'err',
|
|
12264
|
+
_lowerFlatEnum({
|
|
12265
|
+
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],],
|
|
12266
|
+
variantSize32: 1,
|
|
12267
|
+
variantAlign32: 1,
|
|
12268
|
+
variantPayloadOffset32: 1,
|
|
12269
|
+
variantFlatCount: 1,
|
|
12270
|
+
})
|
|
12271
|
+
, 8, 4, 4 ],
|
|
12272
|
+
],
|
|
12273
|
+
variantSize32: 8,
|
|
12274
|
+
variantAlign32: 4,
|
|
12275
|
+
variantPayloadOffset32: 4,
|
|
12276
|
+
variantFlatCount: 2,
|
|
12277
|
+
})
|
|
11753
12278
|
],
|
|
11754
12279
|
hasResultPointer: true,
|
|
11755
12280
|
funcTypeIsAsync: false,
|
|
@@ -11771,26 +12296,41 @@ null,
|
|
|
11771
12296
|
isAsync: false,
|
|
11772
12297
|
isManualAsync: _trampoline19.manuallyAsync,
|
|
11773
12298
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11774
|
-
resultLowerFns: [
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11778
|
-
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
12299
|
+
resultLowerFns: [
|
|
12300
|
+
_lowerFlatResult({
|
|
12301
|
+
caseMetas: [
|
|
12302
|
+
[ 'ok', _lowerFlatOwn({
|
|
12303
|
+
componentIdx: 0,
|
|
12304
|
+
lowerFn:
|
|
12305
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
12306
|
+
if (!(obj instanceof OutputStream)) {
|
|
12307
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
12308
|
+
}
|
|
12309
|
+
let handle = obj[symbolRscHandle];
|
|
12310
|
+
if (!handle) {
|
|
12311
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
12312
|
+
captureTable2.set(rep, obj);
|
|
12313
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
12314
|
+
}
|
|
12315
|
+
return handle;
|
|
11787
12316
|
}
|
|
11788
|
-
|
|
11789
|
-
}
|
|
11790
|
-
,
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
12317
|
+
,
|
|
12318
|
+
}), 8, 4, 4 ],
|
|
12319
|
+
[ 'err',
|
|
12320
|
+
_lowerFlatEnum({
|
|
12321
|
+
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],],
|
|
12322
|
+
variantSize32: 1,
|
|
12323
|
+
variantAlign32: 1,
|
|
12324
|
+
variantPayloadOffset32: 1,
|
|
12325
|
+
variantFlatCount: 1,
|
|
12326
|
+
})
|
|
12327
|
+
, 8, 4, 4 ],
|
|
12328
|
+
],
|
|
12329
|
+
variantSize32: 8,
|
|
12330
|
+
variantAlign32: 4,
|
|
12331
|
+
variantPayloadOffset32: 4,
|
|
12332
|
+
variantFlatCount: 2,
|
|
12333
|
+
})
|
|
11794
12334
|
],
|
|
11795
12335
|
hasResultPointer: true,
|
|
11796
12336
|
funcTypeIsAsync: false,
|
|
@@ -11811,26 +12351,41 @@ null,
|
|
|
11811
12351
|
isAsync: false,
|
|
11812
12352
|
isManualAsync: _trampoline19.manuallyAsync,
|
|
11813
12353
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11814
|
-
resultLowerFns: [
|
|
11815
|
-
|
|
11816
|
-
|
|
11817
|
-
|
|
11818
|
-
|
|
11819
|
-
|
|
11820
|
-
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
|
|
11824
|
-
|
|
11825
|
-
|
|
11826
|
-
|
|
12354
|
+
resultLowerFns: [
|
|
12355
|
+
_lowerFlatResult({
|
|
12356
|
+
caseMetas: [
|
|
12357
|
+
[ 'ok', _lowerFlatOwn({
|
|
12358
|
+
componentIdx: 0,
|
|
12359
|
+
lowerFn:
|
|
12360
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
12361
|
+
if (!(obj instanceof OutputStream)) {
|
|
12362
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
12363
|
+
}
|
|
12364
|
+
let handle = obj[symbolRscHandle];
|
|
12365
|
+
if (!handle) {
|
|
12366
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
12367
|
+
captureTable2.set(rep, obj);
|
|
12368
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
12369
|
+
}
|
|
12370
|
+
return handle;
|
|
11827
12371
|
}
|
|
11828
|
-
|
|
11829
|
-
}
|
|
11830
|
-
,
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
12372
|
+
,
|
|
12373
|
+
}), 8, 4, 4 ],
|
|
12374
|
+
[ 'err',
|
|
12375
|
+
_lowerFlatEnum({
|
|
12376
|
+
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],],
|
|
12377
|
+
variantSize32: 1,
|
|
12378
|
+
variantAlign32: 1,
|
|
12379
|
+
variantPayloadOffset32: 1,
|
|
12380
|
+
variantFlatCount: 1,
|
|
12381
|
+
})
|
|
12382
|
+
, 8, 4, 4 ],
|
|
12383
|
+
],
|
|
12384
|
+
variantSize32: 8,
|
|
12385
|
+
variantAlign32: 4,
|
|
12386
|
+
variantPayloadOffset32: 4,
|
|
12387
|
+
variantFlatCount: 2,
|
|
12388
|
+
})
|
|
11834
12389
|
],
|
|
11835
12390
|
hasResultPointer: true,
|
|
11836
12391
|
funcTypeIsAsync: false,
|
|
@@ -11852,26 +12407,41 @@ null,
|
|
|
11852
12407
|
isAsync: false,
|
|
11853
12408
|
isManualAsync: _trampoline20.manuallyAsync,
|
|
11854
12409
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11855
|
-
resultLowerFns: [
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
11867
|
-
|
|
12410
|
+
resultLowerFns: [
|
|
12411
|
+
_lowerFlatResult({
|
|
12412
|
+
caseMetas: [
|
|
12413
|
+
[ 'ok', _lowerFlatOwn({
|
|
12414
|
+
componentIdx: 0,
|
|
12415
|
+
lowerFn:
|
|
12416
|
+
function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
|
|
12417
|
+
if (!(obj instanceof DirectoryEntryStream)) {
|
|
12418
|
+
throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
|
|
12419
|
+
}
|
|
12420
|
+
let handle = obj[symbolRscHandle];
|
|
12421
|
+
if (!handle) {
|
|
12422
|
+
const rep = obj[symbolRscRep] || ++captureCnt5;
|
|
12423
|
+
captureTable5.set(rep, obj);
|
|
12424
|
+
handle = rscTableCreateOwn(handleTable5, rep);
|
|
12425
|
+
}
|
|
12426
|
+
return handle;
|
|
11868
12427
|
}
|
|
11869
|
-
|
|
11870
|
-
}
|
|
11871
|
-
,
|
|
11872
|
-
|
|
11873
|
-
|
|
11874
|
-
|
|
12428
|
+
,
|
|
12429
|
+
}), 8, 4, 4 ],
|
|
12430
|
+
[ 'err',
|
|
12431
|
+
_lowerFlatEnum({
|
|
12432
|
+
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],],
|
|
12433
|
+
variantSize32: 1,
|
|
12434
|
+
variantAlign32: 1,
|
|
12435
|
+
variantPayloadOffset32: 1,
|
|
12436
|
+
variantFlatCount: 1,
|
|
12437
|
+
})
|
|
12438
|
+
, 8, 4, 4 ],
|
|
12439
|
+
],
|
|
12440
|
+
variantSize32: 8,
|
|
12441
|
+
variantAlign32: 4,
|
|
12442
|
+
variantPayloadOffset32: 4,
|
|
12443
|
+
variantFlatCount: 2,
|
|
12444
|
+
})
|
|
11875
12445
|
],
|
|
11876
12446
|
hasResultPointer: true,
|
|
11877
12447
|
funcTypeIsAsync: false,
|
|
@@ -11892,26 +12462,41 @@ null,
|
|
|
11892
12462
|
isAsync: false,
|
|
11893
12463
|
isManualAsync: _trampoline20.manuallyAsync,
|
|
11894
12464
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11895
|
-
resultLowerFns: [
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
|
|
11902
|
-
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
|
|
12465
|
+
resultLowerFns: [
|
|
12466
|
+
_lowerFlatResult({
|
|
12467
|
+
caseMetas: [
|
|
12468
|
+
[ 'ok', _lowerFlatOwn({
|
|
12469
|
+
componentIdx: 0,
|
|
12470
|
+
lowerFn:
|
|
12471
|
+
function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
|
|
12472
|
+
if (!(obj instanceof DirectoryEntryStream)) {
|
|
12473
|
+
throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
|
|
12474
|
+
}
|
|
12475
|
+
let handle = obj[symbolRscHandle];
|
|
12476
|
+
if (!handle) {
|
|
12477
|
+
const rep = obj[symbolRscRep] || ++captureCnt5;
|
|
12478
|
+
captureTable5.set(rep, obj);
|
|
12479
|
+
handle = rscTableCreateOwn(handleTable5, rep);
|
|
12480
|
+
}
|
|
12481
|
+
return handle;
|
|
11908
12482
|
}
|
|
11909
|
-
|
|
11910
|
-
}
|
|
11911
|
-
,
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
12483
|
+
,
|
|
12484
|
+
}), 8, 4, 4 ],
|
|
12485
|
+
[ 'err',
|
|
12486
|
+
_lowerFlatEnum({
|
|
12487
|
+
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],],
|
|
12488
|
+
variantSize32: 1,
|
|
12489
|
+
variantAlign32: 1,
|
|
12490
|
+
variantPayloadOffset32: 1,
|
|
12491
|
+
variantFlatCount: 1,
|
|
12492
|
+
})
|
|
12493
|
+
, 8, 4, 4 ],
|
|
12494
|
+
],
|
|
12495
|
+
variantSize32: 8,
|
|
12496
|
+
variantAlign32: 4,
|
|
12497
|
+
variantPayloadOffset32: 4,
|
|
12498
|
+
variantFlatCount: 2,
|
|
12499
|
+
})
|
|
11915
12500
|
],
|
|
11916
12501
|
hasResultPointer: true,
|
|
11917
12502
|
funcTypeIsAsync: false,
|
|
@@ -11933,22 +12518,66 @@ null,
|
|
|
11933
12518
|
isAsync: false,
|
|
11934
12519
|
isManualAsync: _trampoline21.manuallyAsync,
|
|
11935
12520
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11936
|
-
resultLowerFns: [
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
12521
|
+
resultLowerFns: [
|
|
12522
|
+
_lowerFlatResult({
|
|
12523
|
+
caseMetas: [
|
|
12524
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12525
|
+
_lowerFlatEnum({
|
|
12526
|
+
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],],
|
|
12527
|
+
variantSize32: 1,
|
|
12528
|
+
variantAlign32: 1,
|
|
12529
|
+
variantPayloadOffset32: 1,
|
|
12530
|
+
variantFlatCount: 1,
|
|
12531
|
+
})
|
|
12532
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
12533
|
+
_lowerFlatOption({
|
|
12534
|
+
caseMetas: [
|
|
12535
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12536
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12537
|
+
],
|
|
12538
|
+
variantSize32: 24,
|
|
12539
|
+
variantAlign32: 8,
|
|
12540
|
+
variantPayloadOffset32: 8,
|
|
12541
|
+
variantFlatCount: 3,
|
|
12542
|
+
})
|
|
12543
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
12544
|
+
_lowerFlatOption({
|
|
12545
|
+
caseMetas: [
|
|
12546
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12547
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12548
|
+
],
|
|
12549
|
+
variantSize32: 24,
|
|
12550
|
+
variantAlign32: 8,
|
|
12551
|
+
variantPayloadOffset32: 8,
|
|
12552
|
+
variantFlatCount: 3,
|
|
12553
|
+
})
|
|
12554
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
12555
|
+
_lowerFlatOption({
|
|
12556
|
+
caseMetas: [
|
|
12557
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12558
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12559
|
+
],
|
|
12560
|
+
variantSize32: 24,
|
|
12561
|
+
variantAlign32: 8,
|
|
12562
|
+
variantPayloadOffset32: 8,
|
|
12563
|
+
variantFlatCount: 3,
|
|
12564
|
+
})
|
|
12565
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
12566
|
+
[ 'err',
|
|
12567
|
+
_lowerFlatEnum({
|
|
12568
|
+
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],],
|
|
12569
|
+
variantSize32: 1,
|
|
12570
|
+
variantAlign32: 1,
|
|
12571
|
+
variantPayloadOffset32: 1,
|
|
12572
|
+
variantFlatCount: 1,
|
|
12573
|
+
})
|
|
12574
|
+
, 104, 8, 8 ],
|
|
12575
|
+
],
|
|
12576
|
+
variantSize32: 104,
|
|
12577
|
+
variantAlign32: 8,
|
|
12578
|
+
variantPayloadOffset32: 8,
|
|
12579
|
+
variantFlatCount: 13,
|
|
12580
|
+
})
|
|
11952
12581
|
],
|
|
11953
12582
|
hasResultPointer: true,
|
|
11954
12583
|
funcTypeIsAsync: false,
|
|
@@ -11969,22 +12598,66 @@ null,
|
|
|
11969
12598
|
isAsync: false,
|
|
11970
12599
|
isManualAsync: _trampoline21.manuallyAsync,
|
|
11971
12600
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11972
|
-
resultLowerFns: [
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
12601
|
+
resultLowerFns: [
|
|
12602
|
+
_lowerFlatResult({
|
|
12603
|
+
caseMetas: [
|
|
12604
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12605
|
+
_lowerFlatEnum({
|
|
12606
|
+
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],],
|
|
12607
|
+
variantSize32: 1,
|
|
12608
|
+
variantAlign32: 1,
|
|
12609
|
+
variantPayloadOffset32: 1,
|
|
12610
|
+
variantFlatCount: 1,
|
|
12611
|
+
})
|
|
12612
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
12613
|
+
_lowerFlatOption({
|
|
12614
|
+
caseMetas: [
|
|
12615
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12616
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12617
|
+
],
|
|
12618
|
+
variantSize32: 24,
|
|
12619
|
+
variantAlign32: 8,
|
|
12620
|
+
variantPayloadOffset32: 8,
|
|
12621
|
+
variantFlatCount: 3,
|
|
12622
|
+
})
|
|
12623
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
12624
|
+
_lowerFlatOption({
|
|
12625
|
+
caseMetas: [
|
|
12626
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12627
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12628
|
+
],
|
|
12629
|
+
variantSize32: 24,
|
|
12630
|
+
variantAlign32: 8,
|
|
12631
|
+
variantPayloadOffset32: 8,
|
|
12632
|
+
variantFlatCount: 3,
|
|
12633
|
+
})
|
|
12634
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
12635
|
+
_lowerFlatOption({
|
|
12636
|
+
caseMetas: [
|
|
12637
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12638
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12639
|
+
],
|
|
12640
|
+
variantSize32: 24,
|
|
12641
|
+
variantAlign32: 8,
|
|
12642
|
+
variantPayloadOffset32: 8,
|
|
12643
|
+
variantFlatCount: 3,
|
|
12644
|
+
})
|
|
12645
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
12646
|
+
[ 'err',
|
|
12647
|
+
_lowerFlatEnum({
|
|
12648
|
+
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],],
|
|
12649
|
+
variantSize32: 1,
|
|
12650
|
+
variantAlign32: 1,
|
|
12651
|
+
variantPayloadOffset32: 1,
|
|
12652
|
+
variantFlatCount: 1,
|
|
12653
|
+
})
|
|
12654
|
+
, 104, 8, 8 ],
|
|
12655
|
+
],
|
|
12656
|
+
variantSize32: 104,
|
|
12657
|
+
variantAlign32: 8,
|
|
12658
|
+
variantPayloadOffset32: 8,
|
|
12659
|
+
variantFlatCount: 13,
|
|
12660
|
+
})
|
|
11988
12661
|
],
|
|
11989
12662
|
hasResultPointer: true,
|
|
11990
12663
|
funcTypeIsAsync: false,
|
|
@@ -12006,22 +12679,66 @@ null,
|
|
|
12006
12679
|
isAsync: false,
|
|
12007
12680
|
isManualAsync: _trampoline22.manuallyAsync,
|
|
12008
12681
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
12009
|
-
resultLowerFns: [
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12020
|
-
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
|
|
12024
|
-
|
|
12682
|
+
resultLowerFns: [
|
|
12683
|
+
_lowerFlatResult({
|
|
12684
|
+
caseMetas: [
|
|
12685
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12686
|
+
_lowerFlatEnum({
|
|
12687
|
+
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],],
|
|
12688
|
+
variantSize32: 1,
|
|
12689
|
+
variantAlign32: 1,
|
|
12690
|
+
variantPayloadOffset32: 1,
|
|
12691
|
+
variantFlatCount: 1,
|
|
12692
|
+
})
|
|
12693
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
12694
|
+
_lowerFlatOption({
|
|
12695
|
+
caseMetas: [
|
|
12696
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12697
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12698
|
+
],
|
|
12699
|
+
variantSize32: 24,
|
|
12700
|
+
variantAlign32: 8,
|
|
12701
|
+
variantPayloadOffset32: 8,
|
|
12702
|
+
variantFlatCount: 3,
|
|
12703
|
+
})
|
|
12704
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
12705
|
+
_lowerFlatOption({
|
|
12706
|
+
caseMetas: [
|
|
12707
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12708
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12709
|
+
],
|
|
12710
|
+
variantSize32: 24,
|
|
12711
|
+
variantAlign32: 8,
|
|
12712
|
+
variantPayloadOffset32: 8,
|
|
12713
|
+
variantFlatCount: 3,
|
|
12714
|
+
})
|
|
12715
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
12716
|
+
_lowerFlatOption({
|
|
12717
|
+
caseMetas: [
|
|
12718
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12719
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12720
|
+
],
|
|
12721
|
+
variantSize32: 24,
|
|
12722
|
+
variantAlign32: 8,
|
|
12723
|
+
variantPayloadOffset32: 8,
|
|
12724
|
+
variantFlatCount: 3,
|
|
12725
|
+
})
|
|
12726
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
12727
|
+
[ 'err',
|
|
12728
|
+
_lowerFlatEnum({
|
|
12729
|
+
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],],
|
|
12730
|
+
variantSize32: 1,
|
|
12731
|
+
variantAlign32: 1,
|
|
12732
|
+
variantPayloadOffset32: 1,
|
|
12733
|
+
variantFlatCount: 1,
|
|
12734
|
+
})
|
|
12735
|
+
, 104, 8, 8 ],
|
|
12736
|
+
],
|
|
12737
|
+
variantSize32: 104,
|
|
12738
|
+
variantAlign32: 8,
|
|
12739
|
+
variantPayloadOffset32: 8,
|
|
12740
|
+
variantFlatCount: 13,
|
|
12741
|
+
})
|
|
12025
12742
|
],
|
|
12026
12743
|
hasResultPointer: true,
|
|
12027
12744
|
funcTypeIsAsync: false,
|
|
@@ -12042,22 +12759,66 @@ null,
|
|
|
12042
12759
|
isAsync: false,
|
|
12043
12760
|
isManualAsync: _trampoline22.manuallyAsync,
|
|
12044
12761
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
12045
|
-
resultLowerFns: [
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12762
|
+
resultLowerFns: [
|
|
12763
|
+
_lowerFlatResult({
|
|
12764
|
+
caseMetas: [
|
|
12765
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12766
|
+
_lowerFlatEnum({
|
|
12767
|
+
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],],
|
|
12768
|
+
variantSize32: 1,
|
|
12769
|
+
variantAlign32: 1,
|
|
12770
|
+
variantPayloadOffset32: 1,
|
|
12771
|
+
variantFlatCount: 1,
|
|
12772
|
+
})
|
|
12773
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
12774
|
+
_lowerFlatOption({
|
|
12775
|
+
caseMetas: [
|
|
12776
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12777
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12778
|
+
],
|
|
12779
|
+
variantSize32: 24,
|
|
12780
|
+
variantAlign32: 8,
|
|
12781
|
+
variantPayloadOffset32: 8,
|
|
12782
|
+
variantFlatCount: 3,
|
|
12783
|
+
})
|
|
12784
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
12785
|
+
_lowerFlatOption({
|
|
12786
|
+
caseMetas: [
|
|
12787
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12788
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12789
|
+
],
|
|
12790
|
+
variantSize32: 24,
|
|
12791
|
+
variantAlign32: 8,
|
|
12792
|
+
variantPayloadOffset32: 8,
|
|
12793
|
+
variantFlatCount: 3,
|
|
12794
|
+
})
|
|
12795
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
12796
|
+
_lowerFlatOption({
|
|
12797
|
+
caseMetas: [
|
|
12798
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12799
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12800
|
+
],
|
|
12801
|
+
variantSize32: 24,
|
|
12802
|
+
variantAlign32: 8,
|
|
12803
|
+
variantPayloadOffset32: 8,
|
|
12804
|
+
variantFlatCount: 3,
|
|
12805
|
+
})
|
|
12806
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
12807
|
+
[ 'err',
|
|
12808
|
+
_lowerFlatEnum({
|
|
12809
|
+
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],],
|
|
12810
|
+
variantSize32: 1,
|
|
12811
|
+
variantAlign32: 1,
|
|
12812
|
+
variantPayloadOffset32: 1,
|
|
12813
|
+
variantFlatCount: 1,
|
|
12814
|
+
})
|
|
12815
|
+
, 104, 8, 8 ],
|
|
12816
|
+
],
|
|
12817
|
+
variantSize32: 104,
|
|
12818
|
+
variantAlign32: 8,
|
|
12819
|
+
variantPayloadOffset32: 8,
|
|
12820
|
+
variantFlatCount: 13,
|
|
12821
|
+
})
|
|
12061
12822
|
],
|
|
12062
12823
|
hasResultPointer: true,
|
|
12063
12824
|
funcTypeIsAsync: false,
|
|
@@ -12079,26 +12840,41 @@ null,
|
|
|
12079
12840
|
isAsync: false,
|
|
12080
12841
|
isManualAsync: _trampoline23.manuallyAsync,
|
|
12081
12842
|
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 })],
|
|
12082
|
-
resultLowerFns: [
|
|
12083
|
-
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12843
|
+
resultLowerFns: [
|
|
12844
|
+
_lowerFlatResult({
|
|
12845
|
+
caseMetas: [
|
|
12846
|
+
[ 'ok', _lowerFlatOwn({
|
|
12847
|
+
componentIdx: 0,
|
|
12848
|
+
lowerFn:
|
|
12849
|
+
function lowerImportedOwnedHost_Descriptor(obj) {
|
|
12850
|
+
if (!(obj instanceof Descriptor)) {
|
|
12851
|
+
throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
|
|
12852
|
+
}
|
|
12853
|
+
let handle = obj[symbolRscHandle];
|
|
12854
|
+
if (!handle) {
|
|
12855
|
+
const rep = obj[symbolRscRep] || ++captureCnt6;
|
|
12856
|
+
captureTable6.set(rep, obj);
|
|
12857
|
+
handle = rscTableCreateOwn(handleTable6, rep);
|
|
12858
|
+
}
|
|
12859
|
+
return handle;
|
|
12095
12860
|
}
|
|
12096
|
-
|
|
12097
|
-
}
|
|
12098
|
-
,
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12861
|
+
,
|
|
12862
|
+
}), 8, 4, 4 ],
|
|
12863
|
+
[ 'err',
|
|
12864
|
+
_lowerFlatEnum({
|
|
12865
|
+
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],],
|
|
12866
|
+
variantSize32: 1,
|
|
12867
|
+
variantAlign32: 1,
|
|
12868
|
+
variantPayloadOffset32: 1,
|
|
12869
|
+
variantFlatCount: 1,
|
|
12870
|
+
})
|
|
12871
|
+
, 8, 4, 4 ],
|
|
12872
|
+
],
|
|
12873
|
+
variantSize32: 8,
|
|
12874
|
+
variantAlign32: 4,
|
|
12875
|
+
variantPayloadOffset32: 4,
|
|
12876
|
+
variantFlatCount: 2,
|
|
12877
|
+
})
|
|
12102
12878
|
],
|
|
12103
12879
|
hasResultPointer: true,
|
|
12104
12880
|
funcTypeIsAsync: false,
|
|
@@ -12119,30 +12895,45 @@ null,
|
|
|
12119
12895
|
isAsync: false,
|
|
12120
12896
|
isManualAsync: _trampoline23.manuallyAsync,
|
|
12121
12897
|
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 })],
|
|
12122
|
-
resultLowerFns: [
|
|
12123
|
-
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12132
|
-
|
|
12133
|
-
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
|
-
|
|
12139
|
-
|
|
12140
|
-
|
|
12141
|
-
|
|
12142
|
-
|
|
12143
|
-
|
|
12144
|
-
|
|
12145
|
-
|
|
12898
|
+
resultLowerFns: [
|
|
12899
|
+
_lowerFlatResult({
|
|
12900
|
+
caseMetas: [
|
|
12901
|
+
[ 'ok', _lowerFlatOwn({
|
|
12902
|
+
componentIdx: 0,
|
|
12903
|
+
lowerFn:
|
|
12904
|
+
function lowerImportedOwnedHost_Descriptor(obj) {
|
|
12905
|
+
if (!(obj instanceof Descriptor)) {
|
|
12906
|
+
throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
|
|
12907
|
+
}
|
|
12908
|
+
let handle = obj[symbolRscHandle];
|
|
12909
|
+
if (!handle) {
|
|
12910
|
+
const rep = obj[symbolRscRep] || ++captureCnt6;
|
|
12911
|
+
captureTable6.set(rep, obj);
|
|
12912
|
+
handle = rscTableCreateOwn(handleTable6, rep);
|
|
12913
|
+
}
|
|
12914
|
+
return handle;
|
|
12915
|
+
}
|
|
12916
|
+
,
|
|
12917
|
+
}), 8, 4, 4 ],
|
|
12918
|
+
[ 'err',
|
|
12919
|
+
_lowerFlatEnum({
|
|
12920
|
+
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],],
|
|
12921
|
+
variantSize32: 1,
|
|
12922
|
+
variantAlign32: 1,
|
|
12923
|
+
variantPayloadOffset32: 1,
|
|
12924
|
+
variantFlatCount: 1,
|
|
12925
|
+
})
|
|
12926
|
+
, 8, 4, 4 ],
|
|
12927
|
+
],
|
|
12928
|
+
variantSize32: 8,
|
|
12929
|
+
variantAlign32: 4,
|
|
12930
|
+
variantPayloadOffset32: 4,
|
|
12931
|
+
variantFlatCount: 2,
|
|
12932
|
+
})
|
|
12933
|
+
],
|
|
12934
|
+
hasResultPointer: true,
|
|
12935
|
+
funcTypeIsAsync: false,
|
|
12936
|
+
getCallbackFn: () => null,
|
|
12146
12937
|
getPostReturnFn: () => null,
|
|
12147
12938
|
isCancellable: false,
|
|
12148
12939
|
memoryIdx: 0,
|
|
@@ -12160,14 +12951,44 @@ null,
|
|
|
12160
12951
|
isAsync: false,
|
|
12161
12952
|
isManualAsync: _trampoline24.manuallyAsync,
|
|
12162
12953
|
paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
|
|
12163
|
-
resultLowerFns: [
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12954
|
+
resultLowerFns: [
|
|
12955
|
+
_lowerFlatResult({
|
|
12956
|
+
caseMetas: [
|
|
12957
|
+
[ 'ok',
|
|
12958
|
+
_lowerFlatOption({
|
|
12959
|
+
caseMetas: [
|
|
12960
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12961
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12962
|
+
_lowerFlatEnum({
|
|
12963
|
+
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],],
|
|
12964
|
+
variantSize32: 1,
|
|
12965
|
+
variantAlign32: 1,
|
|
12966
|
+
variantPayloadOffset32: 1,
|
|
12967
|
+
variantFlatCount: 1,
|
|
12968
|
+
})
|
|
12969
|
+
, 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
|
|
12970
|
+
],
|
|
12971
|
+
variantSize32: 16,
|
|
12972
|
+
variantAlign32: 4,
|
|
12973
|
+
variantPayloadOffset32: 4,
|
|
12974
|
+
variantFlatCount: 4,
|
|
12975
|
+
})
|
|
12976
|
+
, 20, 4, 4 ],
|
|
12977
|
+
[ 'err',
|
|
12978
|
+
_lowerFlatEnum({
|
|
12979
|
+
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],],
|
|
12980
|
+
variantSize32: 1,
|
|
12981
|
+
variantAlign32: 1,
|
|
12982
|
+
variantPayloadOffset32: 1,
|
|
12983
|
+
variantFlatCount: 1,
|
|
12984
|
+
})
|
|
12985
|
+
, 20, 4, 4 ],
|
|
12986
|
+
],
|
|
12987
|
+
variantSize32: 20,
|
|
12988
|
+
variantAlign32: 4,
|
|
12989
|
+
variantPayloadOffset32: 4,
|
|
12990
|
+
variantFlatCount: 5,
|
|
12991
|
+
})
|
|
12171
12992
|
],
|
|
12172
12993
|
hasResultPointer: true,
|
|
12173
12994
|
funcTypeIsAsync: false,
|
|
@@ -12188,14 +13009,44 @@ null,
|
|
|
12188
13009
|
isAsync: false,
|
|
12189
13010
|
isManualAsync: _trampoline24.manuallyAsync,
|
|
12190
13011
|
paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
|
|
12191
|
-
resultLowerFns: [
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
|
|
12197
|
-
|
|
12198
|
-
|
|
13012
|
+
resultLowerFns: [
|
|
13013
|
+
_lowerFlatResult({
|
|
13014
|
+
caseMetas: [
|
|
13015
|
+
[ 'ok',
|
|
13016
|
+
_lowerFlatOption({
|
|
13017
|
+
caseMetas: [
|
|
13018
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13019
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['type',
|
|
13020
|
+
_lowerFlatEnum({
|
|
13021
|
+
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],],
|
|
13022
|
+
variantSize32: 1,
|
|
13023
|
+
variantAlign32: 1,
|
|
13024
|
+
variantPayloadOffset32: 1,
|
|
13025
|
+
variantFlatCount: 1,
|
|
13026
|
+
})
|
|
13027
|
+
, 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
|
|
13028
|
+
],
|
|
13029
|
+
variantSize32: 16,
|
|
13030
|
+
variantAlign32: 4,
|
|
13031
|
+
variantPayloadOffset32: 4,
|
|
13032
|
+
variantFlatCount: 4,
|
|
13033
|
+
})
|
|
13034
|
+
, 20, 4, 4 ],
|
|
13035
|
+
[ 'err',
|
|
13036
|
+
_lowerFlatEnum({
|
|
13037
|
+
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],],
|
|
13038
|
+
variantSize32: 1,
|
|
13039
|
+
variantAlign32: 1,
|
|
13040
|
+
variantPayloadOffset32: 1,
|
|
13041
|
+
variantFlatCount: 1,
|
|
13042
|
+
})
|
|
13043
|
+
, 20, 4, 4 ],
|
|
13044
|
+
],
|
|
13045
|
+
variantSize32: 20,
|
|
13046
|
+
variantAlign32: 4,
|
|
13047
|
+
variantPayloadOffset32: 4,
|
|
13048
|
+
variantFlatCount: 5,
|
|
13049
|
+
})
|
|
12199
13050
|
],
|
|
12200
13051
|
hasResultPointer: true,
|
|
12201
13052
|
funcTypeIsAsync: false,
|
|
@@ -12217,30 +13068,43 @@ null,
|
|
|
12217
13068
|
isAsync: false,
|
|
12218
13069
|
isManualAsync: _trampoline25.manuallyAsync,
|
|
12219
13070
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
12220
|
-
resultLowerFns: [
|
|
12221
|
-
|
|
12222
|
-
|
|
12223
|
-
|
|
12224
|
-
|
|
12225
|
-
|
|
12226
|
-
|
|
12227
|
-
|
|
12228
|
-
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
|
|
12232
|
-
|
|
12233
|
-
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
|
|
12237
|
-
|
|
12238
|
-
|
|
12239
|
-
|
|
12240
|
-
|
|
12241
|
-
|
|
12242
|
-
|
|
12243
|
-
|
|
13071
|
+
resultLowerFns: [
|
|
13072
|
+
_lowerFlatResult({
|
|
13073
|
+
caseMetas: [
|
|
13074
|
+
[ 'ok', _lowerFlatList({
|
|
13075
|
+
elemLowerFn: _lowerFlatU8,
|
|
13076
|
+
elemSize32: 1,
|
|
13077
|
+
elemAlign32: 1,
|
|
13078
|
+
}), 12, 4, 4 ],
|
|
13079
|
+
[ 'err', _lowerFlatVariant({
|
|
13080
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13081
|
+
componentIdx: 0,
|
|
13082
|
+
lowerFn:
|
|
13083
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13084
|
+
if (!(obj instanceof Error$1)) {
|
|
13085
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13086
|
+
}
|
|
13087
|
+
let handle = obj[symbolRscHandle];
|
|
13088
|
+
if (!handle) {
|
|
13089
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13090
|
+
captureTable0.set(rep, obj);
|
|
13091
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13092
|
+
}
|
|
13093
|
+
return handle;
|
|
13094
|
+
}
|
|
13095
|
+
,
|
|
13096
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13097
|
+
variantSize32: 8,
|
|
13098
|
+
variantAlign32: 4,
|
|
13099
|
+
variantPayloadOffset32: 4,
|
|
13100
|
+
variantFlatCount: 2,
|
|
13101
|
+
} ), 12, 4, 4 ],
|
|
13102
|
+
],
|
|
13103
|
+
variantSize32: 12,
|
|
13104
|
+
variantAlign32: 4,
|
|
13105
|
+
variantPayloadOffset32: 4,
|
|
13106
|
+
variantFlatCount: 3,
|
|
13107
|
+
})
|
|
12244
13108
|
],
|
|
12245
13109
|
hasResultPointer: true,
|
|
12246
13110
|
funcTypeIsAsync: false,
|
|
@@ -12261,30 +13125,43 @@ null,
|
|
|
12261
13125
|
isAsync: false,
|
|
12262
13126
|
isManualAsync: _trampoline25.manuallyAsync,
|
|
12263
13127
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
12264
|
-
resultLowerFns: [
|
|
12265
|
-
|
|
12266
|
-
|
|
12267
|
-
|
|
12268
|
-
|
|
12269
|
-
|
|
12270
|
-
|
|
12271
|
-
|
|
12272
|
-
|
|
12273
|
-
|
|
12274
|
-
|
|
12275
|
-
|
|
12276
|
-
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12285
|
-
|
|
12286
|
-
|
|
12287
|
-
|
|
13128
|
+
resultLowerFns: [
|
|
13129
|
+
_lowerFlatResult({
|
|
13130
|
+
caseMetas: [
|
|
13131
|
+
[ 'ok', _lowerFlatList({
|
|
13132
|
+
elemLowerFn: _lowerFlatU8,
|
|
13133
|
+
elemSize32: 1,
|
|
13134
|
+
elemAlign32: 1,
|
|
13135
|
+
}), 12, 4, 4 ],
|
|
13136
|
+
[ 'err', _lowerFlatVariant({
|
|
13137
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13138
|
+
componentIdx: 0,
|
|
13139
|
+
lowerFn:
|
|
13140
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13141
|
+
if (!(obj instanceof Error$1)) {
|
|
13142
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13143
|
+
}
|
|
13144
|
+
let handle = obj[symbolRscHandle];
|
|
13145
|
+
if (!handle) {
|
|
13146
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13147
|
+
captureTable0.set(rep, obj);
|
|
13148
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13149
|
+
}
|
|
13150
|
+
return handle;
|
|
13151
|
+
}
|
|
13152
|
+
,
|
|
13153
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13154
|
+
variantSize32: 8,
|
|
13155
|
+
variantAlign32: 4,
|
|
13156
|
+
variantPayloadOffset32: 4,
|
|
13157
|
+
variantFlatCount: 2,
|
|
13158
|
+
} ), 12, 4, 4 ],
|
|
13159
|
+
],
|
|
13160
|
+
variantSize32: 12,
|
|
13161
|
+
variantAlign32: 4,
|
|
13162
|
+
variantPayloadOffset32: 4,
|
|
13163
|
+
variantFlatCount: 3,
|
|
13164
|
+
})
|
|
12288
13165
|
],
|
|
12289
13166
|
hasResultPointer: true,
|
|
12290
13167
|
funcTypeIsAsync: false,
|
|
@@ -12306,30 +13183,43 @@ null,
|
|
|
12306
13183
|
isAsync: false,
|
|
12307
13184
|
isManualAsync: _trampoline26.manuallyAsync,
|
|
12308
13185
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
12309
|
-
resultLowerFns: [
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
|
-
|
|
12313
|
-
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
|
|
12319
|
-
|
|
12320
|
-
|
|
12321
|
-
|
|
12322
|
-
|
|
12323
|
-
|
|
12324
|
-
|
|
12325
|
-
|
|
12326
|
-
|
|
12327
|
-
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
|
|
12331
|
-
|
|
12332
|
-
|
|
13186
|
+
resultLowerFns: [
|
|
13187
|
+
_lowerFlatResult({
|
|
13188
|
+
caseMetas: [
|
|
13189
|
+
[ 'ok', _lowerFlatList({
|
|
13190
|
+
elemLowerFn: _lowerFlatU8,
|
|
13191
|
+
elemSize32: 1,
|
|
13192
|
+
elemAlign32: 1,
|
|
13193
|
+
}), 12, 4, 4 ],
|
|
13194
|
+
[ 'err', _lowerFlatVariant({
|
|
13195
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13196
|
+
componentIdx: 0,
|
|
13197
|
+
lowerFn:
|
|
13198
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13199
|
+
if (!(obj instanceof Error$1)) {
|
|
13200
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13201
|
+
}
|
|
13202
|
+
let handle = obj[symbolRscHandle];
|
|
13203
|
+
if (!handle) {
|
|
13204
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13205
|
+
captureTable0.set(rep, obj);
|
|
13206
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13207
|
+
}
|
|
13208
|
+
return handle;
|
|
13209
|
+
}
|
|
13210
|
+
,
|
|
13211
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13212
|
+
variantSize32: 8,
|
|
13213
|
+
variantAlign32: 4,
|
|
13214
|
+
variantPayloadOffset32: 4,
|
|
13215
|
+
variantFlatCount: 2,
|
|
13216
|
+
} ), 12, 4, 4 ],
|
|
13217
|
+
],
|
|
13218
|
+
variantSize32: 12,
|
|
13219
|
+
variantAlign32: 4,
|
|
13220
|
+
variantPayloadOffset32: 4,
|
|
13221
|
+
variantFlatCount: 3,
|
|
13222
|
+
})
|
|
12333
13223
|
],
|
|
12334
13224
|
hasResultPointer: true,
|
|
12335
13225
|
funcTypeIsAsync: false,
|
|
@@ -12350,30 +13240,43 @@ null,
|
|
|
12350
13240
|
isAsync: false,
|
|
12351
13241
|
isManualAsync: _trampoline26.manuallyAsync,
|
|
12352
13242
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
12353
|
-
resultLowerFns: [
|
|
12354
|
-
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
|
|
12375
|
-
|
|
12376
|
-
|
|
13243
|
+
resultLowerFns: [
|
|
13244
|
+
_lowerFlatResult({
|
|
13245
|
+
caseMetas: [
|
|
13246
|
+
[ 'ok', _lowerFlatList({
|
|
13247
|
+
elemLowerFn: _lowerFlatU8,
|
|
13248
|
+
elemSize32: 1,
|
|
13249
|
+
elemAlign32: 1,
|
|
13250
|
+
}), 12, 4, 4 ],
|
|
13251
|
+
[ 'err', _lowerFlatVariant({
|
|
13252
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13253
|
+
componentIdx: 0,
|
|
13254
|
+
lowerFn:
|
|
13255
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13256
|
+
if (!(obj instanceof Error$1)) {
|
|
13257
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13258
|
+
}
|
|
13259
|
+
let handle = obj[symbolRscHandle];
|
|
13260
|
+
if (!handle) {
|
|
13261
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13262
|
+
captureTable0.set(rep, obj);
|
|
13263
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13264
|
+
}
|
|
13265
|
+
return handle;
|
|
13266
|
+
}
|
|
13267
|
+
,
|
|
13268
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13269
|
+
variantSize32: 8,
|
|
13270
|
+
variantAlign32: 4,
|
|
13271
|
+
variantPayloadOffset32: 4,
|
|
13272
|
+
variantFlatCount: 2,
|
|
13273
|
+
} ), 12, 4, 4 ],
|
|
13274
|
+
],
|
|
13275
|
+
variantSize32: 12,
|
|
13276
|
+
variantAlign32: 4,
|
|
13277
|
+
variantPayloadOffset32: 4,
|
|
13278
|
+
variantFlatCount: 3,
|
|
13279
|
+
})
|
|
12377
13280
|
],
|
|
12378
13281
|
hasResultPointer: true,
|
|
12379
13282
|
funcTypeIsAsync: false,
|
|
@@ -12395,26 +13298,39 @@ null,
|
|
|
12395
13298
|
isAsync: false,
|
|
12396
13299
|
isManualAsync: _trampoline27.manuallyAsync,
|
|
12397
13300
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
12398
|
-
resultLowerFns: [
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
|
|
12403
|
-
|
|
12404
|
-
|
|
12405
|
-
|
|
12406
|
-
|
|
12407
|
-
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
13301
|
+
resultLowerFns: [
|
|
13302
|
+
_lowerFlatResult({
|
|
13303
|
+
caseMetas: [
|
|
13304
|
+
[ 'ok', _lowerFlatU64, 16, 8, 8 ],
|
|
13305
|
+
[ 'err', _lowerFlatVariant({
|
|
13306
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13307
|
+
componentIdx: 0,
|
|
13308
|
+
lowerFn:
|
|
13309
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13310
|
+
if (!(obj instanceof Error$1)) {
|
|
13311
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13312
|
+
}
|
|
13313
|
+
let handle = obj[symbolRscHandle];
|
|
13314
|
+
if (!handle) {
|
|
13315
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13316
|
+
captureTable0.set(rep, obj);
|
|
13317
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13318
|
+
}
|
|
13319
|
+
return handle;
|
|
13320
|
+
}
|
|
13321
|
+
,
|
|
13322
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13323
|
+
variantSize32: 8,
|
|
13324
|
+
variantAlign32: 4,
|
|
13325
|
+
variantPayloadOffset32: 4,
|
|
13326
|
+
variantFlatCount: 2,
|
|
13327
|
+
} ), 16, 8, 8 ],
|
|
13328
|
+
],
|
|
13329
|
+
variantSize32: 16,
|
|
13330
|
+
variantAlign32: 8,
|
|
13331
|
+
variantPayloadOffset32: 8,
|
|
13332
|
+
variantFlatCount: 3,
|
|
13333
|
+
})
|
|
12418
13334
|
],
|
|
12419
13335
|
hasResultPointer: true,
|
|
12420
13336
|
funcTypeIsAsync: false,
|
|
@@ -12435,26 +13351,39 @@ null,
|
|
|
12435
13351
|
isAsync: false,
|
|
12436
13352
|
isManualAsync: _trampoline27.manuallyAsync,
|
|
12437
13353
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
12438
|
-
resultLowerFns: [
|
|
12439
|
-
|
|
12440
|
-
|
|
12441
|
-
|
|
12442
|
-
|
|
12443
|
-
|
|
12444
|
-
|
|
12445
|
-
|
|
12446
|
-
|
|
12447
|
-
|
|
12448
|
-
|
|
12449
|
-
|
|
12450
|
-
|
|
12451
|
-
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
|
|
12455
|
-
|
|
12456
|
-
|
|
12457
|
-
|
|
13354
|
+
resultLowerFns: [
|
|
13355
|
+
_lowerFlatResult({
|
|
13356
|
+
caseMetas: [
|
|
13357
|
+
[ 'ok', _lowerFlatU64, 16, 8, 8 ],
|
|
13358
|
+
[ 'err', _lowerFlatVariant({
|
|
13359
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13360
|
+
componentIdx: 0,
|
|
13361
|
+
lowerFn:
|
|
13362
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13363
|
+
if (!(obj instanceof Error$1)) {
|
|
13364
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13365
|
+
}
|
|
13366
|
+
let handle = obj[symbolRscHandle];
|
|
13367
|
+
if (!handle) {
|
|
13368
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13369
|
+
captureTable0.set(rep, obj);
|
|
13370
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13371
|
+
}
|
|
13372
|
+
return handle;
|
|
13373
|
+
}
|
|
13374
|
+
,
|
|
13375
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13376
|
+
variantSize32: 8,
|
|
13377
|
+
variantAlign32: 4,
|
|
13378
|
+
variantPayloadOffset32: 4,
|
|
13379
|
+
variantFlatCount: 2,
|
|
13380
|
+
} ), 16, 8, 8 ],
|
|
13381
|
+
],
|
|
13382
|
+
variantSize32: 16,
|
|
13383
|
+
variantAlign32: 8,
|
|
13384
|
+
variantPayloadOffset32: 8,
|
|
13385
|
+
variantFlatCount: 3,
|
|
13386
|
+
})
|
|
12458
13387
|
],
|
|
12459
13388
|
hasResultPointer: true,
|
|
12460
13389
|
funcTypeIsAsync: false,
|
|
@@ -12481,26 +13410,39 @@ null,
|
|
|
12481
13410
|
elemSize32: 1,
|
|
12482
13411
|
typedArray: Uint8Array,
|
|
12483
13412
|
})],
|
|
12484
|
-
resultLowerFns: [
|
|
12485
|
-
|
|
12486
|
-
|
|
12487
|
-
|
|
12488
|
-
|
|
12489
|
-
|
|
12490
|
-
|
|
12491
|
-
|
|
12492
|
-
|
|
12493
|
-
|
|
12494
|
-
|
|
12495
|
-
|
|
12496
|
-
|
|
12497
|
-
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
|
|
12501
|
-
|
|
12502
|
-
|
|
12503
|
-
|
|
13413
|
+
resultLowerFns: [
|
|
13414
|
+
_lowerFlatResult({
|
|
13415
|
+
caseMetas: [
|
|
13416
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
13417
|
+
[ 'err', _lowerFlatVariant({
|
|
13418
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13419
|
+
componentIdx: 0,
|
|
13420
|
+
lowerFn:
|
|
13421
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13422
|
+
if (!(obj instanceof Error$1)) {
|
|
13423
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13424
|
+
}
|
|
13425
|
+
let handle = obj[symbolRscHandle];
|
|
13426
|
+
if (!handle) {
|
|
13427
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13428
|
+
captureTable0.set(rep, obj);
|
|
13429
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13430
|
+
}
|
|
13431
|
+
return handle;
|
|
13432
|
+
}
|
|
13433
|
+
,
|
|
13434
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13435
|
+
variantSize32: 8,
|
|
13436
|
+
variantAlign32: 4,
|
|
13437
|
+
variantPayloadOffset32: 4,
|
|
13438
|
+
variantFlatCount: 2,
|
|
13439
|
+
} ), 12, 4, 4 ],
|
|
13440
|
+
],
|
|
13441
|
+
variantSize32: 12,
|
|
13442
|
+
variantAlign32: 4,
|
|
13443
|
+
variantPayloadOffset32: 4,
|
|
13444
|
+
variantFlatCount: 3,
|
|
13445
|
+
})
|
|
12504
13446
|
],
|
|
12505
13447
|
hasResultPointer: true,
|
|
12506
13448
|
funcTypeIsAsync: false,
|
|
@@ -12526,26 +13468,39 @@ null,
|
|
|
12526
13468
|
elemSize32: 1,
|
|
12527
13469
|
typedArray: Uint8Array,
|
|
12528
13470
|
})],
|
|
12529
|
-
resultLowerFns: [
|
|
12530
|
-
|
|
12531
|
-
|
|
12532
|
-
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
12536
|
-
|
|
12537
|
-
|
|
12538
|
-
|
|
12539
|
-
|
|
12540
|
-
|
|
12541
|
-
|
|
12542
|
-
|
|
12543
|
-
|
|
12544
|
-
|
|
12545
|
-
|
|
12546
|
-
|
|
12547
|
-
|
|
12548
|
-
|
|
13471
|
+
resultLowerFns: [
|
|
13472
|
+
_lowerFlatResult({
|
|
13473
|
+
caseMetas: [
|
|
13474
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
13475
|
+
[ 'err', _lowerFlatVariant({
|
|
13476
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13477
|
+
componentIdx: 0,
|
|
13478
|
+
lowerFn:
|
|
13479
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13480
|
+
if (!(obj instanceof Error$1)) {
|
|
13481
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13482
|
+
}
|
|
13483
|
+
let handle = obj[symbolRscHandle];
|
|
13484
|
+
if (!handle) {
|
|
13485
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13486
|
+
captureTable0.set(rep, obj);
|
|
13487
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13488
|
+
}
|
|
13489
|
+
return handle;
|
|
13490
|
+
}
|
|
13491
|
+
,
|
|
13492
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13493
|
+
variantSize32: 8,
|
|
13494
|
+
variantAlign32: 4,
|
|
13495
|
+
variantPayloadOffset32: 4,
|
|
13496
|
+
variantFlatCount: 2,
|
|
13497
|
+
} ), 12, 4, 4 ],
|
|
13498
|
+
],
|
|
13499
|
+
variantSize32: 12,
|
|
13500
|
+
variantAlign32: 4,
|
|
13501
|
+
variantPayloadOffset32: 4,
|
|
13502
|
+
variantFlatCount: 3,
|
|
13503
|
+
})
|
|
12549
13504
|
],
|
|
12550
13505
|
hasResultPointer: true,
|
|
12551
13506
|
funcTypeIsAsync: false,
|
|
@@ -12572,26 +13527,39 @@ null,
|
|
|
12572
13527
|
elemSize32: 1,
|
|
12573
13528
|
typedArray: Uint8Array,
|
|
12574
13529
|
})],
|
|
12575
|
-
resultLowerFns: [
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
|
|
12579
|
-
|
|
12580
|
-
|
|
12581
|
-
|
|
12582
|
-
|
|
12583
|
-
|
|
12584
|
-
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
|
|
12592
|
-
|
|
12593
|
-
|
|
12594
|
-
|
|
13530
|
+
resultLowerFns: [
|
|
13531
|
+
_lowerFlatResult({
|
|
13532
|
+
caseMetas: [
|
|
13533
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
13534
|
+
[ 'err', _lowerFlatVariant({
|
|
13535
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13536
|
+
componentIdx: 0,
|
|
13537
|
+
lowerFn:
|
|
13538
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13539
|
+
if (!(obj instanceof Error$1)) {
|
|
13540
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13541
|
+
}
|
|
13542
|
+
let handle = obj[symbolRscHandle];
|
|
13543
|
+
if (!handle) {
|
|
13544
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13545
|
+
captureTable0.set(rep, obj);
|
|
13546
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13547
|
+
}
|
|
13548
|
+
return handle;
|
|
13549
|
+
}
|
|
13550
|
+
,
|
|
13551
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13552
|
+
variantSize32: 8,
|
|
13553
|
+
variantAlign32: 4,
|
|
13554
|
+
variantPayloadOffset32: 4,
|
|
13555
|
+
variantFlatCount: 2,
|
|
13556
|
+
} ), 12, 4, 4 ],
|
|
13557
|
+
],
|
|
13558
|
+
variantSize32: 12,
|
|
13559
|
+
variantAlign32: 4,
|
|
13560
|
+
variantPayloadOffset32: 4,
|
|
13561
|
+
variantFlatCount: 3,
|
|
13562
|
+
})
|
|
12595
13563
|
],
|
|
12596
13564
|
hasResultPointer: true,
|
|
12597
13565
|
funcTypeIsAsync: false,
|
|
@@ -12617,26 +13585,39 @@ null,
|
|
|
12617
13585
|
elemSize32: 1,
|
|
12618
13586
|
typedArray: Uint8Array,
|
|
12619
13587
|
})],
|
|
12620
|
-
resultLowerFns: [
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
13588
|
+
resultLowerFns: [
|
|
13589
|
+
_lowerFlatResult({
|
|
13590
|
+
caseMetas: [
|
|
13591
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
13592
|
+
[ 'err', _lowerFlatVariant({
|
|
13593
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13594
|
+
componentIdx: 0,
|
|
13595
|
+
lowerFn:
|
|
13596
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13597
|
+
if (!(obj instanceof Error$1)) {
|
|
13598
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13599
|
+
}
|
|
13600
|
+
let handle = obj[symbolRscHandle];
|
|
13601
|
+
if (!handle) {
|
|
13602
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13603
|
+
captureTable0.set(rep, obj);
|
|
13604
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13605
|
+
}
|
|
13606
|
+
return handle;
|
|
13607
|
+
}
|
|
13608
|
+
,
|
|
13609
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13610
|
+
variantSize32: 8,
|
|
13611
|
+
variantAlign32: 4,
|
|
13612
|
+
variantPayloadOffset32: 4,
|
|
13613
|
+
variantFlatCount: 2,
|
|
13614
|
+
} ), 12, 4, 4 ],
|
|
13615
|
+
],
|
|
13616
|
+
variantSize32: 12,
|
|
13617
|
+
variantAlign32: 4,
|
|
13618
|
+
variantPayloadOffset32: 4,
|
|
13619
|
+
variantFlatCount: 3,
|
|
13620
|
+
})
|
|
12640
13621
|
],
|
|
12641
13622
|
hasResultPointer: true,
|
|
12642
13623
|
funcTypeIsAsync: false,
|
|
@@ -12658,26 +13639,39 @@ null,
|
|
|
12658
13639
|
isAsync: false,
|
|
12659
13640
|
isManualAsync: _trampoline30.manuallyAsync,
|
|
12660
13641
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
12661
|
-
resultLowerFns: [
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
|
|
12673
|
-
|
|
12674
|
-
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
|
-
|
|
13642
|
+
resultLowerFns: [
|
|
13643
|
+
_lowerFlatResult({
|
|
13644
|
+
caseMetas: [
|
|
13645
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
13646
|
+
[ 'err', _lowerFlatVariant({
|
|
13647
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13648
|
+
componentIdx: 0,
|
|
13649
|
+
lowerFn:
|
|
13650
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13651
|
+
if (!(obj instanceof Error$1)) {
|
|
13652
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13653
|
+
}
|
|
13654
|
+
let handle = obj[symbolRscHandle];
|
|
13655
|
+
if (!handle) {
|
|
13656
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13657
|
+
captureTable0.set(rep, obj);
|
|
13658
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13659
|
+
}
|
|
13660
|
+
return handle;
|
|
13661
|
+
}
|
|
13662
|
+
,
|
|
13663
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13664
|
+
variantSize32: 8,
|
|
13665
|
+
variantAlign32: 4,
|
|
13666
|
+
variantPayloadOffset32: 4,
|
|
13667
|
+
variantFlatCount: 2,
|
|
13668
|
+
} ), 12, 4, 4 ],
|
|
13669
|
+
],
|
|
13670
|
+
variantSize32: 12,
|
|
13671
|
+
variantAlign32: 4,
|
|
13672
|
+
variantPayloadOffset32: 4,
|
|
13673
|
+
variantFlatCount: 3,
|
|
13674
|
+
})
|
|
12681
13675
|
],
|
|
12682
13676
|
hasResultPointer: true,
|
|
12683
13677
|
funcTypeIsAsync: false,
|
|
@@ -12698,26 +13692,39 @@ null,
|
|
|
12698
13692
|
isAsync: false,
|
|
12699
13693
|
isManualAsync: _trampoline30.manuallyAsync,
|
|
12700
13694
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
12701
|
-
resultLowerFns: [
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
|
|
12705
|
-
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
|
|
12715
|
-
|
|
12716
|
-
|
|
12717
|
-
|
|
12718
|
-
|
|
12719
|
-
|
|
12720
|
-
|
|
13695
|
+
resultLowerFns: [
|
|
13696
|
+
_lowerFlatResult({
|
|
13697
|
+
caseMetas: [
|
|
13698
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
13699
|
+
[ 'err', _lowerFlatVariant({
|
|
13700
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
13701
|
+
componentIdx: 0,
|
|
13702
|
+
lowerFn:
|
|
13703
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
13704
|
+
if (!(obj instanceof Error$1)) {
|
|
13705
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
13706
|
+
}
|
|
13707
|
+
let handle = obj[symbolRscHandle];
|
|
13708
|
+
if (!handle) {
|
|
13709
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
13710
|
+
captureTable0.set(rep, obj);
|
|
13711
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
13712
|
+
}
|
|
13713
|
+
return handle;
|
|
13714
|
+
}
|
|
13715
|
+
,
|
|
13716
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
13717
|
+
variantSize32: 8,
|
|
13718
|
+
variantAlign32: 4,
|
|
13719
|
+
variantPayloadOffset32: 4,
|
|
13720
|
+
variantFlatCount: 2,
|
|
13721
|
+
} ), 12, 4, 4 ],
|
|
13722
|
+
],
|
|
13723
|
+
variantSize32: 12,
|
|
13724
|
+
variantAlign32: 4,
|
|
13725
|
+
variantPayloadOffset32: 4,
|
|
13726
|
+
variantFlatCount: 3,
|
|
13727
|
+
})
|
|
12721
13728
|
],
|
|
12722
13729
|
hasResultPointer: true,
|
|
12723
13730
|
funcTypeIsAsync: false,
|
|
@@ -12869,26 +13876,33 @@ null,
|
|
|
12869
13876
|
isAsync: false,
|
|
12870
13877
|
isManualAsync: _trampoline33.manuallyAsync,
|
|
12871
13878
|
paramLiftFns: [],
|
|
12872
|
-
resultLowerFns: [
|
|
12873
|
-
|
|
12874
|
-
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
|
|
12882
|
-
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
|
|
13879
|
+
resultLowerFns: [
|
|
13880
|
+
_lowerFlatOption({
|
|
13881
|
+
caseMetas: [
|
|
13882
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13883
|
+
[ 'some', _lowerFlatOwn({
|
|
13884
|
+
componentIdx: 0,
|
|
13885
|
+
lowerFn:
|
|
13886
|
+
function lowerImportedOwnedHost_TerminalInput(obj) {
|
|
13887
|
+
if (!(obj instanceof TerminalInput)) {
|
|
13888
|
+
throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
|
|
13889
|
+
}
|
|
13890
|
+
let handle = obj[symbolRscHandle];
|
|
13891
|
+
if (!handle) {
|
|
13892
|
+
const rep = obj[symbolRscRep] || ++captureCnt3;
|
|
13893
|
+
captureTable3.set(rep, obj);
|
|
13894
|
+
handle = rscTableCreateOwn(handleTable3, rep);
|
|
13895
|
+
}
|
|
13896
|
+
return handle;
|
|
12886
13897
|
}
|
|
12887
|
-
|
|
12888
|
-
}
|
|
12889
|
-
,
|
|
12890
|
-
|
|
12891
|
-
|
|
13898
|
+
,
|
|
13899
|
+
}), 4, 4, 1],
|
|
13900
|
+
],
|
|
13901
|
+
variantSize32: 8,
|
|
13902
|
+
variantAlign32: 4,
|
|
13903
|
+
variantPayloadOffset32: 4,
|
|
13904
|
+
variantFlatCount: 2,
|
|
13905
|
+
})
|
|
12892
13906
|
],
|
|
12893
13907
|
hasResultPointer: true,
|
|
12894
13908
|
funcTypeIsAsync: false,
|
|
@@ -12909,26 +13923,33 @@ null,
|
|
|
12909
13923
|
isAsync: false,
|
|
12910
13924
|
isManualAsync: _trampoline33.manuallyAsync,
|
|
12911
13925
|
paramLiftFns: [],
|
|
12912
|
-
resultLowerFns: [
|
|
12913
|
-
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
|
|
12920
|
-
|
|
12921
|
-
|
|
12922
|
-
|
|
12923
|
-
|
|
12924
|
-
|
|
12925
|
-
|
|
13926
|
+
resultLowerFns: [
|
|
13927
|
+
_lowerFlatOption({
|
|
13928
|
+
caseMetas: [
|
|
13929
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13930
|
+
[ 'some', _lowerFlatOwn({
|
|
13931
|
+
componentIdx: 0,
|
|
13932
|
+
lowerFn:
|
|
13933
|
+
function lowerImportedOwnedHost_TerminalInput(obj) {
|
|
13934
|
+
if (!(obj instanceof TerminalInput)) {
|
|
13935
|
+
throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
|
|
13936
|
+
}
|
|
13937
|
+
let handle = obj[symbolRscHandle];
|
|
13938
|
+
if (!handle) {
|
|
13939
|
+
const rep = obj[symbolRscRep] || ++captureCnt3;
|
|
13940
|
+
captureTable3.set(rep, obj);
|
|
13941
|
+
handle = rscTableCreateOwn(handleTable3, rep);
|
|
13942
|
+
}
|
|
13943
|
+
return handle;
|
|
12926
13944
|
}
|
|
12927
|
-
|
|
12928
|
-
}
|
|
12929
|
-
,
|
|
12930
|
-
|
|
12931
|
-
|
|
13945
|
+
,
|
|
13946
|
+
}), 4, 4, 1],
|
|
13947
|
+
],
|
|
13948
|
+
variantSize32: 8,
|
|
13949
|
+
variantAlign32: 4,
|
|
13950
|
+
variantPayloadOffset32: 4,
|
|
13951
|
+
variantFlatCount: 2,
|
|
13952
|
+
})
|
|
12932
13953
|
],
|
|
12933
13954
|
hasResultPointer: true,
|
|
12934
13955
|
funcTypeIsAsync: false,
|
|
@@ -12950,26 +13971,33 @@ null,
|
|
|
12950
13971
|
isAsync: false,
|
|
12951
13972
|
isManualAsync: _trampoline34.manuallyAsync,
|
|
12952
13973
|
paramLiftFns: [],
|
|
12953
|
-
resultLowerFns: [
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
|
|
12966
|
-
|
|
13974
|
+
resultLowerFns: [
|
|
13975
|
+
_lowerFlatOption({
|
|
13976
|
+
caseMetas: [
|
|
13977
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13978
|
+
[ 'some', _lowerFlatOwn({
|
|
13979
|
+
componentIdx: 0,
|
|
13980
|
+
lowerFn:
|
|
13981
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13982
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13983
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13984
|
+
}
|
|
13985
|
+
let handle = obj[symbolRscHandle];
|
|
13986
|
+
if (!handle) {
|
|
13987
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13988
|
+
captureTable4.set(rep, obj);
|
|
13989
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13990
|
+
}
|
|
13991
|
+
return handle;
|
|
12967
13992
|
}
|
|
12968
|
-
|
|
12969
|
-
}
|
|
12970
|
-
,
|
|
12971
|
-
|
|
12972
|
-
|
|
13993
|
+
,
|
|
13994
|
+
}), 4, 4, 1],
|
|
13995
|
+
],
|
|
13996
|
+
variantSize32: 8,
|
|
13997
|
+
variantAlign32: 4,
|
|
13998
|
+
variantPayloadOffset32: 4,
|
|
13999
|
+
variantFlatCount: 2,
|
|
14000
|
+
})
|
|
12973
14001
|
],
|
|
12974
14002
|
hasResultPointer: true,
|
|
12975
14003
|
funcTypeIsAsync: false,
|
|
@@ -12990,26 +14018,33 @@ null,
|
|
|
12990
14018
|
isAsync: false,
|
|
12991
14019
|
isManualAsync: _trampoline34.manuallyAsync,
|
|
12992
14020
|
paramLiftFns: [],
|
|
12993
|
-
resultLowerFns: [
|
|
12994
|
-
|
|
12995
|
-
|
|
12996
|
-
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
|
|
13000
|
-
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
|
|
13005
|
-
|
|
13006
|
-
|
|
14021
|
+
resultLowerFns: [
|
|
14022
|
+
_lowerFlatOption({
|
|
14023
|
+
caseMetas: [
|
|
14024
|
+
[ 'none', null, 0, 0, 0 ],
|
|
14025
|
+
[ 'some', _lowerFlatOwn({
|
|
14026
|
+
componentIdx: 0,
|
|
14027
|
+
lowerFn:
|
|
14028
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
14029
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
14030
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
14031
|
+
}
|
|
14032
|
+
let handle = obj[symbolRscHandle];
|
|
14033
|
+
if (!handle) {
|
|
14034
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
14035
|
+
captureTable4.set(rep, obj);
|
|
14036
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
14037
|
+
}
|
|
14038
|
+
return handle;
|
|
13007
14039
|
}
|
|
13008
|
-
|
|
13009
|
-
}
|
|
13010
|
-
,
|
|
13011
|
-
|
|
13012
|
-
|
|
14040
|
+
,
|
|
14041
|
+
}), 4, 4, 1],
|
|
14042
|
+
],
|
|
14043
|
+
variantSize32: 8,
|
|
14044
|
+
variantAlign32: 4,
|
|
14045
|
+
variantPayloadOffset32: 4,
|
|
14046
|
+
variantFlatCount: 2,
|
|
14047
|
+
})
|
|
13013
14048
|
],
|
|
13014
14049
|
hasResultPointer: true,
|
|
13015
14050
|
funcTypeIsAsync: false,
|
|
@@ -13031,26 +14066,33 @@ null,
|
|
|
13031
14066
|
isAsync: false,
|
|
13032
14067
|
isManualAsync: _trampoline35.manuallyAsync,
|
|
13033
14068
|
paramLiftFns: [],
|
|
13034
|
-
resultLowerFns: [
|
|
13035
|
-
|
|
13036
|
-
|
|
13037
|
-
|
|
13038
|
-
|
|
13039
|
-
|
|
13040
|
-
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
|
|
13044
|
-
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
|
|
14069
|
+
resultLowerFns: [
|
|
14070
|
+
_lowerFlatOption({
|
|
14071
|
+
caseMetas: [
|
|
14072
|
+
[ 'none', null, 0, 0, 0 ],
|
|
14073
|
+
[ 'some', _lowerFlatOwn({
|
|
14074
|
+
componentIdx: 0,
|
|
14075
|
+
lowerFn:
|
|
14076
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
14077
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
14078
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
14079
|
+
}
|
|
14080
|
+
let handle = obj[symbolRscHandle];
|
|
14081
|
+
if (!handle) {
|
|
14082
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
14083
|
+
captureTable4.set(rep, obj);
|
|
14084
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
14085
|
+
}
|
|
14086
|
+
return handle;
|
|
13048
14087
|
}
|
|
13049
|
-
|
|
13050
|
-
}
|
|
13051
|
-
,
|
|
13052
|
-
|
|
13053
|
-
|
|
14088
|
+
,
|
|
14089
|
+
}), 4, 4, 1],
|
|
14090
|
+
],
|
|
14091
|
+
variantSize32: 8,
|
|
14092
|
+
variantAlign32: 4,
|
|
14093
|
+
variantPayloadOffset32: 4,
|
|
14094
|
+
variantFlatCount: 2,
|
|
14095
|
+
})
|
|
13054
14096
|
],
|
|
13055
14097
|
hasResultPointer: true,
|
|
13056
14098
|
funcTypeIsAsync: false,
|
|
@@ -13071,26 +14113,33 @@ null,
|
|
|
13071
14113
|
isAsync: false,
|
|
13072
14114
|
isManualAsync: _trampoline35.manuallyAsync,
|
|
13073
14115
|
paramLiftFns: [],
|
|
13074
|
-
resultLowerFns: [
|
|
13075
|
-
|
|
13076
|
-
|
|
13077
|
-
|
|
13078
|
-
|
|
13079
|
-
|
|
13080
|
-
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13085
|
-
|
|
13086
|
-
|
|
13087
|
-
|
|
14116
|
+
resultLowerFns: [
|
|
14117
|
+
_lowerFlatOption({
|
|
14118
|
+
caseMetas: [
|
|
14119
|
+
[ 'none', null, 0, 0, 0 ],
|
|
14120
|
+
[ 'some', _lowerFlatOwn({
|
|
14121
|
+
componentIdx: 0,
|
|
14122
|
+
lowerFn:
|
|
14123
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
14124
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
14125
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
14126
|
+
}
|
|
14127
|
+
let handle = obj[symbolRscHandle];
|
|
14128
|
+
if (!handle) {
|
|
14129
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
14130
|
+
captureTable4.set(rep, obj);
|
|
14131
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
14132
|
+
}
|
|
14133
|
+
return handle;
|
|
13088
14134
|
}
|
|
13089
|
-
|
|
13090
|
-
}
|
|
13091
|
-
,
|
|
13092
|
-
|
|
13093
|
-
|
|
14135
|
+
,
|
|
14136
|
+
}), 4, 4, 1],
|
|
14137
|
+
],
|
|
14138
|
+
variantSize32: 8,
|
|
14139
|
+
variantAlign32: 4,
|
|
14140
|
+
variantPayloadOffset32: 4,
|
|
14141
|
+
variantFlatCount: 2,
|
|
14142
|
+
})
|
|
13094
14143
|
],
|
|
13095
14144
|
hasResultPointer: true,
|
|
13096
14145
|
funcTypeIsAsync: false,
|
|
@@ -13110,8 +14159,8 @@ export const $init = (() => {
|
|
|
13110
14159
|
let gen = (function* _initGenerator () {
|
|
13111
14160
|
const module0 = fetchCompile(new URL('./wasm-tools.core.wasm', import.meta.url));
|
|
13112
14161
|
const module1 = fetchCompile(new URL('./wasm-tools.core2.wasm', import.meta.url));
|
|
13113
|
-
const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+
|
|
13114
|
-
const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+
|
|
14162
|
+
const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNTEuMA');
|
|
14163
|
+
const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjUxLjA');
|
|
13115
14164
|
({ exports: exports0 } = yield instantiateCore(yield module2));
|
|
13116
14165
|
({ exports: exports1 } = yield instantiateCore(yield module0, {
|
|
13117
14166
|
wasi_snapshot_preview1: {
|