Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akalin/gopar
/ functions
Functions
556 in github.com/akalin/gopar
⨍
Functions
556
◇
Types & classes
101
Method
Div
Div performs Euclidean division using p and p2 (if non-zero) and returns the resulting quotient and remainder. That is, it returns q and r such that q
gf2/poly64.go:49
Method
Error
()
rsec16/coder.go:182
Method
FindWithPrefixAndSuffix
FindWithPrefixAndSuffix returns all files whose path matches the given prefix and suffix, in no particular order. The prefix may be absolute or relati
memfs/memfs.go:70
Method
FindWithPrefixAndSuffix
(prefix, suffix string)
par2/decoder.go:30
Method
FindWithPrefixAndSuffix
(prefix, suffix string)
par2/decoder_test.go:95
Method
Inverse
Inverse returns the matrix inverse of m, which must be square, or an error if it is singular.
gf2p16/matrix.go:194
Method
LoadFileData
LoadFileData loads the file data into memory.
par1/encoder.go:55
Method
LoadFileData
LoadFileData loads the file data into memory.
par2/encoder.go:85
Method
Minus
Minus returns the difference of p and q as polynomials over GF(2), which is just the bitwise xor of the two.
gf2/poly64.go:14
Method
Minus
Minus returns the difference of t and u as elements of GF(2^16), which is just the bitwise xor of the two.
gf2p16/t.go:16
Function
MulAndAddByteSliceLE
MulAndAddByteSliceLE treats in and out as arrays of Ts stored in little-endian format, and adds c.Times(in<T>[i]) to out<T>[i], for each i.
gf2p16/slice_nonamd64.go:18
Function
MulByteSliceLE
MulByteSliceLE treats in and out as arrays of Ts stored in little-endian format, and sets each out<T>[i] to c.Times(in<T>[i]).
gf2p16/slice_nonamd64.go:7
Function
NewDecoder
NewDecoder reads the given index file, which usually has a .PAR extension.
par1/decoder.go:107
Function
NewDecoder
NewDecoder reads the given index file, which usually has a .par2 extension.
par2/decoder.go:736
Function
NewEncoder
NewEncoder creates an encoder with the given list of file paths, and with the given number of intended parity volumes.
par1/encoder.go:50
Function
NewEncoder
NewEncoder creates an encoder with the given list of file paths, and with the given number of intended parity volumes. basePath must be absolute. Elem
par2/encoder.go:80
Method
OnCommentLoad
OnCommentLoad implements the DecoderDelegate interface.
par1/decoder.go:53
Method
OnCommentLoad
(comment []byte)
par1/decoder_test.go:54
Method
OnCommentLoad
(comment []byte)
cmd/par/main.go:53
Method
OnCreatorPacketLoad
(clientID string)
cmd/par/main.go:126
Method
OnCreatorPacketLoad
OnCreatorPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:205
Method
OnCreatorPacketLoad
(clientID string)
par2/decoder.go:461
Method
OnCreatorPacketLoad
(clientID string)
par2/file_test.go:14
Method
OnDataFileLoad
(i, n int, path string, byteCount int, corrupt bool, err error)
par1/decoder.go:37
Method
OnDataFileLoad
OnDataFileLoad implements the DecoderDelegate interface.
par1/decoder.go:56
Method
OnDataFileLoad
(i, n int, path string, byteCount int, err error)
par1/encoder.go:31
Method
OnDataFileLoad
OnDataFileLoad implements the CreateDelegate interface.
par1/create.go:25
Method
OnDataFileLoad
(i, n int, path string, byteCount int, err error)
par1/encoder_test.go:17
Method
OnDataFileLoad
(i, n int, path string, byteCount int, corrupt bool, err error)
par1/decoder_test.go:59
Method
OnDataFileLoad
(i, n int, path string, byteCount int, err error)
cmd/par/main.go:23
Method
OnDataFileLoad
(i, n int, path string, byteCount int, corrupt bool, err error)
cmd/par/main.go:57
Method
OnDataFileLoad
(i, n int, path string, byteCount int, err error)
cmd/par/main.go:100
Method
OnDataFileLoad
(i, n int, path string, byteCount, hits, misses int, err error)
cmd/par/main.go:154
Method
OnDataFileLoad
OnDataFileLoad implements the DecoderDelegate interface.
par2/decoder.go:229
Method
OnDataFileLoad
(i, n int, path string, byteCount, hits, misses int, err error)
par2/decoder.go:480
Method
OnDataFileLoad
(i, n int, path string, byteCount, hits, misses int, err error)
par2/file_test.go:49
Method
OnDataFileLoad
OnDataFileLoad implements the CreateDelegate interface.
par2/create.go:36
Method
OnDataFileLoad
(i, n int, path string, byteCount int, err error)
par2/encoder_test.go:20
Method
OnDataFileWrite
(i, n int, path string, byteCount int, err error)
par1/decoder.go:38
Method
OnDataFileWrite
OnDataFileWrite implements the DecoderDelegate interface.
par1/decoder.go:60
Method
OnDataFileWrite
(i, n int, path string, byteCount int, err error)
par1/decoder_test.go:64
Method
OnDataFileWrite
(i, n int, path string, byteCount int, err error)
cmd/par/main.go:69
Method
OnDataFileWrite
(i, n int, path string, byteCount int, err error)
cmd/par/main.go:182
Method
OnDataFileWrite
OnDataFileWrite implements the DecoderDelegate interface.
par2/decoder.go:246
Method
OnDataFileWrite
(i, n int, path string, byteCount int, err error)
par2/decoder.go:492
Method
OnDataFileWrite
(i, n int, path string, byteCount int, err error)
par2/file_test.go:74
Method
OnDetectCorruptDataChunk
(fileID [16]byte, path string, startByteOffset, endByteOffset int)
cmd/par/main.go:170
Method
OnDetectCorruptDataChunk
OnDetectCorruptDataChunk implements the DecoderDelegate interface.
par2/decoder.go:236
Method
OnDetectCorruptDataChunk
(fileID [16]byte, path string, startByteOffset, endByteOffset int)
par2/decoder.go:485
Method
OnDetectCorruptDataChunk
(fileID [16]byte, path string, startOffset, endOffset int)
par2/file_test.go:59
Method
OnDetectDataFileHashMismatch
(fileID [16]byte, path string)
cmd/par/main.go:174
Method
OnDetectDataFileHashMismatch
OnDetectDataFileHashMismatch implements the DecoderDelegate interface.
par2/decoder.go:240
Method
OnDetectDataFileHashMismatch
(fileID [16]byte, path string)
par2/decoder.go:488
Method
OnDetectDataFileHashMismatch
(fileID [16]byte, path string)
par2/file_test.go:64
Method
OnDetectDataFileWrongByteCount
(fileID [16]byte, path string)
cmd/par/main.go:178
Method
OnDetectDataFileWrongByteCount
OnDetectDataFileWrongByteCount implements the DecoderDelegate interface.
par2/decoder.go:243
Method
OnDetectDataFileWrongByteCount
(fileID [16]byte, path string)
par2/decoder.go:490
Method
OnDetectDataFileWrongByteCount
(fileID [16]byte, path string)
par2/file_test.go:69
Method
OnFileDescriptionPacketLoad
(fileID [16]byte, filename string, byteCount int)
cmd/par/main.go:134
Method
OnFileDescriptionPacketLoad
OnFileDescriptionPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:212
Method
OnFileDescriptionPacketLoad
(fileID [16]byte, filename string, byteCount int)
par2/decoder.go:465
Method
OnFileDescriptionPacketLoad
(fileID [16]byte, filename string, byteCount int)
par2/file_test.go:24
Method
OnFileEntryLoad
OnFileEntryLoad implements the DecoderDelegate interface.
par1/decoder.go:50
Method
OnFileEntryLoad
(i, n int, filename, entryInfo string)
par1/decoder_test.go:49
Method
OnFileEntryLoad
(i, n int, filename, entryInfo string)
cmd/par/main.go:49
Method
OnFilesNotAllInSameDir
()
par1/create_test.go:14
Method
OnFilesNotAllInSameDir
OnFilesNotAllInSameDir implements the CreateDelegate interface.
par1/create.go:32
Method
OnFilesNotAllInSameDir
()
cmd/par/main.go:39
Method
OnHeaderLoad
OnHeaderLoad implements the DecoderDelegate interface.
par1/decoder.go:47
Method
OnHeaderLoad
(headerInfo string)
par1/decoder_test.go:44
Method
OnHeaderLoad
(headerInfo string)
cmd/par/main.go:45
Method
OnIFSCPacketLoad
(fileID [16]byte)
cmd/par/main.go:138
Method
OnIFSCPacketLoad
OnIFSCPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:216
Method
OnIFSCPacketLoad
(fileID [16]byte)
par2/decoder.go:468
Method
OnIFSCPacketLoad
(fileID [16]byte)
par2/file_test.go:29
Method
OnIndexFileWrite
(path string, byteCount int, err error)
cmd/par/main.go:108
Method
OnIndexFileWrite
OnIndexFileWrite implements the CreateDelegate interface.
par2/create.go:40
Method
OnIndexFileWrite
(path string, byteCount int, err error)
par2/encoder_test.go:25
Method
OnMainPacketLoad
(sliceByteCount, recoverySetCount, nonRecoverySetCount int)
cmd/par/main.go:130
Method
OnMainPacketLoad
OnMainPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:208
Method
OnMainPacketLoad
(sliceByteCount, recoverySetCount, nonRecoverySetCount int)
par2/decoder.go:463
Method
OnMainPacketLoad
(sliceByteCount, recoverySetCount, nonRecoverySetCount int)
par2/file_test.go:19
Method
OnOtherPacketSkip
(setID [16]byte, packetType [16]byte, byteCount int)
cmd/par/main.go:150
Method
OnOtherPacketSkip
OnOtherPacketSkip implements the DecoderDelegate interface.
par2/decoder.go:225
Method
OnOtherPacketSkip
(setID [16]byte, packetType [16]byte, byteCount int)
par2/decoder.go:478
Method
OnOtherPacketSkip
(setID [16]byte, packetType [16]byte, byteCount int)
par2/file_test.go:44
Method
OnParityFileLoad
(i int, path string, err error)
cmd/par/main.go:162
Method
OnParityFileLoad
OnParityFileLoad implements the DecoderDelegate interface.
par2/decoder.go:233
Method
OnParityFileLoad
(i int, path string, err error)
par2/decoder.go:483
Method
OnParityFileLoad
(i int, path string, err error)
par2/file_test.go:54
Method
OnRecoveryFileWrite
(start, count, total int, path string, dataByteCount, byteCount int, err error)
cmd/par/main.go:116
Method
OnRecoveryFileWrite
OnRecoveryFileWrite implements the CreateDelegate interface.
par2/create.go:44
Method
OnRecoveryFileWrite
(start, count, total int, path string, dataByteCount, byteCount int, err error)
par2/encoder_test.go:30
Method
OnRecoveryPacketLoad
(exponent uint16, byteCount int)
cmd/par/main.go:142
Method
OnRecoveryPacketLoad
OnRecoveryPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:219
Method
OnRecoveryPacketLoad
(exponent uint16, byteCount int)
par2/decoder.go:470
Method
OnRecoveryPacketLoad
(exponent uint16, byteCount int)
par2/file_test.go:34
Method
OnUnknownPacketLoad
(packetType [16]byte, byteCount int)
cmd/par/main.go:146
Method
OnUnknownPacketLoad
OnUnknownPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:222
Method
OnUnknownPacketLoad
(packetType [16]byte, byteCount int)
par2/decoder.go:474
← previous
next →
301–400 of 556, ranked by callers