ByteBlockBuilder.decide.with.max: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend as ByteBlockBuilder Lines 51-59 of mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend&start_line=51&end_line=59 import Base def decide.with.max( used_bytes: Nat, +record_bytes: Nat, limits: Nat & Nat ) -> Decision: match limits: case (record_cap, block_cap): decide.sized(used_bytes, record_bytes, block_cap, Nat.is_le(record_bytes, record_cap)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_le https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend&name=decide.sized