AmlResource.res.min.small: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/aml_resource.bend as AmlResource Lines 96-108 of bend-osdev-acpi@0.1.1.0/aml_resource.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/aml_resource.bend&start_line=96&end_line=108 import Base # the minimum lengths of the descriptors read def res.min.small(+t: Nat) -> Nat: match t: case 4n: 2n case 5n: 2n case 8n: 7n case 9n: 3n case _: 0n Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat