Documentation
¶
Index ¶
- Variables
- func ApplyErrorGF2(code uint32, errorBits uint32) uint32
- func DecodeLowLevel(dstPreallocated []byte, g24 []byte)
- func DecodeLowLevel0(dstPreallocated []byte, g24 []byte, nCodeWords uint32)
- func DecodeLowLevel1(dstPreallocated []byte, g24 []byte, nCodeWords uint32)
- func DecodeLowLevel2(dstPreallocated []byte, g24 []byte, nCodeWords uint32)
- func DecodeSingle(v uint32) (corrected uint16)
- func EncodeBytes(dstP []byte, p []byte) (dst []byte, err error)
- func Generate24BitNumberWithFixedPopcount(popcount uint8, handler func(combination uint32))
- func GenerateBitErrors(code uint32, minErrorsIncl uint8, maxErrorsIncl uint8, ...)
- func HammingDistance32(a uint32, b uint32) int
- func NumberOfBitErrors(v uint32) (nBitsWrong uint8)
- func NumberOfPossibleErrorsIn24Bits(numberOfBitsToChange uint8) int
- func NumberOfPossibleRepresentationsInMultiCodewordSeq(numberOfCodewords int64, numberOfBitsToChangeMax uint8) *big.Int
- func Syndrome(erro uint32) uint16
Constants ¶
This section is empty.
Variables ¶
View Source
var Encoding = [4096]uint32{}/* 4096 elements not displayed */
View Source
var EncodingUint8Triples = encodeTableToUint8Triples(Encoding)
Functions ¶
func ApplyErrorGF2 ¶
func DecodeLowLevel ¶
func DecodeLowLevel0 ¶
func DecodeLowLevel1 ¶
func DecodeLowLevel2 ¶
func DecodeSingle ¶
func GenerateBitErrors ¶
func HammingDistance32 ¶
func NumberOfBitErrors ¶
func NumberOfPossibleErrorsIn24Bits ¶
NumberOfPossibleErrorsIn24Bits binomialCoefficient(24,numberOfBitsToChange)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.