def n64.raw

bend-osdev-crc@0.1.0.0 · crc.bend:159

import bend-osdev-crc@0.1.0.0/crc.bend as Crc
import Base
import bend-osdev-word64@0.1.0.0/word64.bend as W

159def n64.raw(xs: List<&2, U32>, +poly: W.W64, c: W.W64) -> W.W64:
160  match xs:
161    case Nil{}:
162      c
163    case Con{h, t}:
164      n64.raw(t, poly, n64.bits(8n, poly, W.W64.xor(c, W.W64.from_parts(U32.shln(U32.and(h, 255), 24n), 0))))

Uses (8)

Used by (3)