This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// Metro module 1913 (f1914).
import { MAXIMUM_KEY_BITS } from "./Module1914";
export function combineKey(a0, a1) {
const r14 = Array.isArray(a1) ? [...a0, ...a1] : [...a0, a1];
if (r14.length >= 1 && r14.length <= MAXIMUM_KEY_BITS) {
return r14;
}
throw new Error(`combination results in an invalid key that has ${r14.length} elements: ${JSON.stringify(r14)}`);
}
export function combineKeyPrefix(a0, a1) {
const r14 = Array.isArray(a1) ? [...a0, ...a1] : [...a0, a1];
if (r14.length <= MAXIMUM_KEY_BITS) {
return r14;
}
throw new Error(`combination results in an invalid prefix key that has ${r14.length} elements: ${JSON.stringify(r14)}`);
}