Table.t32.update.go: def of bend-osdev-crc@0.1.0.0 Import: import bend-osdev-crc@0.1.0.0/table.bend as Table Lines 72-78 of bend-osdev-crc@0.1.0.0/table.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crc@0.1.0.0/table.bend&start_line=72&end_line=78 import Base import bend-osdev-crc@0.1.0.0/crc.bend as C def t32.update.go(reflected: Bool, +width: Nat, +poly: U32, c: U32, xs: List<&2, U32>) -> U32: match reflected: case True{}: +rp = C.reflect32(poly, width) t32.snd(t32.r.raw(xs, (t32.fill.r(256n, [0 : U32*256n], rp, 0), c))) case False{}: t32.update.msb(Nat.is_lt(width, 8n), width, poly, c, xs) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.new https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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_lt 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=bend-osdev-crc@0.1.0.0/crc.bend&name=reflect32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-crc@0.1.0.0/table.bend&name=t32.fill.r https://jend.leeeet.dev/definition.txt?path=bend-osdev-crc@0.1.0.0/table.bend&name=t32.r.raw https://jend.leeeet.dev/definition.txt?path=bend-osdev-crc@0.1.0.0/table.bend&name=t32.snd https://jend.leeeet.dev/definition.txt?path=bend-osdev-crc@0.1.0.0/table.bend&name=t32.update.msb