OwnerGeneration.next.copies: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend as OwnerGeneration Lines 49-53 of mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend&start_line=49&end_line=53 import Base # Advances a stored generation or reports terminal exhaustion. def next.copies(copies: U32 & U32) -> Decision: match copies: case (for_increment, for_wrap): next.result(U32.add(for_increment, 1), U32.is_zero(U32.add(for_wrap, 1))) Uses (7): 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=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_zero https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend&name=next.result