@bytecodealliance/jco 1.22.0 → 1.23.1
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 +1774 -886
- package/obj/wasm-tools.core.wasm +0 -0
- package/obj/wasm-tools.js +1774 -886
- package/package.json +1 -1
- package/src/jco.js +1 -1
|
@@ -174,8 +174,13 @@ const GLOBAL_COMPONENT_MEMORY_MAP = new Map();
|
|
|
174
174
|
const CURRENT_TASK_META = {};
|
|
175
175
|
|
|
176
176
|
function _getGlobalCurrentTaskMeta(componentIdx) {
|
|
177
|
+
if (componentIdx === null || componentIdx === undefined) {
|
|
178
|
+
throw new Error("missing/invalid component idx");
|
|
179
|
+
}
|
|
177
180
|
const v = CURRENT_TASK_META[componentIdx];
|
|
178
|
-
if (v === undefined || v === null) {
|
|
181
|
+
if (v === undefined || v === null) {
|
|
182
|
+
return undefined;
|
|
183
|
+
}
|
|
179
184
|
return { ...v };
|
|
180
185
|
}
|
|
181
186
|
|
|
@@ -242,7 +247,7 @@ async function _clearCurrentTask(args) {
|
|
|
242
247
|
const { taskID, componentIdx } = args;
|
|
243
248
|
|
|
244
249
|
const meta = CURRENT_TASK_META[componentIdx];
|
|
245
|
-
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}]`); }
|
|
246
251
|
|
|
247
252
|
if (meta.taskID !== taskID) {
|
|
248
253
|
throw new Error(`task ID [${meta.taskID}] != requested ID [${taskID}]`);
|
|
@@ -1332,142 +1337,66 @@ class Waitable {
|
|
|
1332
1337
|
|
|
1333
1338
|
const ERR_CTX_TABLES = {};
|
|
1334
1339
|
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
const converted = BigInt(val)
|
|
1340
|
-
|
|
1341
|
-
return BigInt.asUintN(64, converted);
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
function toUint32(val) {
|
|
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"); }
|
|
1346
1344
|
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
const utf16Decoder = new TextDecoder('utf-16');
|
|
1351
|
-
const TEXT_DECODER_UTF8 = new TextDecoder();
|
|
1352
|
-
const TEXT_ENCODER_UTF8 = new TextEncoder();
|
|
1353
|
-
|
|
1354
|
-
function _utf8AllocateAndEncode(s, realloc, memory) {
|
|
1355
|
-
if (typeof s !== 'string') {
|
|
1356
|
-
throw new TypeError('expected a string, received [' + typeof s + ']');
|
|
1357
|
-
}
|
|
1358
|
-
if (s.length === 0) { return { ptr: 1, len: 0 }; }
|
|
1359
|
-
let buf = TEXT_ENCODER_UTF8.encode(s);
|
|
1360
|
-
let ptr = realloc(0, 0, 1, buf.length);
|
|
1361
|
-
new Uint8Array(memory.buffer).set(buf, ptr);
|
|
1362
|
-
const res = { ptr, len: buf.length, codepoints: [...s].length };
|
|
1363
|
-
return res;
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
const T_FLAG = 1 << 30;
|
|
1368
|
-
|
|
1369
|
-
function rscTableCreateOwn(table, rep) {
|
|
1370
|
-
const free = table[0] & ~T_FLAG;
|
|
1371
|
-
table._createdReps.add(rep);
|
|
1372
|
-
if (free === 0) {
|
|
1373
|
-
table.push(0);
|
|
1374
|
-
table.push(rep | T_FLAG);
|
|
1375
|
-
return (table.length >> 1) - 1;
|
|
1376
|
-
}
|
|
1377
|
-
table[0] = table[free << 1];
|
|
1378
|
-
table[free << 1] = 0;
|
|
1379
|
-
table[(free << 1) + 1] = rep | T_FLAG;
|
|
1380
|
-
return free;
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
function rscTableRemove(table, handle) {
|
|
1384
|
-
const scope = table[handle << 1];
|
|
1385
|
-
const val = table[(handle << 1) + 1];
|
|
1386
|
-
const own = (val & T_FLAG) !== 0;
|
|
1387
|
-
const rep = val & ~T_FLAG;
|
|
1388
|
-
if (val === 0 || (scope & T_FLAG) !== 0) {
|
|
1389
|
-
throw new TypeError("Invalid handle");
|
|
1390
|
-
}
|
|
1391
|
-
table[handle << 1] = table[0] | T_FLAG;
|
|
1392
|
-
table[0] = handle | T_FLAG;
|
|
1393
|
-
return { rep, scope, own };
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
let curResourceBorrows = [];
|
|
1397
|
-
|
|
1398
|
-
function getCurrentTask(componentIdx, taskID) {
|
|
1399
|
-
let usedGlobal = false;
|
|
1400
|
-
if (componentIdx === undefined || componentIdx === null) {
|
|
1401
|
-
throw new Error('missing component idx'); // TODO(fix)
|
|
1402
|
-
// componentIdx = ASYNC_CURRENT_COMPONENT_IDXS.at(-1);
|
|
1403
|
-
// 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`);
|
|
1404
1348
|
}
|
|
1349
|
+
const taskID = currentTaskMeta.taskID;
|
|
1405
1350
|
|
|
1406
|
-
const
|
|
1407
|
-
if (
|
|
1351
|
+
const taskMeta = getCurrentTask(componentIdx, taskID);
|
|
1352
|
+
if (!taskMeta) { throw new Error('failed to retrieve current task'); }
|
|
1408
1353
|
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1354
|
+
let task = taskMeta.task;
|
|
1355
|
+
if (!task) { throw new Error('invalid/missing current task in metadata while getting context'); }
|
|
1356
|
+
|
|
1357
|
+
_debugLog('[contextGet()] args', {
|
|
1358
|
+
slot,
|
|
1359
|
+
storage: task.storage,
|
|
1360
|
+
taskID: task.id(),
|
|
1361
|
+
componentIdx: task.componentIdx(),
|
|
1362
|
+
});
|
|
1412
1363
|
|
|
1413
|
-
|
|
1414
|
-
if (!taskMeta || !taskMeta.task) { return undefined; }
|
|
1364
|
+
if (slot < 0 || slot >= task.storage.length) { throw new Error('invalid slot for current task'); }
|
|
1415
1365
|
|
|
1416
|
-
return
|
|
1366
|
+
return task.storage[slot];
|
|
1417
1367
|
}
|
|
1418
1368
|
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
const {
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
entryFnName,
|
|
1426
|
-
parentSubtaskID,
|
|
1427
|
-
callbackFnName,
|
|
1428
|
-
getCallbackFn,
|
|
1429
|
-
getParamsFn,
|
|
1430
|
-
stringEncoding,
|
|
1431
|
-
errHandling,
|
|
1432
|
-
getCalleeParamsFn,
|
|
1433
|
-
resultPtr,
|
|
1434
|
-
callingWasmExport,
|
|
1435
|
-
} = args;
|
|
1436
|
-
if (componentIdx === undefined || componentIdx === null) {
|
|
1437
|
-
throw new Error('missing/invalid component instance index while starting task');
|
|
1438
|
-
}
|
|
1439
|
-
let taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
|
|
1440
|
-
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)'); }
|
|
1441
1375
|
|
|
1442
|
-
const
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
callbackFn,
|
|
1448
|
-
callbackFnName,
|
|
1449
|
-
stringEncoding,
|
|
1450
|
-
getCalleeParamsFn,
|
|
1451
|
-
resultPtr,
|
|
1452
|
-
errHandling,
|
|
1453
|
-
});
|
|
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;
|
|
1454
1381
|
|
|
1455
|
-
const
|
|
1456
|
-
|
|
1382
|
+
const taskMeta = getCurrentTask(componentIdx, taskID);
|
|
1383
|
+
if (!taskMeta) { throw new Error('failed to retrieve current task'); }
|
|
1457
1384
|
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
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'); }
|
|
1461
1387
|
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1388
|
+
_debugLog('[contextSet()] args', {
|
|
1389
|
+
slot,
|
|
1390
|
+
value,
|
|
1391
|
+
storage: task.storage,
|
|
1392
|
+
taskID: task.id(),
|
|
1393
|
+
componentIdx: task.componentIdx(),
|
|
1394
|
+
});
|
|
1468
1395
|
|
|
1469
|
-
|
|
1396
|
+
if (slot < 0 || slot >= task.storage.length) { throw new Error('invalid slot for current task'); }
|
|
1397
|
+
task.storage[slot] = value;
|
|
1470
1398
|
}
|
|
1399
|
+
|
|
1471
1400
|
const ASYNC_TASKS_BY_COMPONENT_IDX = new Map();
|
|
1472
1401
|
|
|
1473
1402
|
class AsyncTask {
|
|
@@ -2158,6 +2087,153 @@ class Waitable {
|
|
|
2158
2087
|
}
|
|
2159
2088
|
}
|
|
2160
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
|
+
|
|
2161
2237
|
function _lowerImportBackwardsCompat(args) {
|
|
2162
2238
|
const params = [...arguments].slice(1);
|
|
2163
2239
|
_debugLog('[_lowerImportBackwardsCompat()] args', { args, params });
|
|
@@ -2476,6 +2552,38 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2476
2552
|
}
|
|
2477
2553
|
|
|
2478
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
|
+
|
|
2479
2587
|
function _liftFlatStringAny(ctx) {
|
|
2480
2588
|
switch (ctx.stringEncoding) {
|
|
2481
2589
|
case 'utf8':
|
|
@@ -2493,8 +2601,9 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2493
2601
|
|
|
2494
2602
|
if (ctx.useDirectParams) {
|
|
2495
2603
|
if (ctx.params.length < 2) { throw new Error('expected at least two u32 arguments'); }
|
|
2496
|
-
|
|
2497
|
-
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'); }
|
|
2498
2607
|
const len = ctx.params[1];
|
|
2499
2608
|
if (!Number.isSafeInteger(len)) { throw new Error('invalid len'); }
|
|
2500
2609
|
val = TEXT_DECODER_UTF8.decode(new DataView(ctx.memory.buffer, offset, len));
|
|
@@ -2524,6 +2633,7 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2524
2633
|
if (ctx.useDirectParams) {
|
|
2525
2634
|
if (ctx.params.length < 2) { throw new Error('expected at least two u32 arguments'); }
|
|
2526
2635
|
const offset = ctx.params[0];
|
|
2636
|
+
if (typeof offset === 'bigint') { offset = Number(offset); }
|
|
2527
2637
|
if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
|
|
2528
2638
|
const len = ctx.params[1];
|
|
2529
2639
|
if (!Number.isSafeInteger(len)) { throw new Error('invalid len'); }
|
|
@@ -2542,17 +2652,30 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2542
2652
|
return [val, ctx];
|
|
2543
2653
|
}
|
|
2544
2654
|
|
|
2545
|
-
function _liftFlatVariant(
|
|
2655
|
+
function _liftFlatVariant(meta) {
|
|
2656
|
+
const {
|
|
2657
|
+
caseMetas,
|
|
2658
|
+
variantSize32,
|
|
2659
|
+
variantAlign32,
|
|
2660
|
+
variantPayloadOffset32,
|
|
2661
|
+
variantFlatCount,
|
|
2662
|
+
isEnum,
|
|
2663
|
+
} = meta;
|
|
2664
|
+
|
|
2546
2665
|
return function _liftFlatVariantInner(ctx) {
|
|
2547
2666
|
_debugLog('[_liftFlatVariant()] args', { ctx });
|
|
2548
|
-
|
|
2549
2667
|
const origUseParams = ctx.useDirectParams;
|
|
2550
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
|
+
|
|
2551
2674
|
let caseIdx;
|
|
2552
2675
|
let liftRes;
|
|
2553
2676
|
const originalPtr = ctx.storagePtr;
|
|
2554
|
-
const numCases =
|
|
2555
|
-
if (
|
|
2677
|
+
const numCases = caseMetas.length;
|
|
2678
|
+
if (caseMetas.length < 256) {
|
|
2556
2679
|
liftRes = _liftFlatU8(ctx);
|
|
2557
2680
|
} else if (numCases >= 256 && numCases < 65536) {
|
|
2558
2681
|
liftRes = _liftFlatU16(ctx);
|
|
@@ -2564,11 +2687,20 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2564
2687
|
caseIdx = liftRes[0];
|
|
2565
2688
|
ctx = liftRes[1];
|
|
2566
2689
|
|
|
2567
|
-
const [
|
|
2568
|
-
|
|
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
|
+
}
|
|
2569
2701
|
|
|
2570
2702
|
if (originalPtr !== undefined) {
|
|
2571
|
-
ctx.storagePtr = originalPtr +
|
|
2703
|
+
ctx.storagePtr = originalPtr + variantPayloadOffset32;
|
|
2572
2704
|
}
|
|
2573
2705
|
|
|
2574
2706
|
let val;
|
|
@@ -2577,28 +2709,32 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2577
2709
|
// NOTE: here we need to move past the entire object in memory
|
|
2578
2710
|
// despite moving to the payload which we now know is missing/unnecessary
|
|
2579
2711
|
if (originalPtr !== undefined) {
|
|
2580
|
-
ctx.storagePtr = originalPtr +
|
|
2712
|
+
ctx.storagePtr = originalPtr + variantSize32;
|
|
2581
2713
|
}
|
|
2582
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
|
+
|
|
2583
2722
|
const [newVal, newCtx] = liftFn(ctx);
|
|
2584
2723
|
val = { tag, val: newVal };
|
|
2585
2724
|
ctx = newCtx;
|
|
2586
|
-
|
|
2587
|
-
// NOTE: Padding can be left over after doing the lift if it was less than
|
|
2588
|
-
// space left for the payload normally.
|
|
2589
|
-
if (originalPtr !== undefined) {
|
|
2590
|
-
ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + size32);
|
|
2591
|
-
}
|
|
2592
2725
|
}
|
|
2593
2726
|
|
|
2594
2727
|
if (origUseParams) {
|
|
2595
|
-
if (
|
|
2596
|
-
|
|
2597
|
-
}
|
|
2598
|
-
if (caseFlatCount === null || variantFlatCount === null) {
|
|
2728
|
+
if (variantFlatCount === undefined || variantFlatCount === null) {
|
|
2729
|
+
_debugLog('[_liftFlatVariant()] variant with unknown flat count', { ctx, meta });
|
|
2599
2730
|
throw new Error('cannot lift variant with unknown flat count');
|
|
2600
2731
|
}
|
|
2601
|
-
|
|
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);
|
|
2602
2738
|
if (remainingPayloadParams < 0) {
|
|
2603
2739
|
throw new Error(`invalid variant flat count metadata`);
|
|
2604
2740
|
}
|
|
@@ -2609,10 +2745,12 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2609
2745
|
}
|
|
2610
2746
|
|
|
2611
2747
|
if (ctx.storagePtr !== undefined) {
|
|
2612
|
-
const rem = ctx.storagePtr %
|
|
2613
|
-
if (rem !== 0) { ctx.storagePtr +=
|
|
2748
|
+
const rem = ctx.storagePtr % variantAlign32;
|
|
2749
|
+
if (rem !== 0) { ctx.storagePtr += variantAlign32 - rem; }
|
|
2614
2750
|
}
|
|
2615
2751
|
|
|
2752
|
+
ctx.inVariant = wasInVariant;
|
|
2753
|
+
|
|
2616
2754
|
return [val, ctx];
|
|
2617
2755
|
}
|
|
2618
2756
|
}
|
|
@@ -2625,7 +2763,7 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2625
2763
|
? values => values
|
|
2626
2764
|
: values => new typedArray(values);
|
|
2627
2765
|
|
|
2628
|
-
const readValuesAndReset = (ctx, originalPtr, dataPtr, len) => {
|
|
2766
|
+
const readValuesAndReset = (ctx, originalPtr, originalLen, dataPtr, len) => {
|
|
2629
2767
|
ctx.storagePtr = dataPtr;
|
|
2630
2768
|
const val = [];
|
|
2631
2769
|
for (var i = 0; i < len; i++) {
|
|
@@ -2638,6 +2776,7 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2638
2776
|
ctx.storagePtr = Math.max(ctx.storagePtr, elemPtr + elemSize32);
|
|
2639
2777
|
}
|
|
2640
2778
|
if (originalPtr !== null) { ctx.storagePtr = originalPtr; }
|
|
2779
|
+
if (originalLen !== null) { ctx.storageLen = originalLen; }
|
|
2641
2780
|
return [listValue(val), ctx];
|
|
2642
2781
|
};
|
|
2643
2782
|
|
|
@@ -2647,42 +2786,20 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2647
2786
|
let liftResults;
|
|
2648
2787
|
if (knownLen !== undefined) { // list with known length
|
|
2649
2788
|
if (ctx.useDirectParams) {
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
// a fixed length list (or other value) is being passed only
|
|
2654
|
-
// via parameters to the function.
|
|
2655
|
-
//
|
|
2656
|
-
// Normally, we would expect to use the direct parameters as a
|
|
2657
|
-
// memory location + size, but in this case, *all* values are being passed directly,
|
|
2658
|
-
// via params.
|
|
2659
|
-
//
|
|
2660
|
-
_debugLog('memory unexpectedly missing while lifting unknown length list', { ctx });
|
|
2661
|
-
liftResults = [listValue(ctx.params.slice(0, knownLen)), ctx];
|
|
2662
|
-
ctx.params = ctx.params.slice(knownLen);
|
|
2663
|
-
} else {
|
|
2664
|
-
// in-memory list with unknown length w/ direct params
|
|
2665
|
-
const dataPtr = ctx.params[0];
|
|
2666
|
-
ctx.params = ctx.params.slice(1);
|
|
2667
|
-
|
|
2668
|
-
ctx.useDirectParams = false;
|
|
2669
|
-
const originalPtr = ctx.storagePtr;
|
|
2670
|
-
ctx.storageLen = knownLen * elemSize32;
|
|
2671
|
-
|
|
2672
|
-
liftResults = readValuesAndReset(ctx, originalPtr, dataPtr, knownLen);
|
|
2673
|
-
|
|
2674
|
-
ctx.useDirectParams = true;
|
|
2675
|
-
ctx.storagePtr = undefined;
|
|
2676
|
-
ctx.storageLen = undefined;
|
|
2677
|
-
}
|
|
2789
|
+
_debugLog('memory unexpectedly missing while lifting unknown length list', { ctx });
|
|
2790
|
+
liftResults = [listValue(ctx.params.slice(0, knownLen)), ctx];
|
|
2791
|
+
ctx.params = ctx.params.slice(knownLen);
|
|
2678
2792
|
} else { // indirect params
|
|
2679
2793
|
if (ctx.memory === null) {
|
|
2680
2794
|
_debugLog('memory unexpectedly missing while lifting known length list', { knownLen, ctx });
|
|
2681
2795
|
throw new Error(`memory missing while lifting known length (${knownLen}) list`);
|
|
2682
2796
|
}
|
|
2683
2797
|
|
|
2798
|
+
const originalLen = ctx.storageLen;
|
|
2799
|
+
const originalPtr = ctx.storagePtr;
|
|
2800
|
+
|
|
2684
2801
|
ctx.storageLen = knownLen * elemSize32;
|
|
2685
|
-
liftResults = readValuesAndReset(ctx, null, ctx.storagePtr, knownLen);
|
|
2802
|
+
liftResults = readValuesAndReset(ctx, null, originalLen, ctx.storagePtr, knownLen);
|
|
2686
2803
|
}
|
|
2687
2804
|
|
|
2688
2805
|
} else { // unknown length list
|
|
@@ -2695,16 +2812,15 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2695
2812
|
|
|
2696
2813
|
ctx.useDirectParams = false;
|
|
2697
2814
|
const originalPtr = ctx.storagePtr;
|
|
2815
|
+
const originalLen = ctx.storageLen;
|
|
2698
2816
|
ctx.storageLen = len * elemSize32;
|
|
2699
2817
|
|
|
2700
|
-
liftResults = readValuesAndReset(ctx, originalPtr, dataPtr, len);
|
|
2818
|
+
liftResults = readValuesAndReset(ctx, originalPtr, originalLen, dataPtr, len);
|
|
2701
2819
|
|
|
2702
2820
|
ctx.useDirectParams = true;
|
|
2703
|
-
ctx.storagePtr = undefined;
|
|
2704
|
-
ctx.storageLen = undefined;
|
|
2705
|
-
|
|
2706
2821
|
} else {
|
|
2707
2822
|
// unknown length list ptr w/ in-memory params
|
|
2823
|
+
const originalLen = ctx.storageLen;
|
|
2708
2824
|
ctx.storageLen = 8;
|
|
2709
2825
|
|
|
2710
2826
|
const dataPtrLiftRes = _liftFlatU32(ctx);
|
|
@@ -2719,7 +2835,7 @@ function _lowerImportBackwardsCompat(args) {
|
|
|
2719
2835
|
ctx.storagePtr = dataPtr;
|
|
2720
2836
|
|
|
2721
2837
|
ctx.storageLen = len * elemSize32;
|
|
2722
|
-
liftResults = readValuesAndReset(ctx, originalPtr, dataPtr, len);
|
|
2838
|
+
liftResults = readValuesAndReset(ctx, originalPtr, originalLen, dataPtr, len);
|
|
2723
2839
|
}
|
|
2724
2840
|
}
|
|
2725
2841
|
|
|
@@ -2765,10 +2881,11 @@ function _liftFlatFlags(meta) {
|
|
|
2765
2881
|
}
|
|
2766
2882
|
}
|
|
2767
2883
|
|
|
2768
|
-
function _liftFlatResult(
|
|
2884
|
+
function _liftFlatResult(meta) {
|
|
2885
|
+
const f = _liftFlatVariant(meta);
|
|
2769
2886
|
return function _liftFlatResultInner(ctx) {
|
|
2770
2887
|
_debugLog('[_liftFlatResult()] args', { ctx });
|
|
2771
|
-
return
|
|
2888
|
+
return f(ctx);
|
|
2772
2889
|
}
|
|
2773
2890
|
}
|
|
2774
2891
|
|
|
@@ -2915,9 +3032,11 @@ function _lowerFlatRecord(meta) {
|
|
|
2915
3032
|
}
|
|
2916
3033
|
}
|
|
2917
3034
|
|
|
2918
|
-
function _lowerFlatVariant(
|
|
3035
|
+
function _lowerFlatVariant(meta) {
|
|
3036
|
+
const { variantSize32, variantAlign32, variantPayloadOffset32, caseMetas } = meta;
|
|
3037
|
+
|
|
2919
3038
|
let caseLookup = {};
|
|
2920
|
-
for (const [idx, meta] of
|
|
3039
|
+
for (const [idx, meta] of caseMetas.entries()) {
|
|
2921
3040
|
let tag = meta[0];
|
|
2922
3041
|
caseLookup[tag] = { discriminant: idx, meta };
|
|
2923
3042
|
}
|
|
@@ -2931,30 +3050,30 @@ function _lowerFlatVariant(lowerMetas) {
|
|
|
2931
3050
|
throw new Error(`missing tag [${tag}] (valid tags: ${Object.keys(caseLookup)})`);
|
|
2932
3051
|
}
|
|
2933
3052
|
|
|
2934
|
-
const [ _tag, lowerFn,
|
|
3053
|
+
const [ _tag, lowerFn, caseSize32, caseAlign32, caseFlatCount ] = variantCase.meta;
|
|
2935
3054
|
|
|
2936
3055
|
const originalPtr = ctx.storagePtr;
|
|
2937
3056
|
ctx.vals = [variantCase.discriminant];
|
|
2938
3057
|
let discLowerRes;
|
|
2939
|
-
if (
|
|
3058
|
+
if (caseMetas.length < 256) {
|
|
2940
3059
|
discLowerRes = _lowerFlatU8(ctx);
|
|
2941
|
-
} else if (
|
|
3060
|
+
} else if (caseMetas.length >= 256 && caseMetas.length < 65536) {
|
|
2942
3061
|
discLowerRes = _lowerFlatU16(ctx);
|
|
2943
|
-
} else if (
|
|
3062
|
+
} else if (caseMetas.length >= 65536 && caseMetas.length < 4_294_967_296) {
|
|
2944
3063
|
discLowerRes = _lowerFlatU32(ctx);
|
|
2945
3064
|
} else {
|
|
2946
|
-
throw new Error(`unsupported number of cases [${
|
|
3065
|
+
throw new Error(`unsupported number of cases [${caseMetas.length}]`);
|
|
2947
3066
|
}
|
|
2948
3067
|
|
|
2949
|
-
const payloadOffsetPtr = originalPtr +
|
|
3068
|
+
const payloadOffsetPtr = originalPtr + variantPayloadOffset32;
|
|
2950
3069
|
ctx.storagePtr = payloadOffsetPtr;
|
|
2951
3070
|
ctx.vals = [val];
|
|
2952
3071
|
if (lowerFn) { lowerFn(ctx); }
|
|
2953
3072
|
|
|
2954
|
-
ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr +
|
|
3073
|
+
ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + variantSize32);
|
|
2955
3074
|
|
|
2956
|
-
const rem = ctx.storagePtr %
|
|
2957
|
-
if (rem !== 0) { ctx.storagePtr +=
|
|
3075
|
+
const rem = ctx.storagePtr % variantAlign32;
|
|
3076
|
+
if (rem !== 0) { ctx.storagePtr += varianttAlign32 - rem; }
|
|
2958
3077
|
}
|
|
2959
3078
|
}
|
|
2960
3079
|
|
|
@@ -3117,7 +3236,8 @@ function _lowerFlatFlags(meta) {
|
|
|
3117
3236
|
}
|
|
3118
3237
|
}
|
|
3119
3238
|
|
|
3120
|
-
function _lowerFlatEnum(
|
|
3239
|
+
function _lowerFlatEnum(meta) {
|
|
3240
|
+
const f = _lowerFlatVariant(meta);
|
|
3121
3241
|
return function _lowerFlatEnumInner(ctx) {
|
|
3122
3242
|
_debugLog('[_lowerFlatEnum()] args', { ctx });
|
|
3123
3243
|
|
|
@@ -3129,11 +3249,12 @@ function _lowerFlatEnum(lowerMetas) {
|
|
|
3129
3249
|
ctx.vals[0] = { tag: v };
|
|
3130
3250
|
}
|
|
3131
3251
|
|
|
3132
|
-
|
|
3252
|
+
f(ctx);
|
|
3133
3253
|
}
|
|
3134
3254
|
}
|
|
3135
3255
|
|
|
3136
|
-
function _lowerFlatOption(
|
|
3256
|
+
function _lowerFlatOption(meta) {
|
|
3257
|
+
const f = _lowerFlatVariant(meta);
|
|
3137
3258
|
return function _lowerFlatOptionInner(ctx) {
|
|
3138
3259
|
_debugLog('[_lowerFlatOption()] args', { ctx });
|
|
3139
3260
|
|
|
@@ -3151,13 +3272,14 @@ function _lowerFlatOption(lowerMetas) {
|
|
|
3151
3272
|
}
|
|
3152
3273
|
}
|
|
3153
3274
|
|
|
3154
|
-
|
|
3275
|
+
f(ctx);
|
|
3155
3276
|
}
|
|
3156
3277
|
}
|
|
3157
3278
|
|
|
3158
|
-
function _lowerFlatResult(
|
|
3279
|
+
function _lowerFlatResult(meta) {
|
|
3280
|
+
const f = _lowerFlatVariant(meta);
|
|
3159
3281
|
return function _lowerFlatResultInner(ctx) {
|
|
3160
|
-
_debugLog('[_lowerFlatResult()] args', {
|
|
3282
|
+
_debugLog('[_lowerFlatResult()] args', { ctx });
|
|
3161
3283
|
|
|
3162
3284
|
const v = ctx.vals[0];
|
|
3163
3285
|
const isNotResultObject = typeof v !== 'object'
|
|
@@ -3169,7 +3291,7 @@ function _lowerFlatResult(lowerMetas) {
|
|
|
3169
3291
|
ctx.vals[0] = { tag: 'ok', val: v };
|
|
3170
3292
|
}
|
|
3171
3293
|
|
|
3172
|
-
|
|
3294
|
+
f(ctx);
|
|
3173
3295
|
};
|
|
3174
3296
|
}
|
|
3175
3297
|
|
|
@@ -10710,7 +10832,15 @@ null,
|
|
|
10710
10832
|
componentIdx: 0,
|
|
10711
10833
|
isAsync: false,
|
|
10712
10834
|
isManualAsync: _trampoline10.manuallyAsync,
|
|
10713
|
-
paramLiftFns: [
|
|
10835
|
+
paramLiftFns: [
|
|
10836
|
+
_liftFlatResult({
|
|
10837
|
+
caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
|
|
10838
|
+
variantSize32: 1,
|
|
10839
|
+
variantAlign32: 1,
|
|
10840
|
+
variantPayloadOffset32: 1,
|
|
10841
|
+
variantFlatCount: 1,
|
|
10842
|
+
})
|
|
10843
|
+
],
|
|
10714
10844
|
resultLowerFns: [],
|
|
10715
10845
|
hasResultPointer: false,
|
|
10716
10846
|
funcTypeIsAsync: false,
|
|
@@ -10730,7 +10860,15 @@ null,
|
|
|
10730
10860
|
componentIdx: 0,
|
|
10731
10861
|
isAsync: false,
|
|
10732
10862
|
isManualAsync: _trampoline10.manuallyAsync,
|
|
10733
|
-
paramLiftFns: [
|
|
10863
|
+
paramLiftFns: [
|
|
10864
|
+
_liftFlatResult({
|
|
10865
|
+
caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
|
|
10866
|
+
variantSize32: 1,
|
|
10867
|
+
variantAlign32: 1,
|
|
10868
|
+
variantPayloadOffset32: 1,
|
|
10869
|
+
variantFlatCount: 1,
|
|
10870
|
+
})
|
|
10871
|
+
],
|
|
10734
10872
|
resultLowerFns: [],
|
|
10735
10873
|
hasResultPointer: false,
|
|
10736
10874
|
funcTypeIsAsync: false,
|
|
@@ -10801,10 +10939,25 @@ null,
|
|
|
10801
10939
|
isAsync: false,
|
|
10802
10940
|
isManualAsync: _trampoline12.manuallyAsync,
|
|
10803
10941
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10804
|
-
resultLowerFns: [
|
|
10805
|
-
|
|
10806
|
-
|
|
10807
|
-
|
|
10942
|
+
resultLowerFns: [
|
|
10943
|
+
_lowerFlatResult({
|
|
10944
|
+
caseMetas: [
|
|
10945
|
+
[ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
|
|
10946
|
+
[ 'err',
|
|
10947
|
+
_lowerFlatEnum({
|
|
10948
|
+
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],],
|
|
10949
|
+
variantSize32: 1,
|
|
10950
|
+
variantAlign32: 1,
|
|
10951
|
+
variantPayloadOffset32: 1,
|
|
10952
|
+
variantFlatCount: 1,
|
|
10953
|
+
})
|
|
10954
|
+
, 2, 1, 1 ],
|
|
10955
|
+
],
|
|
10956
|
+
variantSize32: 2,
|
|
10957
|
+
variantAlign32: 1,
|
|
10958
|
+
variantPayloadOffset32: 1,
|
|
10959
|
+
variantFlatCount: 2,
|
|
10960
|
+
})
|
|
10808
10961
|
],
|
|
10809
10962
|
hasResultPointer: true,
|
|
10810
10963
|
funcTypeIsAsync: false,
|
|
@@ -10825,10 +10978,25 @@ null,
|
|
|
10825
10978
|
isAsync: false,
|
|
10826
10979
|
isManualAsync: _trampoline12.manuallyAsync,
|
|
10827
10980
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10828
|
-
resultLowerFns: [
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10981
|
+
resultLowerFns: [
|
|
10982
|
+
_lowerFlatResult({
|
|
10983
|
+
caseMetas: [
|
|
10984
|
+
[ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
|
|
10985
|
+
[ 'err',
|
|
10986
|
+
_lowerFlatEnum({
|
|
10987
|
+
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],],
|
|
10988
|
+
variantSize32: 1,
|
|
10989
|
+
variantAlign32: 1,
|
|
10990
|
+
variantPayloadOffset32: 1,
|
|
10991
|
+
variantFlatCount: 1,
|
|
10992
|
+
})
|
|
10993
|
+
, 2, 1, 1 ],
|
|
10994
|
+
],
|
|
10995
|
+
variantSize32: 2,
|
|
10996
|
+
variantAlign32: 1,
|
|
10997
|
+
variantPayloadOffset32: 1,
|
|
10998
|
+
variantFlatCount: 2,
|
|
10999
|
+
})
|
|
10832
11000
|
],
|
|
10833
11001
|
hasResultPointer: true,
|
|
10834
11002
|
funcTypeIsAsync: false,
|
|
@@ -10850,10 +11018,33 @@ null,
|
|
|
10850
11018
|
isAsync: false,
|
|
10851
11019
|
isManualAsync: _trampoline13.manuallyAsync,
|
|
10852
11020
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10853
|
-
resultLowerFns: [
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
11021
|
+
resultLowerFns: [
|
|
11022
|
+
_lowerFlatResult({
|
|
11023
|
+
caseMetas: [
|
|
11024
|
+
[ 'ok',
|
|
11025
|
+
_lowerFlatEnum({
|
|
11026
|
+
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],],
|
|
11027
|
+
variantSize32: 1,
|
|
11028
|
+
variantAlign32: 1,
|
|
11029
|
+
variantPayloadOffset32: 1,
|
|
11030
|
+
variantFlatCount: 1,
|
|
11031
|
+
})
|
|
11032
|
+
, 2, 1, 1 ],
|
|
11033
|
+
[ 'err',
|
|
11034
|
+
_lowerFlatEnum({
|
|
11035
|
+
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],],
|
|
11036
|
+
variantSize32: 1,
|
|
11037
|
+
variantAlign32: 1,
|
|
11038
|
+
variantPayloadOffset32: 1,
|
|
11039
|
+
variantFlatCount: 1,
|
|
11040
|
+
})
|
|
11041
|
+
, 2, 1, 1 ],
|
|
11042
|
+
],
|
|
11043
|
+
variantSize32: 2,
|
|
11044
|
+
variantAlign32: 1,
|
|
11045
|
+
variantPayloadOffset32: 1,
|
|
11046
|
+
variantFlatCount: 2,
|
|
11047
|
+
})
|
|
10857
11048
|
],
|
|
10858
11049
|
hasResultPointer: true,
|
|
10859
11050
|
funcTypeIsAsync: false,
|
|
@@ -10874,10 +11065,33 @@ null,
|
|
|
10874
11065
|
isAsync: false,
|
|
10875
11066
|
isManualAsync: _trampoline13.manuallyAsync,
|
|
10876
11067
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10877
|
-
resultLowerFns: [
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
11068
|
+
resultLowerFns: [
|
|
11069
|
+
_lowerFlatResult({
|
|
11070
|
+
caseMetas: [
|
|
11071
|
+
[ 'ok',
|
|
11072
|
+
_lowerFlatEnum({
|
|
11073
|
+
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],],
|
|
11074
|
+
variantSize32: 1,
|
|
11075
|
+
variantAlign32: 1,
|
|
11076
|
+
variantPayloadOffset32: 1,
|
|
11077
|
+
variantFlatCount: 1,
|
|
11078
|
+
})
|
|
11079
|
+
, 2, 1, 1 ],
|
|
11080
|
+
[ 'err',
|
|
11081
|
+
_lowerFlatEnum({
|
|
11082
|
+
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],],
|
|
11083
|
+
variantSize32: 1,
|
|
11084
|
+
variantAlign32: 1,
|
|
11085
|
+
variantPayloadOffset32: 1,
|
|
11086
|
+
variantFlatCount: 1,
|
|
11087
|
+
})
|
|
11088
|
+
, 2, 1, 1 ],
|
|
11089
|
+
],
|
|
11090
|
+
variantSize32: 2,
|
|
11091
|
+
variantAlign32: 1,
|
|
11092
|
+
variantPayloadOffset32: 1,
|
|
11093
|
+
variantFlatCount: 2,
|
|
11094
|
+
})
|
|
10881
11095
|
],
|
|
10882
11096
|
hasResultPointer: true,
|
|
10883
11097
|
funcTypeIsAsync: false,
|
|
@@ -10899,10 +11113,25 @@ null,
|
|
|
10899
11113
|
isAsync: false,
|
|
10900
11114
|
isManualAsync: _trampoline14.manuallyAsync,
|
|
10901
11115
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10902
|
-
resultLowerFns: [
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
11116
|
+
resultLowerFns: [
|
|
11117
|
+
_lowerFlatResult({
|
|
11118
|
+
caseMetas: [
|
|
11119
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11120
|
+
[ 'err',
|
|
11121
|
+
_lowerFlatEnum({
|
|
11122
|
+
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],],
|
|
11123
|
+
variantSize32: 1,
|
|
11124
|
+
variantAlign32: 1,
|
|
11125
|
+
variantPayloadOffset32: 1,
|
|
11126
|
+
variantFlatCount: 1,
|
|
11127
|
+
})
|
|
11128
|
+
, 24, 8, 8 ],
|
|
11129
|
+
],
|
|
11130
|
+
variantSize32: 24,
|
|
11131
|
+
variantAlign32: 8,
|
|
11132
|
+
variantPayloadOffset32: 8,
|
|
11133
|
+
variantFlatCount: 3,
|
|
11134
|
+
})
|
|
10906
11135
|
],
|
|
10907
11136
|
hasResultPointer: true,
|
|
10908
11137
|
funcTypeIsAsync: false,
|
|
@@ -10923,10 +11152,25 @@ null,
|
|
|
10923
11152
|
isAsync: false,
|
|
10924
11153
|
isManualAsync: _trampoline14.manuallyAsync,
|
|
10925
11154
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
10926
|
-
resultLowerFns: [
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
11155
|
+
resultLowerFns: [
|
|
11156
|
+
_lowerFlatResult({
|
|
11157
|
+
caseMetas: [
|
|
11158
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11159
|
+
[ 'err',
|
|
11160
|
+
_lowerFlatEnum({
|
|
11161
|
+
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],],
|
|
11162
|
+
variantSize32: 1,
|
|
11163
|
+
variantAlign32: 1,
|
|
11164
|
+
variantPayloadOffset32: 1,
|
|
11165
|
+
variantFlatCount: 1,
|
|
11166
|
+
})
|
|
11167
|
+
, 24, 8, 8 ],
|
|
11168
|
+
],
|
|
11169
|
+
variantSize32: 24,
|
|
11170
|
+
variantAlign32: 8,
|
|
11171
|
+
variantPayloadOffset32: 8,
|
|
11172
|
+
variantFlatCount: 3,
|
|
11173
|
+
})
|
|
10930
11174
|
],
|
|
10931
11175
|
hasResultPointer: true,
|
|
10932
11176
|
funcTypeIsAsync: false,
|
|
@@ -10948,10 +11192,25 @@ null,
|
|
|
10948
11192
|
isAsync: false,
|
|
10949
11193
|
isManualAsync: _trampoline15.manuallyAsync,
|
|
10950
11194
|
paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
|
|
10951
|
-
resultLowerFns: [
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
11195
|
+
resultLowerFns: [
|
|
11196
|
+
_lowerFlatOption({
|
|
11197
|
+
caseMetas: [
|
|
11198
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11199
|
+
[ 'some',
|
|
11200
|
+
_lowerFlatEnum({
|
|
11201
|
+
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],],
|
|
11202
|
+
variantSize32: 1,
|
|
11203
|
+
variantAlign32: 1,
|
|
11204
|
+
variantPayloadOffset32: 1,
|
|
11205
|
+
variantFlatCount: 1,
|
|
11206
|
+
})
|
|
11207
|
+
, 1, 1, 1],
|
|
11208
|
+
],
|
|
11209
|
+
variantSize32: 2,
|
|
11210
|
+
variantAlign32: 1,
|
|
11211
|
+
variantPayloadOffset32: 1,
|
|
11212
|
+
variantFlatCount: 2,
|
|
11213
|
+
})
|
|
10955
11214
|
],
|
|
10956
11215
|
hasResultPointer: true,
|
|
10957
11216
|
funcTypeIsAsync: false,
|
|
@@ -10972,10 +11231,25 @@ null,
|
|
|
10972
11231
|
isAsync: false,
|
|
10973
11232
|
isManualAsync: _trampoline15.manuallyAsync,
|
|
10974
11233
|
paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
|
|
10975
|
-
resultLowerFns: [
|
|
10976
|
-
|
|
10977
|
-
|
|
10978
|
-
|
|
11234
|
+
resultLowerFns: [
|
|
11235
|
+
_lowerFlatOption({
|
|
11236
|
+
caseMetas: [
|
|
11237
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11238
|
+
[ 'some',
|
|
11239
|
+
_lowerFlatEnum({
|
|
11240
|
+
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],],
|
|
11241
|
+
variantSize32: 1,
|
|
11242
|
+
variantAlign32: 1,
|
|
11243
|
+
variantPayloadOffset32: 1,
|
|
11244
|
+
variantFlatCount: 1,
|
|
11245
|
+
})
|
|
11246
|
+
, 1, 1, 1],
|
|
11247
|
+
],
|
|
11248
|
+
variantSize32: 2,
|
|
11249
|
+
variantAlign32: 1,
|
|
11250
|
+
variantPayloadOffset32: 1,
|
|
11251
|
+
variantFlatCount: 2,
|
|
11252
|
+
})
|
|
10979
11253
|
],
|
|
10980
11254
|
hasResultPointer: true,
|
|
10981
11255
|
funcTypeIsAsync: false,
|
|
@@ -10997,10 +11271,25 @@ null,
|
|
|
10997
11271
|
isAsync: false,
|
|
10998
11272
|
isManualAsync: _trampoline16.manuallyAsync,
|
|
10999
11273
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
11000
|
-
resultLowerFns: [
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11274
|
+
resultLowerFns: [
|
|
11275
|
+
_lowerFlatResult({
|
|
11276
|
+
caseMetas: [
|
|
11277
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11278
|
+
[ 'err',
|
|
11279
|
+
_lowerFlatEnum({
|
|
11280
|
+
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],],
|
|
11281
|
+
variantSize32: 1,
|
|
11282
|
+
variantAlign32: 1,
|
|
11283
|
+
variantPayloadOffset32: 1,
|
|
11284
|
+
variantFlatCount: 1,
|
|
11285
|
+
})
|
|
11286
|
+
, 24, 8, 8 ],
|
|
11287
|
+
],
|
|
11288
|
+
variantSize32: 24,
|
|
11289
|
+
variantAlign32: 8,
|
|
11290
|
+
variantPayloadOffset32: 8,
|
|
11291
|
+
variantFlatCount: 3,
|
|
11292
|
+
})
|
|
11004
11293
|
],
|
|
11005
11294
|
hasResultPointer: true,
|
|
11006
11295
|
funcTypeIsAsync: false,
|
|
@@ -11021,10 +11310,25 @@ null,
|
|
|
11021
11310
|
isAsync: false,
|
|
11022
11311
|
isManualAsync: _trampoline16.manuallyAsync,
|
|
11023
11312
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
11024
|
-
resultLowerFns: [
|
|
11025
|
-
|
|
11026
|
-
|
|
11027
|
-
|
|
11313
|
+
resultLowerFns: [
|
|
11314
|
+
_lowerFlatResult({
|
|
11315
|
+
caseMetas: [
|
|
11316
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
|
|
11317
|
+
[ 'err',
|
|
11318
|
+
_lowerFlatEnum({
|
|
11319
|
+
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],],
|
|
11320
|
+
variantSize32: 1,
|
|
11321
|
+
variantAlign32: 1,
|
|
11322
|
+
variantPayloadOffset32: 1,
|
|
11323
|
+
variantFlatCount: 1,
|
|
11324
|
+
})
|
|
11325
|
+
, 24, 8, 8 ],
|
|
11326
|
+
],
|
|
11327
|
+
variantSize32: 24,
|
|
11328
|
+
variantAlign32: 8,
|
|
11329
|
+
variantPayloadOffset32: 8,
|
|
11330
|
+
variantFlatCount: 3,
|
|
11331
|
+
})
|
|
11028
11332
|
],
|
|
11029
11333
|
hasResultPointer: true,
|
|
11030
11334
|
funcTypeIsAsync: false,
|
|
@@ -11046,26 +11350,41 @@ null,
|
|
|
11046
11350
|
isAsync: false,
|
|
11047
11351
|
isManualAsync: _trampoline17.manuallyAsync,
|
|
11048
11352
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11049
|
-
resultLowerFns: [
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11060
|
-
|
|
11061
|
-
|
|
11353
|
+
resultLowerFns: [
|
|
11354
|
+
_lowerFlatResult({
|
|
11355
|
+
caseMetas: [
|
|
11356
|
+
[ 'ok', _lowerFlatOwn({
|
|
11357
|
+
componentIdx: 0,
|
|
11358
|
+
lowerFn:
|
|
11359
|
+
function lowerImportedOwnedHost_InputStream(obj) {
|
|
11360
|
+
if (!(obj instanceof InputStream)) {
|
|
11361
|
+
throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
|
|
11362
|
+
}
|
|
11363
|
+
let handle = obj[symbolRscHandle];
|
|
11364
|
+
if (!handle) {
|
|
11365
|
+
const rep = obj[symbolRscRep] || ++captureCnt1;
|
|
11366
|
+
captureTable1.set(rep, obj);
|
|
11367
|
+
handle = rscTableCreateOwn(handleTable1, rep);
|
|
11368
|
+
}
|
|
11369
|
+
return handle;
|
|
11062
11370
|
}
|
|
11063
|
-
|
|
11064
|
-
}
|
|
11065
|
-
,
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11371
|
+
,
|
|
11372
|
+
}), 8, 4, 4 ],
|
|
11373
|
+
[ 'err',
|
|
11374
|
+
_lowerFlatEnum({
|
|
11375
|
+
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],],
|
|
11376
|
+
variantSize32: 1,
|
|
11377
|
+
variantAlign32: 1,
|
|
11378
|
+
variantPayloadOffset32: 1,
|
|
11379
|
+
variantFlatCount: 1,
|
|
11380
|
+
})
|
|
11381
|
+
, 8, 4, 4 ],
|
|
11382
|
+
],
|
|
11383
|
+
variantSize32: 8,
|
|
11384
|
+
variantAlign32: 4,
|
|
11385
|
+
variantPayloadOffset32: 4,
|
|
11386
|
+
variantFlatCount: 2,
|
|
11387
|
+
})
|
|
11069
11388
|
],
|
|
11070
11389
|
hasResultPointer: true,
|
|
11071
11390
|
funcTypeIsAsync: false,
|
|
@@ -11086,26 +11405,41 @@ null,
|
|
|
11086
11405
|
isAsync: false,
|
|
11087
11406
|
isManualAsync: _trampoline17.manuallyAsync,
|
|
11088
11407
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11089
|
-
resultLowerFns: [
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
|
|
11095
|
-
|
|
11096
|
-
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
|
|
11408
|
+
resultLowerFns: [
|
|
11409
|
+
_lowerFlatResult({
|
|
11410
|
+
caseMetas: [
|
|
11411
|
+
[ 'ok', _lowerFlatOwn({
|
|
11412
|
+
componentIdx: 0,
|
|
11413
|
+
lowerFn:
|
|
11414
|
+
function lowerImportedOwnedHost_InputStream(obj) {
|
|
11415
|
+
if (!(obj instanceof InputStream)) {
|
|
11416
|
+
throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
|
|
11417
|
+
}
|
|
11418
|
+
let handle = obj[symbolRscHandle];
|
|
11419
|
+
if (!handle) {
|
|
11420
|
+
const rep = obj[symbolRscRep] || ++captureCnt1;
|
|
11421
|
+
captureTable1.set(rep, obj);
|
|
11422
|
+
handle = rscTableCreateOwn(handleTable1, rep);
|
|
11423
|
+
}
|
|
11424
|
+
return handle;
|
|
11102
11425
|
}
|
|
11103
|
-
|
|
11104
|
-
}
|
|
11105
|
-
,
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11426
|
+
,
|
|
11427
|
+
}), 8, 4, 4 ],
|
|
11428
|
+
[ 'err',
|
|
11429
|
+
_lowerFlatEnum({
|
|
11430
|
+
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],],
|
|
11431
|
+
variantSize32: 1,
|
|
11432
|
+
variantAlign32: 1,
|
|
11433
|
+
variantPayloadOffset32: 1,
|
|
11434
|
+
variantFlatCount: 1,
|
|
11435
|
+
})
|
|
11436
|
+
, 8, 4, 4 ],
|
|
11437
|
+
],
|
|
11438
|
+
variantSize32: 8,
|
|
11439
|
+
variantAlign32: 4,
|
|
11440
|
+
variantPayloadOffset32: 4,
|
|
11441
|
+
variantFlatCount: 2,
|
|
11442
|
+
})
|
|
11109
11443
|
],
|
|
11110
11444
|
hasResultPointer: true,
|
|
11111
11445
|
funcTypeIsAsync: false,
|
|
@@ -11127,26 +11461,41 @@ null,
|
|
|
11127
11461
|
isAsync: false,
|
|
11128
11462
|
isManualAsync: _trampoline18.manuallyAsync,
|
|
11129
11463
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11130
|
-
resultLowerFns: [
|
|
11131
|
-
|
|
11132
|
-
|
|
11133
|
-
|
|
11134
|
-
|
|
11135
|
-
|
|
11136
|
-
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11464
|
+
resultLowerFns: [
|
|
11465
|
+
_lowerFlatResult({
|
|
11466
|
+
caseMetas: [
|
|
11467
|
+
[ 'ok', _lowerFlatOwn({
|
|
11468
|
+
componentIdx: 0,
|
|
11469
|
+
lowerFn:
|
|
11470
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
11471
|
+
if (!(obj instanceof OutputStream)) {
|
|
11472
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
11473
|
+
}
|
|
11474
|
+
let handle = obj[symbolRscHandle];
|
|
11475
|
+
if (!handle) {
|
|
11476
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
11477
|
+
captureTable2.set(rep, obj);
|
|
11478
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
11479
|
+
}
|
|
11480
|
+
return handle;
|
|
11143
11481
|
}
|
|
11144
|
-
|
|
11145
|
-
}
|
|
11146
|
-
,
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
|
|
11482
|
+
,
|
|
11483
|
+
}), 8, 4, 4 ],
|
|
11484
|
+
[ 'err',
|
|
11485
|
+
_lowerFlatEnum({
|
|
11486
|
+
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],],
|
|
11487
|
+
variantSize32: 1,
|
|
11488
|
+
variantAlign32: 1,
|
|
11489
|
+
variantPayloadOffset32: 1,
|
|
11490
|
+
variantFlatCount: 1,
|
|
11491
|
+
})
|
|
11492
|
+
, 8, 4, 4 ],
|
|
11493
|
+
],
|
|
11494
|
+
variantSize32: 8,
|
|
11495
|
+
variantAlign32: 4,
|
|
11496
|
+
variantPayloadOffset32: 4,
|
|
11497
|
+
variantFlatCount: 2,
|
|
11498
|
+
})
|
|
11150
11499
|
],
|
|
11151
11500
|
hasResultPointer: true,
|
|
11152
11501
|
funcTypeIsAsync: false,
|
|
@@ -11167,26 +11516,41 @@ null,
|
|
|
11167
11516
|
isAsync: false,
|
|
11168
11517
|
isManualAsync: _trampoline18.manuallyAsync,
|
|
11169
11518
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
|
|
11170
|
-
resultLowerFns: [
|
|
11171
|
-
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11519
|
+
resultLowerFns: [
|
|
11520
|
+
_lowerFlatResult({
|
|
11521
|
+
caseMetas: [
|
|
11522
|
+
[ 'ok', _lowerFlatOwn({
|
|
11523
|
+
componentIdx: 0,
|
|
11524
|
+
lowerFn:
|
|
11525
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
11526
|
+
if (!(obj instanceof OutputStream)) {
|
|
11527
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
11528
|
+
}
|
|
11529
|
+
let handle = obj[symbolRscHandle];
|
|
11530
|
+
if (!handle) {
|
|
11531
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
11532
|
+
captureTable2.set(rep, obj);
|
|
11533
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
11534
|
+
}
|
|
11535
|
+
return handle;
|
|
11183
11536
|
}
|
|
11184
|
-
|
|
11185
|
-
}
|
|
11186
|
-
,
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11537
|
+
,
|
|
11538
|
+
}), 8, 4, 4 ],
|
|
11539
|
+
[ 'err',
|
|
11540
|
+
_lowerFlatEnum({
|
|
11541
|
+
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],],
|
|
11542
|
+
variantSize32: 1,
|
|
11543
|
+
variantAlign32: 1,
|
|
11544
|
+
variantPayloadOffset32: 1,
|
|
11545
|
+
variantFlatCount: 1,
|
|
11546
|
+
})
|
|
11547
|
+
, 8, 4, 4 ],
|
|
11548
|
+
],
|
|
11549
|
+
variantSize32: 8,
|
|
11550
|
+
variantAlign32: 4,
|
|
11551
|
+
variantPayloadOffset32: 4,
|
|
11552
|
+
variantFlatCount: 2,
|
|
11553
|
+
})
|
|
11190
11554
|
],
|
|
11191
11555
|
hasResultPointer: true,
|
|
11192
11556
|
funcTypeIsAsync: false,
|
|
@@ -11208,26 +11572,41 @@ null,
|
|
|
11208
11572
|
isAsync: false,
|
|
11209
11573
|
isManualAsync: _trampoline19.manuallyAsync,
|
|
11210
11574
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11211
|
-
resultLowerFns: [
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
|
|
11223
|
-
|
|
11575
|
+
resultLowerFns: [
|
|
11576
|
+
_lowerFlatResult({
|
|
11577
|
+
caseMetas: [
|
|
11578
|
+
[ 'ok', _lowerFlatOwn({
|
|
11579
|
+
componentIdx: 0,
|
|
11580
|
+
lowerFn:
|
|
11581
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
11582
|
+
if (!(obj instanceof OutputStream)) {
|
|
11583
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
11584
|
+
}
|
|
11585
|
+
let handle = obj[symbolRscHandle];
|
|
11586
|
+
if (!handle) {
|
|
11587
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
11588
|
+
captureTable2.set(rep, obj);
|
|
11589
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
11590
|
+
}
|
|
11591
|
+
return handle;
|
|
11224
11592
|
}
|
|
11225
|
-
|
|
11226
|
-
}
|
|
11227
|
-
,
|
|
11228
|
-
|
|
11229
|
-
|
|
11230
|
-
|
|
11593
|
+
,
|
|
11594
|
+
}), 8, 4, 4 ],
|
|
11595
|
+
[ 'err',
|
|
11596
|
+
_lowerFlatEnum({
|
|
11597
|
+
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],],
|
|
11598
|
+
variantSize32: 1,
|
|
11599
|
+
variantAlign32: 1,
|
|
11600
|
+
variantPayloadOffset32: 1,
|
|
11601
|
+
variantFlatCount: 1,
|
|
11602
|
+
})
|
|
11603
|
+
, 8, 4, 4 ],
|
|
11604
|
+
],
|
|
11605
|
+
variantSize32: 8,
|
|
11606
|
+
variantAlign32: 4,
|
|
11607
|
+
variantPayloadOffset32: 4,
|
|
11608
|
+
variantFlatCount: 2,
|
|
11609
|
+
})
|
|
11231
11610
|
],
|
|
11232
11611
|
hasResultPointer: true,
|
|
11233
11612
|
funcTypeIsAsync: false,
|
|
@@ -11248,26 +11627,41 @@ null,
|
|
|
11248
11627
|
isAsync: false,
|
|
11249
11628
|
isManualAsync: _trampoline19.manuallyAsync,
|
|
11250
11629
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11251
|
-
resultLowerFns: [
|
|
11252
|
-
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
|
|
11262
|
-
|
|
11263
|
-
|
|
11630
|
+
resultLowerFns: [
|
|
11631
|
+
_lowerFlatResult({
|
|
11632
|
+
caseMetas: [
|
|
11633
|
+
[ 'ok', _lowerFlatOwn({
|
|
11634
|
+
componentIdx: 0,
|
|
11635
|
+
lowerFn:
|
|
11636
|
+
function lowerImportedOwnedHost_OutputStream(obj) {
|
|
11637
|
+
if (!(obj instanceof OutputStream)) {
|
|
11638
|
+
throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
|
|
11639
|
+
}
|
|
11640
|
+
let handle = obj[symbolRscHandle];
|
|
11641
|
+
if (!handle) {
|
|
11642
|
+
const rep = obj[symbolRscRep] || ++captureCnt2;
|
|
11643
|
+
captureTable2.set(rep, obj);
|
|
11644
|
+
handle = rscTableCreateOwn(handleTable2, rep);
|
|
11645
|
+
}
|
|
11646
|
+
return handle;
|
|
11264
11647
|
}
|
|
11265
|
-
|
|
11266
|
-
}
|
|
11267
|
-
,
|
|
11268
|
-
|
|
11269
|
-
|
|
11270
|
-
|
|
11648
|
+
,
|
|
11649
|
+
}), 8, 4, 4 ],
|
|
11650
|
+
[ 'err',
|
|
11651
|
+
_lowerFlatEnum({
|
|
11652
|
+
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],],
|
|
11653
|
+
variantSize32: 1,
|
|
11654
|
+
variantAlign32: 1,
|
|
11655
|
+
variantPayloadOffset32: 1,
|
|
11656
|
+
variantFlatCount: 1,
|
|
11657
|
+
})
|
|
11658
|
+
, 8, 4, 4 ],
|
|
11659
|
+
],
|
|
11660
|
+
variantSize32: 8,
|
|
11661
|
+
variantAlign32: 4,
|
|
11662
|
+
variantPayloadOffset32: 4,
|
|
11663
|
+
variantFlatCount: 2,
|
|
11664
|
+
})
|
|
11271
11665
|
],
|
|
11272
11666
|
hasResultPointer: true,
|
|
11273
11667
|
funcTypeIsAsync: false,
|
|
@@ -11289,26 +11683,41 @@ null,
|
|
|
11289
11683
|
isAsync: false,
|
|
11290
11684
|
isManualAsync: _trampoline20.manuallyAsync,
|
|
11291
11685
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11292
|
-
resultLowerFns: [
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
|
|
11300
|
-
|
|
11301
|
-
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
|
|
11686
|
+
resultLowerFns: [
|
|
11687
|
+
_lowerFlatResult({
|
|
11688
|
+
caseMetas: [
|
|
11689
|
+
[ 'ok', _lowerFlatOwn({
|
|
11690
|
+
componentIdx: 0,
|
|
11691
|
+
lowerFn:
|
|
11692
|
+
function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
|
|
11693
|
+
if (!(obj instanceof DirectoryEntryStream)) {
|
|
11694
|
+
throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
|
|
11695
|
+
}
|
|
11696
|
+
let handle = obj[symbolRscHandle];
|
|
11697
|
+
if (!handle) {
|
|
11698
|
+
const rep = obj[symbolRscRep] || ++captureCnt5;
|
|
11699
|
+
captureTable5.set(rep, obj);
|
|
11700
|
+
handle = rscTableCreateOwn(handleTable5, rep);
|
|
11701
|
+
}
|
|
11702
|
+
return handle;
|
|
11305
11703
|
}
|
|
11306
|
-
|
|
11307
|
-
}
|
|
11308
|
-
,
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11704
|
+
,
|
|
11705
|
+
}), 8, 4, 4 ],
|
|
11706
|
+
[ 'err',
|
|
11707
|
+
_lowerFlatEnum({
|
|
11708
|
+
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],],
|
|
11709
|
+
variantSize32: 1,
|
|
11710
|
+
variantAlign32: 1,
|
|
11711
|
+
variantPayloadOffset32: 1,
|
|
11712
|
+
variantFlatCount: 1,
|
|
11713
|
+
})
|
|
11714
|
+
, 8, 4, 4 ],
|
|
11715
|
+
],
|
|
11716
|
+
variantSize32: 8,
|
|
11717
|
+
variantAlign32: 4,
|
|
11718
|
+
variantPayloadOffset32: 4,
|
|
11719
|
+
variantFlatCount: 2,
|
|
11720
|
+
})
|
|
11312
11721
|
],
|
|
11313
11722
|
hasResultPointer: true,
|
|
11314
11723
|
funcTypeIsAsync: false,
|
|
@@ -11329,26 +11738,41 @@ null,
|
|
|
11329
11738
|
isAsync: false,
|
|
11330
11739
|
isManualAsync: _trampoline20.manuallyAsync,
|
|
11331
11740
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11332
|
-
resultLowerFns: [
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
|
|
11344
|
-
|
|
11741
|
+
resultLowerFns: [
|
|
11742
|
+
_lowerFlatResult({
|
|
11743
|
+
caseMetas: [
|
|
11744
|
+
[ 'ok', _lowerFlatOwn({
|
|
11745
|
+
componentIdx: 0,
|
|
11746
|
+
lowerFn:
|
|
11747
|
+
function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
|
|
11748
|
+
if (!(obj instanceof DirectoryEntryStream)) {
|
|
11749
|
+
throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
|
|
11750
|
+
}
|
|
11751
|
+
let handle = obj[symbolRscHandle];
|
|
11752
|
+
if (!handle) {
|
|
11753
|
+
const rep = obj[symbolRscRep] || ++captureCnt5;
|
|
11754
|
+
captureTable5.set(rep, obj);
|
|
11755
|
+
handle = rscTableCreateOwn(handleTable5, rep);
|
|
11756
|
+
}
|
|
11757
|
+
return handle;
|
|
11345
11758
|
}
|
|
11346
|
-
|
|
11347
|
-
}
|
|
11348
|
-
,
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11759
|
+
,
|
|
11760
|
+
}), 8, 4, 4 ],
|
|
11761
|
+
[ 'err',
|
|
11762
|
+
_lowerFlatEnum({
|
|
11763
|
+
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],],
|
|
11764
|
+
variantSize32: 1,
|
|
11765
|
+
variantAlign32: 1,
|
|
11766
|
+
variantPayloadOffset32: 1,
|
|
11767
|
+
variantFlatCount: 1,
|
|
11768
|
+
})
|
|
11769
|
+
, 8, 4, 4 ],
|
|
11770
|
+
],
|
|
11771
|
+
variantSize32: 8,
|
|
11772
|
+
variantAlign32: 4,
|
|
11773
|
+
variantPayloadOffset32: 4,
|
|
11774
|
+
variantFlatCount: 2,
|
|
11775
|
+
})
|
|
11352
11776
|
],
|
|
11353
11777
|
hasResultPointer: true,
|
|
11354
11778
|
funcTypeIsAsync: false,
|
|
@@ -11370,22 +11794,66 @@ null,
|
|
|
11370
11794
|
isAsync: false,
|
|
11371
11795
|
isManualAsync: _trampoline21.manuallyAsync,
|
|
11372
11796
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11373
|
-
resultLowerFns: [
|
|
11374
|
-
|
|
11375
|
-
|
|
11376
|
-
|
|
11377
|
-
|
|
11378
|
-
|
|
11379
|
-
|
|
11380
|
-
|
|
11381
|
-
|
|
11382
|
-
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11797
|
+
resultLowerFns: [
|
|
11798
|
+
_lowerFlatResult({
|
|
11799
|
+
caseMetas: [
|
|
11800
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
11801
|
+
_lowerFlatEnum({
|
|
11802
|
+
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],],
|
|
11803
|
+
variantSize32: 1,
|
|
11804
|
+
variantAlign32: 1,
|
|
11805
|
+
variantPayloadOffset32: 1,
|
|
11806
|
+
variantFlatCount: 1,
|
|
11807
|
+
})
|
|
11808
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
11809
|
+
_lowerFlatOption({
|
|
11810
|
+
caseMetas: [
|
|
11811
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11812
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11813
|
+
],
|
|
11814
|
+
variantSize32: 24,
|
|
11815
|
+
variantAlign32: 8,
|
|
11816
|
+
variantPayloadOffset32: 8,
|
|
11817
|
+
variantFlatCount: 3,
|
|
11818
|
+
})
|
|
11819
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
11820
|
+
_lowerFlatOption({
|
|
11821
|
+
caseMetas: [
|
|
11822
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11823
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11824
|
+
],
|
|
11825
|
+
variantSize32: 24,
|
|
11826
|
+
variantAlign32: 8,
|
|
11827
|
+
variantPayloadOffset32: 8,
|
|
11828
|
+
variantFlatCount: 3,
|
|
11829
|
+
})
|
|
11830
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
11831
|
+
_lowerFlatOption({
|
|
11832
|
+
caseMetas: [
|
|
11833
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11834
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11835
|
+
],
|
|
11836
|
+
variantSize32: 24,
|
|
11837
|
+
variantAlign32: 8,
|
|
11838
|
+
variantPayloadOffset32: 8,
|
|
11839
|
+
variantFlatCount: 3,
|
|
11840
|
+
})
|
|
11841
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
11842
|
+
[ 'err',
|
|
11843
|
+
_lowerFlatEnum({
|
|
11844
|
+
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],],
|
|
11845
|
+
variantSize32: 1,
|
|
11846
|
+
variantAlign32: 1,
|
|
11847
|
+
variantPayloadOffset32: 1,
|
|
11848
|
+
variantFlatCount: 1,
|
|
11849
|
+
})
|
|
11850
|
+
, 104, 8, 8 ],
|
|
11851
|
+
],
|
|
11852
|
+
variantSize32: 104,
|
|
11853
|
+
variantAlign32: 8,
|
|
11854
|
+
variantPayloadOffset32: 8,
|
|
11855
|
+
variantFlatCount: 13,
|
|
11856
|
+
})
|
|
11389
11857
|
],
|
|
11390
11858
|
hasResultPointer: true,
|
|
11391
11859
|
funcTypeIsAsync: false,
|
|
@@ -11406,22 +11874,66 @@ null,
|
|
|
11406
11874
|
isAsync: false,
|
|
11407
11875
|
isManualAsync: _trampoline21.manuallyAsync,
|
|
11408
11876
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
|
|
11409
|
-
resultLowerFns: [
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
11877
|
+
resultLowerFns: [
|
|
11878
|
+
_lowerFlatResult({
|
|
11879
|
+
caseMetas: [
|
|
11880
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
11881
|
+
_lowerFlatEnum({
|
|
11882
|
+
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],],
|
|
11883
|
+
variantSize32: 1,
|
|
11884
|
+
variantAlign32: 1,
|
|
11885
|
+
variantPayloadOffset32: 1,
|
|
11886
|
+
variantFlatCount: 1,
|
|
11887
|
+
})
|
|
11888
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
11889
|
+
_lowerFlatOption({
|
|
11890
|
+
caseMetas: [
|
|
11891
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11892
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11893
|
+
],
|
|
11894
|
+
variantSize32: 24,
|
|
11895
|
+
variantAlign32: 8,
|
|
11896
|
+
variantPayloadOffset32: 8,
|
|
11897
|
+
variantFlatCount: 3,
|
|
11898
|
+
})
|
|
11899
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
11900
|
+
_lowerFlatOption({
|
|
11901
|
+
caseMetas: [
|
|
11902
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11903
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11904
|
+
],
|
|
11905
|
+
variantSize32: 24,
|
|
11906
|
+
variantAlign32: 8,
|
|
11907
|
+
variantPayloadOffset32: 8,
|
|
11908
|
+
variantFlatCount: 3,
|
|
11909
|
+
})
|
|
11910
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
11911
|
+
_lowerFlatOption({
|
|
11912
|
+
caseMetas: [
|
|
11913
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11914
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11915
|
+
],
|
|
11916
|
+
variantSize32: 24,
|
|
11917
|
+
variantAlign32: 8,
|
|
11918
|
+
variantPayloadOffset32: 8,
|
|
11919
|
+
variantFlatCount: 3,
|
|
11920
|
+
})
|
|
11921
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
11922
|
+
[ 'err',
|
|
11923
|
+
_lowerFlatEnum({
|
|
11924
|
+
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],],
|
|
11925
|
+
variantSize32: 1,
|
|
11926
|
+
variantAlign32: 1,
|
|
11927
|
+
variantPayloadOffset32: 1,
|
|
11928
|
+
variantFlatCount: 1,
|
|
11929
|
+
})
|
|
11930
|
+
, 104, 8, 8 ],
|
|
11931
|
+
],
|
|
11932
|
+
variantSize32: 104,
|
|
11933
|
+
variantAlign32: 8,
|
|
11934
|
+
variantPayloadOffset32: 8,
|
|
11935
|
+
variantFlatCount: 13,
|
|
11936
|
+
})
|
|
11425
11937
|
],
|
|
11426
11938
|
hasResultPointer: true,
|
|
11427
11939
|
funcTypeIsAsync: false,
|
|
@@ -11443,22 +11955,66 @@ null,
|
|
|
11443
11955
|
isAsync: false,
|
|
11444
11956
|
isManualAsync: _trampoline22.manuallyAsync,
|
|
11445
11957
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
11446
|
-
resultLowerFns: [
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11958
|
+
resultLowerFns: [
|
|
11959
|
+
_lowerFlatResult({
|
|
11960
|
+
caseMetas: [
|
|
11961
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
11962
|
+
_lowerFlatEnum({
|
|
11963
|
+
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],],
|
|
11964
|
+
variantSize32: 1,
|
|
11965
|
+
variantAlign32: 1,
|
|
11966
|
+
variantPayloadOffset32: 1,
|
|
11967
|
+
variantFlatCount: 1,
|
|
11968
|
+
})
|
|
11969
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
11970
|
+
_lowerFlatOption({
|
|
11971
|
+
caseMetas: [
|
|
11972
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11973
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11974
|
+
],
|
|
11975
|
+
variantSize32: 24,
|
|
11976
|
+
variantAlign32: 8,
|
|
11977
|
+
variantPayloadOffset32: 8,
|
|
11978
|
+
variantFlatCount: 3,
|
|
11979
|
+
})
|
|
11980
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
11981
|
+
_lowerFlatOption({
|
|
11982
|
+
caseMetas: [
|
|
11983
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11984
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11985
|
+
],
|
|
11986
|
+
variantSize32: 24,
|
|
11987
|
+
variantAlign32: 8,
|
|
11988
|
+
variantPayloadOffset32: 8,
|
|
11989
|
+
variantFlatCount: 3,
|
|
11990
|
+
})
|
|
11991
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
11992
|
+
_lowerFlatOption({
|
|
11993
|
+
caseMetas: [
|
|
11994
|
+
[ 'none', null, 0, 0, 0 ],
|
|
11995
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
11996
|
+
],
|
|
11997
|
+
variantSize32: 24,
|
|
11998
|
+
variantAlign32: 8,
|
|
11999
|
+
variantPayloadOffset32: 8,
|
|
12000
|
+
variantFlatCount: 3,
|
|
12001
|
+
})
|
|
12002
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
12003
|
+
[ 'err',
|
|
12004
|
+
_lowerFlatEnum({
|
|
12005
|
+
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],],
|
|
12006
|
+
variantSize32: 1,
|
|
12007
|
+
variantAlign32: 1,
|
|
12008
|
+
variantPayloadOffset32: 1,
|
|
12009
|
+
variantFlatCount: 1,
|
|
12010
|
+
})
|
|
12011
|
+
, 104, 8, 8 ],
|
|
12012
|
+
],
|
|
12013
|
+
variantSize32: 104,
|
|
12014
|
+
variantAlign32: 8,
|
|
12015
|
+
variantPayloadOffset32: 8,
|
|
12016
|
+
variantFlatCount: 13,
|
|
12017
|
+
})
|
|
11462
12018
|
],
|
|
11463
12019
|
hasResultPointer: true,
|
|
11464
12020
|
funcTypeIsAsync: false,
|
|
@@ -11479,22 +12035,66 @@ null,
|
|
|
11479
12035
|
isAsync: false,
|
|
11480
12036
|
isManualAsync: _trampoline22.manuallyAsync,
|
|
11481
12037
|
paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
|
|
11482
|
-
resultLowerFns: [
|
|
11483
|
-
|
|
11484
|
-
|
|
11485
|
-
|
|
11486
|
-
|
|
11487
|
-
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
|
|
11491
|
-
|
|
11492
|
-
|
|
11493
|
-
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
|
-
|
|
11497
|
-
|
|
12038
|
+
resultLowerFns: [
|
|
12039
|
+
_lowerFlatResult({
|
|
12040
|
+
caseMetas: [
|
|
12041
|
+
[ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12042
|
+
_lowerFlatEnum({
|
|
12043
|
+
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],],
|
|
12044
|
+
variantSize32: 1,
|
|
12045
|
+
variantAlign32: 1,
|
|
12046
|
+
variantPayloadOffset32: 1,
|
|
12047
|
+
variantFlatCount: 1,
|
|
12048
|
+
})
|
|
12049
|
+
, 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
|
|
12050
|
+
_lowerFlatOption({
|
|
12051
|
+
caseMetas: [
|
|
12052
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12053
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12054
|
+
],
|
|
12055
|
+
variantSize32: 24,
|
|
12056
|
+
variantAlign32: 8,
|
|
12057
|
+
variantPayloadOffset32: 8,
|
|
12058
|
+
variantFlatCount: 3,
|
|
12059
|
+
})
|
|
12060
|
+
, 24, 8 ],['dataModificationTimestamp',
|
|
12061
|
+
_lowerFlatOption({
|
|
12062
|
+
caseMetas: [
|
|
12063
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12064
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12065
|
+
],
|
|
12066
|
+
variantSize32: 24,
|
|
12067
|
+
variantAlign32: 8,
|
|
12068
|
+
variantPayloadOffset32: 8,
|
|
12069
|
+
variantFlatCount: 3,
|
|
12070
|
+
})
|
|
12071
|
+
, 24, 8 ],['statusChangeTimestamp',
|
|
12072
|
+
_lowerFlatOption({
|
|
12073
|
+
caseMetas: [
|
|
12074
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12075
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
|
|
12076
|
+
],
|
|
12077
|
+
variantSize32: 24,
|
|
12078
|
+
variantAlign32: 8,
|
|
12079
|
+
variantPayloadOffset32: 8,
|
|
12080
|
+
variantFlatCount: 3,
|
|
12081
|
+
})
|
|
12082
|
+
, 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
|
|
12083
|
+
[ 'err',
|
|
12084
|
+
_lowerFlatEnum({
|
|
12085
|
+
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],],
|
|
12086
|
+
variantSize32: 1,
|
|
12087
|
+
variantAlign32: 1,
|
|
12088
|
+
variantPayloadOffset32: 1,
|
|
12089
|
+
variantFlatCount: 1,
|
|
12090
|
+
})
|
|
12091
|
+
, 104, 8, 8 ],
|
|
12092
|
+
],
|
|
12093
|
+
variantSize32: 104,
|
|
12094
|
+
variantAlign32: 8,
|
|
12095
|
+
variantPayloadOffset32: 8,
|
|
12096
|
+
variantFlatCount: 13,
|
|
12097
|
+
})
|
|
11498
12098
|
],
|
|
11499
12099
|
hasResultPointer: true,
|
|
11500
12100
|
funcTypeIsAsync: false,
|
|
@@ -11516,26 +12116,41 @@ null,
|
|
|
11516
12116
|
isAsync: false,
|
|
11517
12117
|
isManualAsync: _trampoline23.manuallyAsync,
|
|
11518
12118
|
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 })],
|
|
11519
|
-
resultLowerFns: [
|
|
11520
|
-
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11528
|
-
|
|
11529
|
-
|
|
11530
|
-
|
|
11531
|
-
|
|
12119
|
+
resultLowerFns: [
|
|
12120
|
+
_lowerFlatResult({
|
|
12121
|
+
caseMetas: [
|
|
12122
|
+
[ 'ok', _lowerFlatOwn({
|
|
12123
|
+
componentIdx: 0,
|
|
12124
|
+
lowerFn:
|
|
12125
|
+
function lowerImportedOwnedHost_Descriptor(obj) {
|
|
12126
|
+
if (!(obj instanceof Descriptor)) {
|
|
12127
|
+
throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
|
|
12128
|
+
}
|
|
12129
|
+
let handle = obj[symbolRscHandle];
|
|
12130
|
+
if (!handle) {
|
|
12131
|
+
const rep = obj[symbolRscRep] || ++captureCnt6;
|
|
12132
|
+
captureTable6.set(rep, obj);
|
|
12133
|
+
handle = rscTableCreateOwn(handleTable6, rep);
|
|
12134
|
+
}
|
|
12135
|
+
return handle;
|
|
11532
12136
|
}
|
|
11533
|
-
|
|
11534
|
-
}
|
|
11535
|
-
,
|
|
11536
|
-
|
|
11537
|
-
|
|
11538
|
-
|
|
12137
|
+
,
|
|
12138
|
+
}), 8, 4, 4 ],
|
|
12139
|
+
[ 'err',
|
|
12140
|
+
_lowerFlatEnum({
|
|
12141
|
+
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],],
|
|
12142
|
+
variantSize32: 1,
|
|
12143
|
+
variantAlign32: 1,
|
|
12144
|
+
variantPayloadOffset32: 1,
|
|
12145
|
+
variantFlatCount: 1,
|
|
12146
|
+
})
|
|
12147
|
+
, 8, 4, 4 ],
|
|
12148
|
+
],
|
|
12149
|
+
variantSize32: 8,
|
|
12150
|
+
variantAlign32: 4,
|
|
12151
|
+
variantPayloadOffset32: 4,
|
|
12152
|
+
variantFlatCount: 2,
|
|
12153
|
+
})
|
|
11539
12154
|
],
|
|
11540
12155
|
hasResultPointer: true,
|
|
11541
12156
|
funcTypeIsAsync: false,
|
|
@@ -11556,26 +12171,41 @@ null,
|
|
|
11556
12171
|
isAsync: false,
|
|
11557
12172
|
isManualAsync: _trampoline23.manuallyAsync,
|
|
11558
12173
|
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 })],
|
|
11559
|
-
resultLowerFns: [
|
|
11560
|
-
|
|
11561
|
-
|
|
11562
|
-
|
|
11563
|
-
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
12174
|
+
resultLowerFns: [
|
|
12175
|
+
_lowerFlatResult({
|
|
12176
|
+
caseMetas: [
|
|
12177
|
+
[ 'ok', _lowerFlatOwn({
|
|
12178
|
+
componentIdx: 0,
|
|
12179
|
+
lowerFn:
|
|
12180
|
+
function lowerImportedOwnedHost_Descriptor(obj) {
|
|
12181
|
+
if (!(obj instanceof Descriptor)) {
|
|
12182
|
+
throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
|
|
12183
|
+
}
|
|
12184
|
+
let handle = obj[symbolRscHandle];
|
|
12185
|
+
if (!handle) {
|
|
12186
|
+
const rep = obj[symbolRscRep] || ++captureCnt6;
|
|
12187
|
+
captureTable6.set(rep, obj);
|
|
12188
|
+
handle = rscTableCreateOwn(handleTable6, rep);
|
|
12189
|
+
}
|
|
12190
|
+
return handle;
|
|
11572
12191
|
}
|
|
11573
|
-
|
|
11574
|
-
}
|
|
11575
|
-
,
|
|
11576
|
-
|
|
11577
|
-
|
|
11578
|
-
|
|
12192
|
+
,
|
|
12193
|
+
}), 8, 4, 4 ],
|
|
12194
|
+
[ 'err',
|
|
12195
|
+
_lowerFlatEnum({
|
|
12196
|
+
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],],
|
|
12197
|
+
variantSize32: 1,
|
|
12198
|
+
variantAlign32: 1,
|
|
12199
|
+
variantPayloadOffset32: 1,
|
|
12200
|
+
variantFlatCount: 1,
|
|
12201
|
+
})
|
|
12202
|
+
, 8, 4, 4 ],
|
|
12203
|
+
],
|
|
12204
|
+
variantSize32: 8,
|
|
12205
|
+
variantAlign32: 4,
|
|
12206
|
+
variantPayloadOffset32: 4,
|
|
12207
|
+
variantFlatCount: 2,
|
|
12208
|
+
})
|
|
11579
12209
|
],
|
|
11580
12210
|
hasResultPointer: true,
|
|
11581
12211
|
funcTypeIsAsync: false,
|
|
@@ -11597,14 +12227,44 @@ null,
|
|
|
11597
12227
|
isAsync: false,
|
|
11598
12228
|
isManualAsync: _trampoline24.manuallyAsync,
|
|
11599
12229
|
paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
|
|
11600
|
-
resultLowerFns: [
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
12230
|
+
resultLowerFns: [
|
|
12231
|
+
_lowerFlatResult({
|
|
12232
|
+
caseMetas: [
|
|
12233
|
+
[ 'ok',
|
|
12234
|
+
_lowerFlatOption({
|
|
12235
|
+
caseMetas: [
|
|
12236
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12237
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12238
|
+
_lowerFlatEnum({
|
|
12239
|
+
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],],
|
|
12240
|
+
variantSize32: 1,
|
|
12241
|
+
variantAlign32: 1,
|
|
12242
|
+
variantPayloadOffset32: 1,
|
|
12243
|
+
variantFlatCount: 1,
|
|
12244
|
+
})
|
|
12245
|
+
, 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
|
|
12246
|
+
],
|
|
12247
|
+
variantSize32: 16,
|
|
12248
|
+
variantAlign32: 4,
|
|
12249
|
+
variantPayloadOffset32: 4,
|
|
12250
|
+
variantFlatCount: 4,
|
|
12251
|
+
})
|
|
12252
|
+
, 20, 4, 4 ],
|
|
12253
|
+
[ 'err',
|
|
12254
|
+
_lowerFlatEnum({
|
|
12255
|
+
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],],
|
|
12256
|
+
variantSize32: 1,
|
|
12257
|
+
variantAlign32: 1,
|
|
12258
|
+
variantPayloadOffset32: 1,
|
|
12259
|
+
variantFlatCount: 1,
|
|
12260
|
+
})
|
|
12261
|
+
, 20, 4, 4 ],
|
|
12262
|
+
],
|
|
12263
|
+
variantSize32: 20,
|
|
12264
|
+
variantAlign32: 4,
|
|
12265
|
+
variantPayloadOffset32: 4,
|
|
12266
|
+
variantFlatCount: 5,
|
|
12267
|
+
})
|
|
11608
12268
|
],
|
|
11609
12269
|
hasResultPointer: true,
|
|
11610
12270
|
funcTypeIsAsync: false,
|
|
@@ -11625,14 +12285,44 @@ null,
|
|
|
11625
12285
|
isAsync: false,
|
|
11626
12286
|
isManualAsync: _trampoline24.manuallyAsync,
|
|
11627
12287
|
paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
|
|
11628
|
-
resultLowerFns: [
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
12288
|
+
resultLowerFns: [
|
|
12289
|
+
_lowerFlatResult({
|
|
12290
|
+
caseMetas: [
|
|
12291
|
+
[ 'ok',
|
|
12292
|
+
_lowerFlatOption({
|
|
12293
|
+
caseMetas: [
|
|
12294
|
+
[ 'none', null, 0, 0, 0 ],
|
|
12295
|
+
[ 'some', _lowerFlatRecord({ fieldMetas: [['type',
|
|
12296
|
+
_lowerFlatEnum({
|
|
12297
|
+
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],],
|
|
12298
|
+
variantSize32: 1,
|
|
12299
|
+
variantAlign32: 1,
|
|
12300
|
+
variantPayloadOffset32: 1,
|
|
12301
|
+
variantFlatCount: 1,
|
|
12302
|
+
})
|
|
12303
|
+
, 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
|
|
12304
|
+
],
|
|
12305
|
+
variantSize32: 16,
|
|
12306
|
+
variantAlign32: 4,
|
|
12307
|
+
variantPayloadOffset32: 4,
|
|
12308
|
+
variantFlatCount: 4,
|
|
12309
|
+
})
|
|
12310
|
+
, 20, 4, 4 ],
|
|
12311
|
+
[ 'err',
|
|
12312
|
+
_lowerFlatEnum({
|
|
12313
|
+
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],],
|
|
12314
|
+
variantSize32: 1,
|
|
12315
|
+
variantAlign32: 1,
|
|
12316
|
+
variantPayloadOffset32: 1,
|
|
12317
|
+
variantFlatCount: 1,
|
|
12318
|
+
})
|
|
12319
|
+
, 20, 4, 4 ],
|
|
12320
|
+
],
|
|
12321
|
+
variantSize32: 20,
|
|
12322
|
+
variantAlign32: 4,
|
|
12323
|
+
variantPayloadOffset32: 4,
|
|
12324
|
+
variantFlatCount: 5,
|
|
12325
|
+
})
|
|
11636
12326
|
],
|
|
11637
12327
|
hasResultPointer: true,
|
|
11638
12328
|
funcTypeIsAsync: false,
|
|
@@ -11654,30 +12344,43 @@ null,
|
|
|
11654
12344
|
isAsync: false,
|
|
11655
12345
|
isManualAsync: _trampoline25.manuallyAsync,
|
|
11656
12346
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
11657
|
-
resultLowerFns: [
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
11665
|
-
|
|
11666
|
-
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11678
|
-
|
|
11679
|
-
|
|
11680
|
-
|
|
12347
|
+
resultLowerFns: [
|
|
12348
|
+
_lowerFlatResult({
|
|
12349
|
+
caseMetas: [
|
|
12350
|
+
[ 'ok', _lowerFlatList({
|
|
12351
|
+
elemLowerFn: _lowerFlatU8,
|
|
12352
|
+
elemSize32: 1,
|
|
12353
|
+
elemAlign32: 1,
|
|
12354
|
+
}), 12, 4, 4 ],
|
|
12355
|
+
[ 'err', _lowerFlatVariant({
|
|
12356
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12357
|
+
componentIdx: 0,
|
|
12358
|
+
lowerFn:
|
|
12359
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12360
|
+
if (!(obj instanceof Error$1)) {
|
|
12361
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12362
|
+
}
|
|
12363
|
+
let handle = obj[symbolRscHandle];
|
|
12364
|
+
if (!handle) {
|
|
12365
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12366
|
+
captureTable0.set(rep, obj);
|
|
12367
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12368
|
+
}
|
|
12369
|
+
return handle;
|
|
12370
|
+
}
|
|
12371
|
+
,
|
|
12372
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12373
|
+
variantSize32: 8,
|
|
12374
|
+
variantAlign32: 4,
|
|
12375
|
+
variantPayloadOffset32: 4,
|
|
12376
|
+
variantFlatCount: 2,
|
|
12377
|
+
} ), 12, 4, 4 ],
|
|
12378
|
+
],
|
|
12379
|
+
variantSize32: 12,
|
|
12380
|
+
variantAlign32: 4,
|
|
12381
|
+
variantPayloadOffset32: 4,
|
|
12382
|
+
variantFlatCount: 3,
|
|
12383
|
+
})
|
|
11681
12384
|
],
|
|
11682
12385
|
hasResultPointer: true,
|
|
11683
12386
|
funcTypeIsAsync: false,
|
|
@@ -11698,30 +12401,43 @@ null,
|
|
|
11698
12401
|
isAsync: false,
|
|
11699
12402
|
isManualAsync: _trampoline25.manuallyAsync,
|
|
11700
12403
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
11701
|
-
resultLowerFns: [
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
|
|
12404
|
+
resultLowerFns: [
|
|
12405
|
+
_lowerFlatResult({
|
|
12406
|
+
caseMetas: [
|
|
12407
|
+
[ 'ok', _lowerFlatList({
|
|
12408
|
+
elemLowerFn: _lowerFlatU8,
|
|
12409
|
+
elemSize32: 1,
|
|
12410
|
+
elemAlign32: 1,
|
|
12411
|
+
}), 12, 4, 4 ],
|
|
12412
|
+
[ 'err', _lowerFlatVariant({
|
|
12413
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12414
|
+
componentIdx: 0,
|
|
12415
|
+
lowerFn:
|
|
12416
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12417
|
+
if (!(obj instanceof Error$1)) {
|
|
12418
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12419
|
+
}
|
|
12420
|
+
let handle = obj[symbolRscHandle];
|
|
12421
|
+
if (!handle) {
|
|
12422
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12423
|
+
captureTable0.set(rep, obj);
|
|
12424
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12425
|
+
}
|
|
12426
|
+
return handle;
|
|
12427
|
+
}
|
|
12428
|
+
,
|
|
12429
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12430
|
+
variantSize32: 8,
|
|
12431
|
+
variantAlign32: 4,
|
|
12432
|
+
variantPayloadOffset32: 4,
|
|
12433
|
+
variantFlatCount: 2,
|
|
12434
|
+
} ), 12, 4, 4 ],
|
|
12435
|
+
],
|
|
12436
|
+
variantSize32: 12,
|
|
12437
|
+
variantAlign32: 4,
|
|
12438
|
+
variantPayloadOffset32: 4,
|
|
12439
|
+
variantFlatCount: 3,
|
|
12440
|
+
})
|
|
11725
12441
|
],
|
|
11726
12442
|
hasResultPointer: true,
|
|
11727
12443
|
funcTypeIsAsync: false,
|
|
@@ -11743,30 +12459,43 @@ null,
|
|
|
11743
12459
|
isAsync: false,
|
|
11744
12460
|
isManualAsync: _trampoline26.manuallyAsync,
|
|
11745
12461
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
11746
|
-
resultLowerFns: [
|
|
11747
|
-
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
12462
|
+
resultLowerFns: [
|
|
12463
|
+
_lowerFlatResult({
|
|
12464
|
+
caseMetas: [
|
|
12465
|
+
[ 'ok', _lowerFlatList({
|
|
12466
|
+
elemLowerFn: _lowerFlatU8,
|
|
12467
|
+
elemSize32: 1,
|
|
12468
|
+
elemAlign32: 1,
|
|
12469
|
+
}), 12, 4, 4 ],
|
|
12470
|
+
[ 'err', _lowerFlatVariant({
|
|
12471
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12472
|
+
componentIdx: 0,
|
|
12473
|
+
lowerFn:
|
|
12474
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12475
|
+
if (!(obj instanceof Error$1)) {
|
|
12476
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12477
|
+
}
|
|
12478
|
+
let handle = obj[symbolRscHandle];
|
|
12479
|
+
if (!handle) {
|
|
12480
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12481
|
+
captureTable0.set(rep, obj);
|
|
12482
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12483
|
+
}
|
|
12484
|
+
return handle;
|
|
12485
|
+
}
|
|
12486
|
+
,
|
|
12487
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12488
|
+
variantSize32: 8,
|
|
12489
|
+
variantAlign32: 4,
|
|
12490
|
+
variantPayloadOffset32: 4,
|
|
12491
|
+
variantFlatCount: 2,
|
|
12492
|
+
} ), 12, 4, 4 ],
|
|
12493
|
+
],
|
|
12494
|
+
variantSize32: 12,
|
|
12495
|
+
variantAlign32: 4,
|
|
12496
|
+
variantPayloadOffset32: 4,
|
|
12497
|
+
variantFlatCount: 3,
|
|
12498
|
+
})
|
|
11770
12499
|
],
|
|
11771
12500
|
hasResultPointer: true,
|
|
11772
12501
|
funcTypeIsAsync: false,
|
|
@@ -11787,30 +12516,43 @@ null,
|
|
|
11787
12516
|
isAsync: false,
|
|
11788
12517
|
isManualAsync: _trampoline26.manuallyAsync,
|
|
11789
12518
|
paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
|
|
11790
|
-
resultLowerFns: [
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
|
|
11805
|
-
|
|
11806
|
-
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11812
|
-
|
|
11813
|
-
|
|
12519
|
+
resultLowerFns: [
|
|
12520
|
+
_lowerFlatResult({
|
|
12521
|
+
caseMetas: [
|
|
12522
|
+
[ 'ok', _lowerFlatList({
|
|
12523
|
+
elemLowerFn: _lowerFlatU8,
|
|
12524
|
+
elemSize32: 1,
|
|
12525
|
+
elemAlign32: 1,
|
|
12526
|
+
}), 12, 4, 4 ],
|
|
12527
|
+
[ 'err', _lowerFlatVariant({
|
|
12528
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12529
|
+
componentIdx: 0,
|
|
12530
|
+
lowerFn:
|
|
12531
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12532
|
+
if (!(obj instanceof Error$1)) {
|
|
12533
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12534
|
+
}
|
|
12535
|
+
let handle = obj[symbolRscHandle];
|
|
12536
|
+
if (!handle) {
|
|
12537
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12538
|
+
captureTable0.set(rep, obj);
|
|
12539
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12540
|
+
}
|
|
12541
|
+
return handle;
|
|
12542
|
+
}
|
|
12543
|
+
,
|
|
12544
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12545
|
+
variantSize32: 8,
|
|
12546
|
+
variantAlign32: 4,
|
|
12547
|
+
variantPayloadOffset32: 4,
|
|
12548
|
+
variantFlatCount: 2,
|
|
12549
|
+
} ), 12, 4, 4 ],
|
|
12550
|
+
],
|
|
12551
|
+
variantSize32: 12,
|
|
12552
|
+
variantAlign32: 4,
|
|
12553
|
+
variantPayloadOffset32: 4,
|
|
12554
|
+
variantFlatCount: 3,
|
|
12555
|
+
})
|
|
11814
12556
|
],
|
|
11815
12557
|
hasResultPointer: true,
|
|
11816
12558
|
funcTypeIsAsync: false,
|
|
@@ -11832,26 +12574,39 @@ null,
|
|
|
11832
12574
|
isAsync: false,
|
|
11833
12575
|
isManualAsync: _trampoline27.manuallyAsync,
|
|
11834
12576
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
11835
|
-
resultLowerFns: [
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
|
|
12577
|
+
resultLowerFns: [
|
|
12578
|
+
_lowerFlatResult({
|
|
12579
|
+
caseMetas: [
|
|
12580
|
+
[ 'ok', _lowerFlatU64, 16, 8, 8 ],
|
|
12581
|
+
[ 'err', _lowerFlatVariant({
|
|
12582
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12583
|
+
componentIdx: 0,
|
|
12584
|
+
lowerFn:
|
|
12585
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12586
|
+
if (!(obj instanceof Error$1)) {
|
|
12587
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12588
|
+
}
|
|
12589
|
+
let handle = obj[symbolRscHandle];
|
|
12590
|
+
if (!handle) {
|
|
12591
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12592
|
+
captureTable0.set(rep, obj);
|
|
12593
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12594
|
+
}
|
|
12595
|
+
return handle;
|
|
12596
|
+
}
|
|
12597
|
+
,
|
|
12598
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12599
|
+
variantSize32: 8,
|
|
12600
|
+
variantAlign32: 4,
|
|
12601
|
+
variantPayloadOffset32: 4,
|
|
12602
|
+
variantFlatCount: 2,
|
|
12603
|
+
} ), 16, 8, 8 ],
|
|
12604
|
+
],
|
|
12605
|
+
variantSize32: 16,
|
|
12606
|
+
variantAlign32: 8,
|
|
12607
|
+
variantPayloadOffset32: 8,
|
|
12608
|
+
variantFlatCount: 3,
|
|
12609
|
+
})
|
|
11855
12610
|
],
|
|
11856
12611
|
hasResultPointer: true,
|
|
11857
12612
|
funcTypeIsAsync: false,
|
|
@@ -11872,26 +12627,39 @@ null,
|
|
|
11872
12627
|
isAsync: false,
|
|
11873
12628
|
isManualAsync: _trampoline27.manuallyAsync,
|
|
11874
12629
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
11875
|
-
resultLowerFns: [
|
|
11876
|
-
|
|
11877
|
-
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
11893
|
-
|
|
11894
|
-
|
|
12630
|
+
resultLowerFns: [
|
|
12631
|
+
_lowerFlatResult({
|
|
12632
|
+
caseMetas: [
|
|
12633
|
+
[ 'ok', _lowerFlatU64, 16, 8, 8 ],
|
|
12634
|
+
[ 'err', _lowerFlatVariant({
|
|
12635
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12636
|
+
componentIdx: 0,
|
|
12637
|
+
lowerFn:
|
|
12638
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12639
|
+
if (!(obj instanceof Error$1)) {
|
|
12640
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12641
|
+
}
|
|
12642
|
+
let handle = obj[symbolRscHandle];
|
|
12643
|
+
if (!handle) {
|
|
12644
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12645
|
+
captureTable0.set(rep, obj);
|
|
12646
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12647
|
+
}
|
|
12648
|
+
return handle;
|
|
12649
|
+
}
|
|
12650
|
+
,
|
|
12651
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12652
|
+
variantSize32: 8,
|
|
12653
|
+
variantAlign32: 4,
|
|
12654
|
+
variantPayloadOffset32: 4,
|
|
12655
|
+
variantFlatCount: 2,
|
|
12656
|
+
} ), 16, 8, 8 ],
|
|
12657
|
+
],
|
|
12658
|
+
variantSize32: 16,
|
|
12659
|
+
variantAlign32: 8,
|
|
12660
|
+
variantPayloadOffset32: 8,
|
|
12661
|
+
variantFlatCount: 3,
|
|
12662
|
+
})
|
|
11895
12663
|
],
|
|
11896
12664
|
hasResultPointer: true,
|
|
11897
12665
|
funcTypeIsAsync: false,
|
|
@@ -11918,26 +12686,39 @@ null,
|
|
|
11918
12686
|
elemSize32: 1,
|
|
11919
12687
|
typedArray: Uint8Array,
|
|
11920
12688
|
})],
|
|
11921
|
-
resultLowerFns: [
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
12689
|
+
resultLowerFns: [
|
|
12690
|
+
_lowerFlatResult({
|
|
12691
|
+
caseMetas: [
|
|
12692
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12693
|
+
[ 'err', _lowerFlatVariant({
|
|
12694
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12695
|
+
componentIdx: 0,
|
|
12696
|
+
lowerFn:
|
|
12697
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12698
|
+
if (!(obj instanceof Error$1)) {
|
|
12699
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12700
|
+
}
|
|
12701
|
+
let handle = obj[symbolRscHandle];
|
|
12702
|
+
if (!handle) {
|
|
12703
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12704
|
+
captureTable0.set(rep, obj);
|
|
12705
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12706
|
+
}
|
|
12707
|
+
return handle;
|
|
12708
|
+
}
|
|
12709
|
+
,
|
|
12710
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12711
|
+
variantSize32: 8,
|
|
12712
|
+
variantAlign32: 4,
|
|
12713
|
+
variantPayloadOffset32: 4,
|
|
12714
|
+
variantFlatCount: 2,
|
|
12715
|
+
} ), 12, 4, 4 ],
|
|
12716
|
+
],
|
|
12717
|
+
variantSize32: 12,
|
|
12718
|
+
variantAlign32: 4,
|
|
12719
|
+
variantPayloadOffset32: 4,
|
|
12720
|
+
variantFlatCount: 3,
|
|
12721
|
+
})
|
|
11941
12722
|
],
|
|
11942
12723
|
hasResultPointer: true,
|
|
11943
12724
|
funcTypeIsAsync: false,
|
|
@@ -11963,26 +12744,39 @@ null,
|
|
|
11963
12744
|
elemSize32: 1,
|
|
11964
12745
|
typedArray: Uint8Array,
|
|
11965
12746
|
})],
|
|
11966
|
-
resultLowerFns: [
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
12747
|
+
resultLowerFns: [
|
|
12748
|
+
_lowerFlatResult({
|
|
12749
|
+
caseMetas: [
|
|
12750
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12751
|
+
[ 'err', _lowerFlatVariant({
|
|
12752
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12753
|
+
componentIdx: 0,
|
|
12754
|
+
lowerFn:
|
|
12755
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12756
|
+
if (!(obj instanceof Error$1)) {
|
|
12757
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12758
|
+
}
|
|
12759
|
+
let handle = obj[symbolRscHandle];
|
|
12760
|
+
if (!handle) {
|
|
12761
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12762
|
+
captureTable0.set(rep, obj);
|
|
12763
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12764
|
+
}
|
|
12765
|
+
return handle;
|
|
12766
|
+
}
|
|
12767
|
+
,
|
|
12768
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12769
|
+
variantSize32: 8,
|
|
12770
|
+
variantAlign32: 4,
|
|
12771
|
+
variantPayloadOffset32: 4,
|
|
12772
|
+
variantFlatCount: 2,
|
|
12773
|
+
} ), 12, 4, 4 ],
|
|
12774
|
+
],
|
|
12775
|
+
variantSize32: 12,
|
|
12776
|
+
variantAlign32: 4,
|
|
12777
|
+
variantPayloadOffset32: 4,
|
|
12778
|
+
variantFlatCount: 3,
|
|
12779
|
+
})
|
|
11986
12780
|
],
|
|
11987
12781
|
hasResultPointer: true,
|
|
11988
12782
|
funcTypeIsAsync: false,
|
|
@@ -12009,26 +12803,39 @@ null,
|
|
|
12009
12803
|
elemSize32: 1,
|
|
12010
12804
|
typedArray: Uint8Array,
|
|
12011
12805
|
})],
|
|
12012
|
-
resultLowerFns: [
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12020
|
-
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
|
|
12806
|
+
resultLowerFns: [
|
|
12807
|
+
_lowerFlatResult({
|
|
12808
|
+
caseMetas: [
|
|
12809
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12810
|
+
[ 'err', _lowerFlatVariant({
|
|
12811
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12812
|
+
componentIdx: 0,
|
|
12813
|
+
lowerFn:
|
|
12814
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12815
|
+
if (!(obj instanceof Error$1)) {
|
|
12816
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12817
|
+
}
|
|
12818
|
+
let handle = obj[symbolRscHandle];
|
|
12819
|
+
if (!handle) {
|
|
12820
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12821
|
+
captureTable0.set(rep, obj);
|
|
12822
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12823
|
+
}
|
|
12824
|
+
return handle;
|
|
12825
|
+
}
|
|
12826
|
+
,
|
|
12827
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12828
|
+
variantSize32: 8,
|
|
12829
|
+
variantAlign32: 4,
|
|
12830
|
+
variantPayloadOffset32: 4,
|
|
12831
|
+
variantFlatCount: 2,
|
|
12832
|
+
} ), 12, 4, 4 ],
|
|
12833
|
+
],
|
|
12834
|
+
variantSize32: 12,
|
|
12835
|
+
variantAlign32: 4,
|
|
12836
|
+
variantPayloadOffset32: 4,
|
|
12837
|
+
variantFlatCount: 3,
|
|
12838
|
+
})
|
|
12032
12839
|
],
|
|
12033
12840
|
hasResultPointer: true,
|
|
12034
12841
|
funcTypeIsAsync: false,
|
|
@@ -12054,26 +12861,39 @@ null,
|
|
|
12054
12861
|
elemSize32: 1,
|
|
12055
12862
|
typedArray: Uint8Array,
|
|
12056
12863
|
})],
|
|
12057
|
-
resultLowerFns: [
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
|
|
12864
|
+
resultLowerFns: [
|
|
12865
|
+
_lowerFlatResult({
|
|
12866
|
+
caseMetas: [
|
|
12867
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12868
|
+
[ 'err', _lowerFlatVariant({
|
|
12869
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12870
|
+
componentIdx: 0,
|
|
12871
|
+
lowerFn:
|
|
12872
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12873
|
+
if (!(obj instanceof Error$1)) {
|
|
12874
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12875
|
+
}
|
|
12876
|
+
let handle = obj[symbolRscHandle];
|
|
12877
|
+
if (!handle) {
|
|
12878
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12879
|
+
captureTable0.set(rep, obj);
|
|
12880
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12881
|
+
}
|
|
12882
|
+
return handle;
|
|
12883
|
+
}
|
|
12884
|
+
,
|
|
12885
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12886
|
+
variantSize32: 8,
|
|
12887
|
+
variantAlign32: 4,
|
|
12888
|
+
variantPayloadOffset32: 4,
|
|
12889
|
+
variantFlatCount: 2,
|
|
12890
|
+
} ), 12, 4, 4 ],
|
|
12891
|
+
],
|
|
12892
|
+
variantSize32: 12,
|
|
12893
|
+
variantAlign32: 4,
|
|
12894
|
+
variantPayloadOffset32: 4,
|
|
12895
|
+
variantFlatCount: 3,
|
|
12896
|
+
})
|
|
12077
12897
|
],
|
|
12078
12898
|
hasResultPointer: true,
|
|
12079
12899
|
funcTypeIsAsync: false,
|
|
@@ -12095,26 +12915,39 @@ null,
|
|
|
12095
12915
|
isAsync: false,
|
|
12096
12916
|
isManualAsync: _trampoline30.manuallyAsync,
|
|
12097
12917
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
12098
|
-
resultLowerFns: [
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
12107
|
-
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
|
|
12116
|
-
|
|
12117
|
-
|
|
12918
|
+
resultLowerFns: [
|
|
12919
|
+
_lowerFlatResult({
|
|
12920
|
+
caseMetas: [
|
|
12921
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12922
|
+
[ 'err', _lowerFlatVariant({
|
|
12923
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12924
|
+
componentIdx: 0,
|
|
12925
|
+
lowerFn:
|
|
12926
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12927
|
+
if (!(obj instanceof Error$1)) {
|
|
12928
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12929
|
+
}
|
|
12930
|
+
let handle = obj[symbolRscHandle];
|
|
12931
|
+
if (!handle) {
|
|
12932
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12933
|
+
captureTable0.set(rep, obj);
|
|
12934
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12935
|
+
}
|
|
12936
|
+
return handle;
|
|
12937
|
+
}
|
|
12938
|
+
,
|
|
12939
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12940
|
+
variantSize32: 8,
|
|
12941
|
+
variantAlign32: 4,
|
|
12942
|
+
variantPayloadOffset32: 4,
|
|
12943
|
+
variantFlatCount: 2,
|
|
12944
|
+
} ), 12, 4, 4 ],
|
|
12945
|
+
],
|
|
12946
|
+
variantSize32: 12,
|
|
12947
|
+
variantAlign32: 4,
|
|
12948
|
+
variantPayloadOffset32: 4,
|
|
12949
|
+
variantFlatCount: 3,
|
|
12950
|
+
})
|
|
12118
12951
|
],
|
|
12119
12952
|
hasResultPointer: true,
|
|
12120
12953
|
funcTypeIsAsync: false,
|
|
@@ -12135,26 +12968,39 @@ null,
|
|
|
12135
12968
|
isAsync: false,
|
|
12136
12969
|
isManualAsync: _trampoline30.manuallyAsync,
|
|
12137
12970
|
paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
|
|
12138
|
-
resultLowerFns: [
|
|
12139
|
-
|
|
12140
|
-
|
|
12141
|
-
|
|
12142
|
-
|
|
12143
|
-
|
|
12144
|
-
|
|
12145
|
-
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12152
|
-
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12971
|
+
resultLowerFns: [
|
|
12972
|
+
_lowerFlatResult({
|
|
12973
|
+
caseMetas: [
|
|
12974
|
+
[ 'ok', null, 12, 4, 4 ],
|
|
12975
|
+
[ 'err', _lowerFlatVariant({
|
|
12976
|
+
caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
|
|
12977
|
+
componentIdx: 0,
|
|
12978
|
+
lowerFn:
|
|
12979
|
+
function lowerImportedOwnedHost_Error$1(obj) {
|
|
12980
|
+
if (!(obj instanceof Error$1)) {
|
|
12981
|
+
throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
|
|
12982
|
+
}
|
|
12983
|
+
let handle = obj[symbolRscHandle];
|
|
12984
|
+
if (!handle) {
|
|
12985
|
+
const rep = obj[symbolRscRep] || ++captureCnt0;
|
|
12986
|
+
captureTable0.set(rep, obj);
|
|
12987
|
+
handle = rscTableCreateOwn(handleTable0, rep);
|
|
12988
|
+
}
|
|
12989
|
+
return handle;
|
|
12990
|
+
}
|
|
12991
|
+
,
|
|
12992
|
+
}), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
|
|
12993
|
+
variantSize32: 8,
|
|
12994
|
+
variantAlign32: 4,
|
|
12995
|
+
variantPayloadOffset32: 4,
|
|
12996
|
+
variantFlatCount: 2,
|
|
12997
|
+
} ), 12, 4, 4 ],
|
|
12998
|
+
],
|
|
12999
|
+
variantSize32: 12,
|
|
13000
|
+
variantAlign32: 4,
|
|
13001
|
+
variantPayloadOffset32: 4,
|
|
13002
|
+
variantFlatCount: 3,
|
|
13003
|
+
})
|
|
12158
13004
|
],
|
|
12159
13005
|
hasResultPointer: true,
|
|
12160
13006
|
funcTypeIsAsync: false,
|
|
@@ -12306,26 +13152,33 @@ null,
|
|
|
12306
13152
|
isAsync: false,
|
|
12307
13153
|
isManualAsync: _trampoline33.manuallyAsync,
|
|
12308
13154
|
paramLiftFns: [],
|
|
12309
|
-
resultLowerFns: [
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
|
-
|
|
12313
|
-
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
|
|
12319
|
-
|
|
12320
|
-
|
|
12321
|
-
|
|
12322
|
-
|
|
13155
|
+
resultLowerFns: [
|
|
13156
|
+
_lowerFlatOption({
|
|
13157
|
+
caseMetas: [
|
|
13158
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13159
|
+
[ 'some', _lowerFlatOwn({
|
|
13160
|
+
componentIdx: 0,
|
|
13161
|
+
lowerFn:
|
|
13162
|
+
function lowerImportedOwnedHost_TerminalInput(obj) {
|
|
13163
|
+
if (!(obj instanceof TerminalInput)) {
|
|
13164
|
+
throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
|
|
13165
|
+
}
|
|
13166
|
+
let handle = obj[symbolRscHandle];
|
|
13167
|
+
if (!handle) {
|
|
13168
|
+
const rep = obj[symbolRscRep] || ++captureCnt3;
|
|
13169
|
+
captureTable3.set(rep, obj);
|
|
13170
|
+
handle = rscTableCreateOwn(handleTable3, rep);
|
|
13171
|
+
}
|
|
13172
|
+
return handle;
|
|
12323
13173
|
}
|
|
12324
|
-
|
|
12325
|
-
}
|
|
12326
|
-
,
|
|
12327
|
-
|
|
12328
|
-
|
|
13174
|
+
,
|
|
13175
|
+
}), 4, 4, 1],
|
|
13176
|
+
],
|
|
13177
|
+
variantSize32: 8,
|
|
13178
|
+
variantAlign32: 4,
|
|
13179
|
+
variantPayloadOffset32: 4,
|
|
13180
|
+
variantFlatCount: 2,
|
|
13181
|
+
})
|
|
12329
13182
|
],
|
|
12330
13183
|
hasResultPointer: true,
|
|
12331
13184
|
funcTypeIsAsync: false,
|
|
@@ -12346,26 +13199,33 @@ null,
|
|
|
12346
13199
|
isAsync: false,
|
|
12347
13200
|
isManualAsync: _trampoline33.manuallyAsync,
|
|
12348
13201
|
paramLiftFns: [],
|
|
12349
|
-
resultLowerFns: [
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
|
|
12354
|
-
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
13202
|
+
resultLowerFns: [
|
|
13203
|
+
_lowerFlatOption({
|
|
13204
|
+
caseMetas: [
|
|
13205
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13206
|
+
[ 'some', _lowerFlatOwn({
|
|
13207
|
+
componentIdx: 0,
|
|
13208
|
+
lowerFn:
|
|
13209
|
+
function lowerImportedOwnedHost_TerminalInput(obj) {
|
|
13210
|
+
if (!(obj instanceof TerminalInput)) {
|
|
13211
|
+
throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
|
|
13212
|
+
}
|
|
13213
|
+
let handle = obj[symbolRscHandle];
|
|
13214
|
+
if (!handle) {
|
|
13215
|
+
const rep = obj[symbolRscRep] || ++captureCnt3;
|
|
13216
|
+
captureTable3.set(rep, obj);
|
|
13217
|
+
handle = rscTableCreateOwn(handleTable3, rep);
|
|
13218
|
+
}
|
|
13219
|
+
return handle;
|
|
12363
13220
|
}
|
|
12364
|
-
|
|
12365
|
-
}
|
|
12366
|
-
,
|
|
12367
|
-
|
|
12368
|
-
|
|
13221
|
+
,
|
|
13222
|
+
}), 4, 4, 1],
|
|
13223
|
+
],
|
|
13224
|
+
variantSize32: 8,
|
|
13225
|
+
variantAlign32: 4,
|
|
13226
|
+
variantPayloadOffset32: 4,
|
|
13227
|
+
variantFlatCount: 2,
|
|
13228
|
+
})
|
|
12369
13229
|
],
|
|
12370
13230
|
hasResultPointer: true,
|
|
12371
13231
|
funcTypeIsAsync: false,
|
|
@@ -12387,26 +13247,33 @@ null,
|
|
|
12387
13247
|
isAsync: false,
|
|
12388
13248
|
isManualAsync: _trampoline34.manuallyAsync,
|
|
12389
13249
|
paramLiftFns: [],
|
|
12390
|
-
resultLowerFns: [
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
|
|
12403
|
-
|
|
13250
|
+
resultLowerFns: [
|
|
13251
|
+
_lowerFlatOption({
|
|
13252
|
+
caseMetas: [
|
|
13253
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13254
|
+
[ 'some', _lowerFlatOwn({
|
|
13255
|
+
componentIdx: 0,
|
|
13256
|
+
lowerFn:
|
|
13257
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13258
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13259
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13260
|
+
}
|
|
13261
|
+
let handle = obj[symbolRscHandle];
|
|
13262
|
+
if (!handle) {
|
|
13263
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13264
|
+
captureTable4.set(rep, obj);
|
|
13265
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13266
|
+
}
|
|
13267
|
+
return handle;
|
|
12404
13268
|
}
|
|
12405
|
-
|
|
12406
|
-
}
|
|
12407
|
-
,
|
|
12408
|
-
|
|
12409
|
-
|
|
13269
|
+
,
|
|
13270
|
+
}), 4, 4, 1],
|
|
13271
|
+
],
|
|
13272
|
+
variantSize32: 8,
|
|
13273
|
+
variantAlign32: 4,
|
|
13274
|
+
variantPayloadOffset32: 4,
|
|
13275
|
+
variantFlatCount: 2,
|
|
13276
|
+
})
|
|
12410
13277
|
],
|
|
12411
13278
|
hasResultPointer: true,
|
|
12412
13279
|
funcTypeIsAsync: false,
|
|
@@ -12427,26 +13294,33 @@ null,
|
|
|
12427
13294
|
isAsync: false,
|
|
12428
13295
|
isManualAsync: _trampoline34.manuallyAsync,
|
|
12429
13296
|
paramLiftFns: [],
|
|
12430
|
-
resultLowerFns: [
|
|
12431
|
-
|
|
12432
|
-
|
|
12433
|
-
|
|
12434
|
-
|
|
12435
|
-
|
|
12436
|
-
|
|
12437
|
-
|
|
12438
|
-
|
|
12439
|
-
|
|
12440
|
-
|
|
12441
|
-
|
|
12442
|
-
|
|
12443
|
-
|
|
13297
|
+
resultLowerFns: [
|
|
13298
|
+
_lowerFlatOption({
|
|
13299
|
+
caseMetas: [
|
|
13300
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13301
|
+
[ 'some', _lowerFlatOwn({
|
|
13302
|
+
componentIdx: 0,
|
|
13303
|
+
lowerFn:
|
|
13304
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13305
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13306
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13307
|
+
}
|
|
13308
|
+
let handle = obj[symbolRscHandle];
|
|
13309
|
+
if (!handle) {
|
|
13310
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13311
|
+
captureTable4.set(rep, obj);
|
|
13312
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13313
|
+
}
|
|
13314
|
+
return handle;
|
|
12444
13315
|
}
|
|
12445
|
-
|
|
12446
|
-
}
|
|
12447
|
-
,
|
|
12448
|
-
|
|
12449
|
-
|
|
13316
|
+
,
|
|
13317
|
+
}), 4, 4, 1],
|
|
13318
|
+
],
|
|
13319
|
+
variantSize32: 8,
|
|
13320
|
+
variantAlign32: 4,
|
|
13321
|
+
variantPayloadOffset32: 4,
|
|
13322
|
+
variantFlatCount: 2,
|
|
13323
|
+
})
|
|
12450
13324
|
],
|
|
12451
13325
|
hasResultPointer: true,
|
|
12452
13326
|
funcTypeIsAsync: false,
|
|
@@ -12468,26 +13342,33 @@ null,
|
|
|
12468
13342
|
isAsync: false,
|
|
12469
13343
|
isManualAsync: _trampoline35.manuallyAsync,
|
|
12470
13344
|
paramLiftFns: [],
|
|
12471
|
-
resultLowerFns: [
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
-
|
|
12480
|
-
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
|
|
12484
|
-
|
|
13345
|
+
resultLowerFns: [
|
|
13346
|
+
_lowerFlatOption({
|
|
13347
|
+
caseMetas: [
|
|
13348
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13349
|
+
[ 'some', _lowerFlatOwn({
|
|
13350
|
+
componentIdx: 0,
|
|
13351
|
+
lowerFn:
|
|
13352
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13353
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13354
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13355
|
+
}
|
|
13356
|
+
let handle = obj[symbolRscHandle];
|
|
13357
|
+
if (!handle) {
|
|
13358
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13359
|
+
captureTable4.set(rep, obj);
|
|
13360
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13361
|
+
}
|
|
13362
|
+
return handle;
|
|
12485
13363
|
}
|
|
12486
|
-
|
|
12487
|
-
}
|
|
12488
|
-
,
|
|
12489
|
-
|
|
12490
|
-
|
|
13364
|
+
,
|
|
13365
|
+
}), 4, 4, 1],
|
|
13366
|
+
],
|
|
13367
|
+
variantSize32: 8,
|
|
13368
|
+
variantAlign32: 4,
|
|
13369
|
+
variantPayloadOffset32: 4,
|
|
13370
|
+
variantFlatCount: 2,
|
|
13371
|
+
})
|
|
12491
13372
|
],
|
|
12492
13373
|
hasResultPointer: true,
|
|
12493
13374
|
funcTypeIsAsync: false,
|
|
@@ -12508,26 +13389,33 @@ null,
|
|
|
12508
13389
|
isAsync: false,
|
|
12509
13390
|
isManualAsync: _trampoline35.manuallyAsync,
|
|
12510
13391
|
paramLiftFns: [],
|
|
12511
|
-
resultLowerFns: [
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
|
|
12515
|
-
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
13392
|
+
resultLowerFns: [
|
|
13393
|
+
_lowerFlatOption({
|
|
13394
|
+
caseMetas: [
|
|
13395
|
+
[ 'none', null, 0, 0, 0 ],
|
|
13396
|
+
[ 'some', _lowerFlatOwn({
|
|
13397
|
+
componentIdx: 0,
|
|
13398
|
+
lowerFn:
|
|
13399
|
+
function lowerImportedOwnedHost_TerminalOutput(obj) {
|
|
13400
|
+
if (!(obj instanceof TerminalOutput)) {
|
|
13401
|
+
throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
|
|
13402
|
+
}
|
|
13403
|
+
let handle = obj[symbolRscHandle];
|
|
13404
|
+
if (!handle) {
|
|
13405
|
+
const rep = obj[symbolRscRep] || ++captureCnt4;
|
|
13406
|
+
captureTable4.set(rep, obj);
|
|
13407
|
+
handle = rscTableCreateOwn(handleTable4, rep);
|
|
13408
|
+
}
|
|
13409
|
+
return handle;
|
|
12525
13410
|
}
|
|
12526
|
-
|
|
12527
|
-
}
|
|
12528
|
-
,
|
|
12529
|
-
|
|
12530
|
-
|
|
13411
|
+
,
|
|
13412
|
+
}), 4, 4, 1],
|
|
13413
|
+
],
|
|
13414
|
+
variantSize32: 8,
|
|
13415
|
+
variantAlign32: 4,
|
|
13416
|
+
variantPayloadOffset32: 4,
|
|
13417
|
+
variantFlatCount: 2,
|
|
13418
|
+
})
|
|
12531
13419
|
],
|
|
12532
13420
|
hasResultPointer: true,
|
|
12533
13421
|
funcTypeIsAsync: false,
|
|
@@ -12547,8 +13435,8 @@ export const $init = (() => {
|
|
|
12547
13435
|
let gen = (function* _initGenerator () {
|
|
12548
13436
|
const module0 = fetchCompile(new URL('./js-component-bindgen-component.core.wasm', import.meta.url));
|
|
12549
13437
|
const module1 = fetchCompile(new URL('./js-component-bindgen-component.core2.wasm', import.meta.url));
|
|
12550
|
-
const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+
|
|
12551
|
-
const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+
|
|
13438
|
+
const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNTEuMA');
|
|
13439
|
+
const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjUxLjA');
|
|
12552
13440
|
({ exports: exports0 } = yield instantiateCore(yield module2));
|
|
12553
13441
|
({ exports: exports1 } = yield instantiateCore(yield module0, {
|
|
12554
13442
|
wasi_snapshot_preview1: {
|