Crc.n64.pick: def of bend-osdev-crc@0.1.0.0 Import: import bend-osdev-crc@0.1.0.0/crc.bend as Crc Lines 145-150 of bend-osdev-crc@0.1.0.0/crc.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crc@0.1.0.0/crc.bend&start_line=145&end_line=150 import Base import bend-osdev-word64@0.1.0.0/word64.bend as W def n64.pick(top: Bool, +poly: W.W64, c: W.W64) -> W.W64: match top: case True{}: W.W64.xor(W.W64.shl(c, 1n), poly) case False{}: W.W64.shl(c, 1n) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64.shl https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64.xor