~/bend-docscommunity

checksum.bend checks

raw source on the hub · import element-compress@0.1.0.1/checksum.bend as Checksum

1 import
import Base

Definitions

def pick source · line 6 · raw

@c:Bool -> @a:U32 -> @b:U32 -> U32

def crc_bit source · line 11 · raw

@+c:U32 -> U32

def crc_entry source · line 14 · raw

@+n:U32 -> U32

def crc_nibble_value source · line 19 · raw

@a:Bool -> @b:Bool -> @c:Bool -> @d:Bool -> U32

Four-bit CRC table, selected by four bits rather than a linear List index. Entries are four applications of crc_bit to 0..15 (polynomial 0xEDB88320).

def crc_nibble source · line 54 · raw

@+c:U32 -> U32

def crc_go source · line 59 · raw

@bs:List<&2, U32> -> @+c:U32 -> U32

def crc32 source · line 66 · raw

@+bs:List<&2, U32> -> U32

def adler_go source · line 71 · raw

@bs:List<&2, U32> -> @+a:U32 -> @+b:U32 -> U32

def adler32 source · line 79 · raw

@+bs:List<&2, U32> -> U32