MCPcopy Create free account

hub / github.com/akalin/gopar / functions

Functions556 in github.com/akalin/gopar

MethodDiv
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
MethodError
()
rsec16/coder.go:182
MethodFindWithPrefixAndSuffix
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
MethodFindWithPrefixAndSuffix
(prefix, suffix string)
par2/decoder.go:30
MethodFindWithPrefixAndSuffix
(prefix, suffix string)
par2/decoder_test.go:95
MethodInverse
Inverse returns the matrix inverse of m, which must be square, or an error if it is singular.
gf2p16/matrix.go:194
MethodLoadFileData
LoadFileData loads the file data into memory.
par1/encoder.go:55
MethodLoadFileData
LoadFileData loads the file data into memory.
par2/encoder.go:85
MethodMinus
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
MethodMinus
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
FunctionMulAndAddByteSliceLE
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
FunctionMulByteSliceLE
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
FunctionNewDecoder
NewDecoder reads the given index file, which usually has a .PAR extension.
par1/decoder.go:107
FunctionNewDecoder
NewDecoder reads the given index file, which usually has a .par2 extension.
par2/decoder.go:736
FunctionNewEncoder
NewEncoder creates an encoder with the given list of file paths, and with the given number of intended parity volumes.
par1/encoder.go:50
FunctionNewEncoder
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
MethodOnCommentLoad
OnCommentLoad implements the DecoderDelegate interface.
par1/decoder.go:53
MethodOnCommentLoad
(comment []byte)
par1/decoder_test.go:54
MethodOnCommentLoad
(comment []byte)
cmd/par/main.go:53
MethodOnCreatorPacketLoad
(clientID string)
cmd/par/main.go:126
MethodOnCreatorPacketLoad
OnCreatorPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:205
MethodOnCreatorPacketLoad
(clientID string)
par2/decoder.go:461
MethodOnCreatorPacketLoad
(clientID string)
par2/file_test.go:14
MethodOnDataFileLoad
(i, n int, path string, byteCount int, corrupt bool, err error)
par1/decoder.go:37
MethodOnDataFileLoad
OnDataFileLoad implements the DecoderDelegate interface.
par1/decoder.go:56
MethodOnDataFileLoad
(i, n int, path string, byteCount int, err error)
par1/encoder.go:31
MethodOnDataFileLoad
OnDataFileLoad implements the CreateDelegate interface.
par1/create.go:25
MethodOnDataFileLoad
(i, n int, path string, byteCount int, err error)
par1/encoder_test.go:17
MethodOnDataFileLoad
(i, n int, path string, byteCount int, corrupt bool, err error)
par1/decoder_test.go:59
MethodOnDataFileLoad
(i, n int, path string, byteCount int, err error)
cmd/par/main.go:23
MethodOnDataFileLoad
(i, n int, path string, byteCount int, corrupt bool, err error)
cmd/par/main.go:57
MethodOnDataFileLoad
(i, n int, path string, byteCount int, err error)
cmd/par/main.go:100
MethodOnDataFileLoad
(i, n int, path string, byteCount, hits, misses int, err error)
cmd/par/main.go:154
MethodOnDataFileLoad
OnDataFileLoad implements the DecoderDelegate interface.
par2/decoder.go:229
MethodOnDataFileLoad
(i, n int, path string, byteCount, hits, misses int, err error)
par2/decoder.go:480
MethodOnDataFileLoad
(i, n int, path string, byteCount, hits, misses int, err error)
par2/file_test.go:49
MethodOnDataFileLoad
OnDataFileLoad implements the CreateDelegate interface.
par2/create.go:36
MethodOnDataFileLoad
(i, n int, path string, byteCount int, err error)
par2/encoder_test.go:20
MethodOnDataFileWrite
(i, n int, path string, byteCount int, err error)
par1/decoder.go:38
MethodOnDataFileWrite
OnDataFileWrite implements the DecoderDelegate interface.
par1/decoder.go:60
MethodOnDataFileWrite
(i, n int, path string, byteCount int, err error)
par1/decoder_test.go:64
MethodOnDataFileWrite
(i, n int, path string, byteCount int, err error)
cmd/par/main.go:69
MethodOnDataFileWrite
(i, n int, path string, byteCount int, err error)
cmd/par/main.go:182
MethodOnDataFileWrite
OnDataFileWrite implements the DecoderDelegate interface.
par2/decoder.go:246
MethodOnDataFileWrite
(i, n int, path string, byteCount int, err error)
par2/decoder.go:492
MethodOnDataFileWrite
(i, n int, path string, byteCount int, err error)
par2/file_test.go:74
MethodOnDetectCorruptDataChunk
(fileID [16]byte, path string, startByteOffset, endByteOffset int)
cmd/par/main.go:170
MethodOnDetectCorruptDataChunk
OnDetectCorruptDataChunk implements the DecoderDelegate interface.
par2/decoder.go:236
MethodOnDetectCorruptDataChunk
(fileID [16]byte, path string, startByteOffset, endByteOffset int)
par2/decoder.go:485
MethodOnDetectCorruptDataChunk
(fileID [16]byte, path string, startOffset, endOffset int)
par2/file_test.go:59
MethodOnDetectDataFileHashMismatch
(fileID [16]byte, path string)
cmd/par/main.go:174
MethodOnDetectDataFileHashMismatch
OnDetectDataFileHashMismatch implements the DecoderDelegate interface.
par2/decoder.go:240
MethodOnDetectDataFileHashMismatch
(fileID [16]byte, path string)
par2/decoder.go:488
MethodOnDetectDataFileHashMismatch
(fileID [16]byte, path string)
par2/file_test.go:64
MethodOnDetectDataFileWrongByteCount
(fileID [16]byte, path string)
cmd/par/main.go:178
MethodOnDetectDataFileWrongByteCount
OnDetectDataFileWrongByteCount implements the DecoderDelegate interface.
par2/decoder.go:243
MethodOnDetectDataFileWrongByteCount
(fileID [16]byte, path string)
par2/decoder.go:490
MethodOnDetectDataFileWrongByteCount
(fileID [16]byte, path string)
par2/file_test.go:69
MethodOnFileDescriptionPacketLoad
(fileID [16]byte, filename string, byteCount int)
cmd/par/main.go:134
MethodOnFileDescriptionPacketLoad
OnFileDescriptionPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:212
MethodOnFileDescriptionPacketLoad
(fileID [16]byte, filename string, byteCount int)
par2/decoder.go:465
MethodOnFileDescriptionPacketLoad
(fileID [16]byte, filename string, byteCount int)
par2/file_test.go:24
MethodOnFileEntryLoad
OnFileEntryLoad implements the DecoderDelegate interface.
par1/decoder.go:50
MethodOnFileEntryLoad
(i, n int, filename, entryInfo string)
par1/decoder_test.go:49
MethodOnFileEntryLoad
(i, n int, filename, entryInfo string)
cmd/par/main.go:49
MethodOnFilesNotAllInSameDir
()
par1/create_test.go:14
MethodOnFilesNotAllInSameDir
OnFilesNotAllInSameDir implements the CreateDelegate interface.
par1/create.go:32
MethodOnFilesNotAllInSameDir
()
cmd/par/main.go:39
MethodOnHeaderLoad
OnHeaderLoad implements the DecoderDelegate interface.
par1/decoder.go:47
MethodOnHeaderLoad
(headerInfo string)
par1/decoder_test.go:44
MethodOnHeaderLoad
(headerInfo string)
cmd/par/main.go:45
MethodOnIFSCPacketLoad
(fileID [16]byte)
cmd/par/main.go:138
MethodOnIFSCPacketLoad
OnIFSCPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:216
MethodOnIFSCPacketLoad
(fileID [16]byte)
par2/decoder.go:468
MethodOnIFSCPacketLoad
(fileID [16]byte)
par2/file_test.go:29
MethodOnIndexFileWrite
(path string, byteCount int, err error)
cmd/par/main.go:108
MethodOnIndexFileWrite
OnIndexFileWrite implements the CreateDelegate interface.
par2/create.go:40
MethodOnIndexFileWrite
(path string, byteCount int, err error)
par2/encoder_test.go:25
MethodOnMainPacketLoad
(sliceByteCount, recoverySetCount, nonRecoverySetCount int)
cmd/par/main.go:130
MethodOnMainPacketLoad
OnMainPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:208
MethodOnMainPacketLoad
(sliceByteCount, recoverySetCount, nonRecoverySetCount int)
par2/decoder.go:463
MethodOnMainPacketLoad
(sliceByteCount, recoverySetCount, nonRecoverySetCount int)
par2/file_test.go:19
MethodOnOtherPacketSkip
(setID [16]byte, packetType [16]byte, byteCount int)
cmd/par/main.go:150
MethodOnOtherPacketSkip
OnOtherPacketSkip implements the DecoderDelegate interface.
par2/decoder.go:225
MethodOnOtherPacketSkip
(setID [16]byte, packetType [16]byte, byteCount int)
par2/decoder.go:478
MethodOnOtherPacketSkip
(setID [16]byte, packetType [16]byte, byteCount int)
par2/file_test.go:44
MethodOnParityFileLoad
(i int, path string, err error)
cmd/par/main.go:162
MethodOnParityFileLoad
OnParityFileLoad implements the DecoderDelegate interface.
par2/decoder.go:233
MethodOnParityFileLoad
(i int, path string, err error)
par2/decoder.go:483
MethodOnParityFileLoad
(i int, path string, err error)
par2/file_test.go:54
MethodOnRecoveryFileWrite
(start, count, total int, path string, dataByteCount, byteCount int, err error)
cmd/par/main.go:116
MethodOnRecoveryFileWrite
OnRecoveryFileWrite implements the CreateDelegate interface.
par2/create.go:44
MethodOnRecoveryFileWrite
(start, count, total int, path string, dataByteCount, byteCount int, err error)
par2/encoder_test.go:30
MethodOnRecoveryPacketLoad
(exponent uint16, byteCount int)
cmd/par/main.go:142
MethodOnRecoveryPacketLoad
OnRecoveryPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:219
MethodOnRecoveryPacketLoad
(exponent uint16, byteCount int)
par2/decoder.go:470
MethodOnRecoveryPacketLoad
(exponent uint16, byteCount int)
par2/file_test.go:34
MethodOnUnknownPacketLoad
(packetType [16]byte, byteCount int)
cmd/par/main.go:146
MethodOnUnknownPacketLoad
OnUnknownPacketLoad implements the DecoderDelegate interface.
par2/decoder.go:222
MethodOnUnknownPacketLoad
(packetType [16]byte, byteCount int)
par2/decoder.go:474
← previousnext →301–400 of 556, ranked by callers