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
↓ 2 callers
Function
testMulSlice
(t *testing.T, byteCount int, mulFn func(T, []T, []T))
gf2p16/slice_test.go:114
↓ 2 callers
Function
testRepair
(t *testing.T, workingDir string, useAbsPath bool, options RepairOptions)
par1/repair_test.go:14
↓ 2 callers
Function
testRepair
(t *testing.T, workingDir string, options RepairOptions)
par2/repair_test.go:12
↓ 2 callers
Function
testVerify
(t *testing.T, workingDir string, useAbsPath bool, options VerifyOptions)
par1/verify_test.go:14
↓ 2 callers
Function
testVerify
(t *testing.T, workingDir string, options VerifyOptions)
par2/verify_test.go:12
↓ 2 callers
Function
uint16LEToByteArray
(u16s []uint16)
gf2p16/slice_test.go:20
↓ 2 callers
Function
uint16ToTArray
(u16s []uint16)
gf2p16/slice_test.go:36
↓ 2 callers
Function
unperturbFile
(t *testing.T, fs memfs.MemFS, path string)
par1/decoder_test.go:186
↓ 2 callers
Function
unperturbFile
(t *testing.T, fs memfs.MemFS, path string)
par2/decoder_test.go:200
↓ 2 callers
Method
version
()
par1/header.go:16
↓ 2 callers
Function
writeCreatorPacket
(clientID string)
par2/creator_packet.go:9
↓ 2 callers
Function
writeFileDescriptionPacket
(fileID fileID, packet fileDescriptionPacket)
par2/file_description_packet.go:97
↓ 2 callers
Function
writeIFSCPacket
(id fileID, packet ifscPacket)
par2/ifsc_packet.go:44
↓ 2 callers
Function
writePacketHeader
(buf *bytes.Buffer, h packetHeader)
par2/packet.go:52
↓ 2 callers
Function
writeRecoveryPacket
(exp exponent, packet recoveryPacket)
par2/recovery_packet.go:30
↓ 1 callers
Method
AllFilesUsable
AllFilesUsable returns whether or not all files are usable, i.e. whether UnusableDataFileCount == 0 and UnusableParityFileCount == 0.
par1/decoder.go:328
↓ 1 callers
Function
Create
Create a par file for the given file paths at parPath with the given options.
par1/create.go:46
↓ 1 callers
Function
Create
Create a par file for the given file paths at parPath with the given options.
par2/create.go:65
↓ 1 callers
Method
Error
()
par2/file.go:23
↓ 1 callers
Function
ExitCodeForCreateErrorPar2CmdLine
ExitCodeForCreateErrorPar2CmdLine returns the error code par2cmdline would have returned for the given error returned by Create.
par2/create.go:141
↓ 1 callers
Function
NewCoderCauchy
NewCoderCauchy returns a Coder that works with the given number of data and parity shards, using a Cauchy matrix.
rsec16/coder.go:46
↓ 1 callers
Function
NewZeroMatrix
NewZeroMatrix returns a rows x columns matrix with every element being zero.
gf2p16/matrix.go:25
↓ 1 callers
Method
OnCommentLoad
(comment []byte)
par1/decoder.go:36
↓ 1 callers
Method
OnCreatorPacketLoad
(clientID string)
par2/decoder.go:185
↓ 1 callers
Method
OnDataFileLoad
(i, n int, path string, byteCount int, err error)
par2/encoder.go:43
↓ 1 callers
Method
OnDetectDataFileHashMismatch
(fileID [16]byte, path string)
par2/decoder.go:195
↓ 1 callers
Method
OnDetectDataFileWrongByteCount
(fileID [16]byte, path string)
par2/decoder.go:196
↓ 1 callers
Method
OnFileDescriptionPacketLoad
(fileID [16]byte, filename string, byteCount int)
par2/decoder.go:187
↓ 1 callers
Method
OnFileEntryLoad
(i, n int, filename, entryInfo string)
par1/decoder.go:35
↓ 1 callers
Method
OnFilesNotAllInSameDir
()
par1/create.go:17
↓ 1 callers
Method
OnHeaderLoad
(headerInfo string)
par1/decoder.go:34
↓ 1 callers
Method
OnIFSCPacketLoad
(fileID [16]byte)
par2/decoder.go:188
↓ 1 callers
Method
OnIndexFileWrite
(path string, byteCount int, err error)
par2/encoder.go:44
↓ 1 callers
Method
OnMainPacketLoad
(sliceByteCount, recoverySetCount, nonRecoverySetCount int)
par2/decoder.go:186
↓ 1 callers
Method
OnOtherPacketSkip
(setID [16]byte, packetType [16]byte, byteCount int)
par2/decoder.go:191
↓ 1 callers
Method
OnParityFileLoad
(i int, path string, err error)
par2/decoder.go:193
↓ 1 callers
Method
OnRecoveryFileWrite
(start, count, total int, path string, dataByteCount, byteCount int, err error)
par2/encoder.go:45
↓ 1 callers
Method
ReadFile
ReadFile returns the data of the file at the given path, which may be absolute or relative (to the working directory). If the file doesn't exist, os.E
memfs/memfs.go:59
↓ 1 callers
Function
Repair
Repair a par file at parPath with the given options. The returned RepairResult may be partially or not filled in if an error is returned.
par1/repair.go:36
↓ 1 callers
Function
Repair
Repair a par file at parPath with the given options. The returned RepairResult may be partially or not filled in if an error is returned.
par2/repair.go:41
↓ 1 callers
Function
RepairErrorMeansRepairNecessaryButNotPossible
RepairErrorMeansRepairNecessaryButNotPossible returns true if the error returned by Repair means that repair is necessary but not possible.
par1/repair.go:75
↓ 1 callers
Function
RepairErrorMeansRepairNecessaryButNotPossible
RepairErrorMeansRepairNecessaryButNotPossible returns true if the error returned by Repair means that repair is necessary but not possible.
par2/repair.go:85
↓ 1 callers
Method
RepairPossible
()
cmd/par/main.go:342
↓ 1 callers
Method
String
()
par1/file_entry.go:35
↓ 1 callers
Method
String
()
rsec16/matrix_test.go:189
↓ 1 callers
Function
Verify
Verify a par file at parPath with the given options. The returned VerifyResult is not filled in if an error is returned.
par1/verify.go:39
↓ 1 callers
Function
Verify
Verify a par file at parPath with the given options. The returned VerifyResult is not filled in if an error is returned.
par2/verify.go:33
↓ 1 callers
Method
WriteFile
WriteFile sets the data of the file at the given path, which may be absolute or relative (to the working directory). The file may or may not already e
memfs/memfs.go:84
↓ 1 callers
Method
allShardsOK
(sliceByteCount int)
par2/decoder.go:141
↓ 1 callers
Function
applyMatrixNaive
(m gf2p16.Matrix, in, out [][]byte)
rsec16/matrix_test.go:45
↓ 1 callers
Function
applyMatrixParallelData
(m gf2p16.Matrix, in, out [][]byte, numGoroutines int)
rsec16/matrix.go:79
↓ 1 callers
Function
benchmarkApplyMatrix
(b *testing.B, config applyMatrixBenchmarkConfig, applyMatrixFn applyMatrixFunc)
rsec16/matrix_test.go:193
↓ 1 callers
Function
benchmarkCRC32
(b *testing.B, windowSize int)
par2/crc32_test.go:138
↓ 1 callers
Function
benchmarkCRC32Window
(b *testing.B, windowSize int)
par2/crc32_test.go:164
↓ 1 callers
Function
benchmarkMakeReconstructionMatrix
(b *testing.B, newParityMatrixFn func(int, int) gf2p16.Matrix, dataShards, parityShards int)
rsec16/coder_test.go:102
↓ 1 callers
Function
benchmarkNewCRC32Window
(b *testing.B, windowSize int)
par2/crc32_test.go:189
↓ 1 callers
Function
benchmarkParityMatrix
(b *testing.B, benchmarkFn func(*testing.B, func(int, int) gf2p16.Matrix))
rsec16/coder_test.go:122
↓ 1 callers
Method
buildShards
()
par1/encoder.go:76
↓ 1 callers
Function
byteToUint16LEArray
(bs []byte)
rsec16/matrix_test.go:28
↓ 1 callers
Method
checkColumnIndex
(i int)
gf2p16/matrix.go:73
↓ 1 callers
Method
checkedSuccessfully
()
par1/file_entry.go:27
↓ 1 callers
Function
fileDataToAbsPaths
(workingDir string, fileData map[string][]byte)
memfs/memfs.go:25
↓ 1 callers
Method
fillFileIntegrityInfos
(checksumToLocation checksumShardLocationMap, fileIntegrityInfos []fileIntegrityInfo, fileIDIndices map[fileID
par2/decoder.go:361
↓ 1 callers
Method
id
()
par1/header.go:20
↓ 1 callers
Function
irreducible
(n Poly64)
gf2/poly64_test.go:35
↓ 1 callers
Function
makeChecksumShardLocationMap
(sliceByteCount int, infos []decoderInputFileInfo)
par2/decoder.go:110
↓ 1 callers
Function
makeReconstructionMatrixNaive
(dataShards int, availableRows, missingRows, usedParityRows []int, parityMatrix gf2p16.Matrix)
rsec16/coder_test.go:49
↓ 1 callers
Function
mulAltMap
(c T, inLow, inHigh, outLow, outHigh *[16]byte)
gf2p16/slice_amd64_test.go:170
↓ 1 callers
Function
mulAltMapSSSE3Unsafe
mulAltMapSSSE3Unsafe sets outLow and outHigh such that the following equation holds for each i: (outHigh[i] << 8) | outLow[i] == c.Times((inHigh[i] <
gf2p16/slice_amd64.go:144
↓ 1 callers
Function
mulAndAddByteSliceLEPlatformLE
(c T, in, out []byte)
gf2p16/slice_unsafe.go:24
↓ 1 callers
Function
mulAndAddByteSliceLEUnsafe
go:noescape
gf2p16/slice_amd64.go:89
↓ 1 callers
Function
mulAndAddSSSE3Unsafe
mulAndAddSSSE3Unsafe is like mulSliceSSSE3Unsafe, except it adds (i.e., xors) to out0 and out1 instead of setting out0 and out1. go:noescape
gf2p16/slice_amd64.go:189
↓ 1 callers
Function
mulAndAddSliceGeneric
mulAndAddSliceGeneric adds c.Times(in[i]) to out[i], for each i.
gf2p16/slice.go:30
↓ 1 callers
Function
mulByteSliceLEPlatformLE
(c T, in, out []byte)
gf2p16/slice_unsafe.go:20
↓ 1 callers
Function
mulByteSliceLEUnsafe
go:noescape
gf2p16/slice_amd64.go:86
↓ 1 callers
Function
mulSSSE3Unsafe
mulSSSE3Unsafe sets out0 and out1 such that the following equations hold for each i: out0[2*i] | (out0[2*i+1] << 8) == c.Times(in0[2*i] | in0[2*i+1]
gf2p16/slice_amd64.go:168
↓ 1 callers
Function
mulSliceAltMapSSSE3Unsafe
mulSliceAltMapSSSE3Unsafe behaves like calling mulAltMapSSSE3Unsafe( cEntry, inChunk[16:32], inChunk[0:16], outChunk[16:32], outChunk[0:16], ) on e
gf2p16/slice_amd64.go:157
↓ 1 callers
Function
mulSliceGeneric
mulSliceGeneric sets each out[i] to c.Times(in[i]).
gf2p16/slice.go:22
↓ 1 callers
Function
newCauchyParityMatrix
(dataShards, parityShards int)
rsec16/coder.go:36
↓ 1 callers
Method
newCoderAndShards
()
par2/decoder.go:561
↓ 1 callers
Function
newCoderCauchy
(dataShards, parityShards int)
rsec16/coder_test.go:12
↓ 1 callers
Function
platformInit
()
gf2p16/t_amd64.go:10
↓ 1 callers
Function
runApplyMatrixBenchmark
(b *testing.B, fn func(*testing.B, applyMatrixFunc))
rsec16/matrix_test.go:151
↓ 1 callers
Function
sizeString
(size int)
rsec16/matrix_test.go:173
↓ 1 callers
Function
testWriteParity
(t *testing.T, workingDir, outputPath string)
par2/encoder_test.go:94
↓ 1 callers
Function
uint16LEToByteArray
(u16s []uint16)
rsec16/matrix_test.go:36
↓ 1 callers
Method
unknownFlags
()
par1/file_entry.go:31
↓ 1 callers
Method
volumePath
(volumeNumber uint64)
par1/decoder.go:180
Function
BenchmarkApplyMatrix
(b *testing.B)
rsec16/matrix_test.go:208
Function
BenchmarkCRC32
(b *testing.B)
par2/crc32_test.go:156
Function
BenchmarkCRC32Window
(b *testing.B)
par2/crc32_test.go:181
Function
BenchmarkFillShardInfos
(b *testing.B)
par2/decoder_test.go:62
Function
BenchmarkMakeReconstructionMatrix
(b *testing.B)
rsec16/coder_test.go:132
Function
BenchmarkMatrixInverse
(b *testing.B)
gf2p16/matrix_test.go:155
Function
BenchmarkMulAndAddByteSliceLE
(b *testing.B)
gf2p16/slice_test.go:221
Function
BenchmarkMulAndAddSlice
(b *testing.B)
gf2p16/slice_test.go:267
Function
BenchmarkMulAndAddUint16Slice
(b *testing.B)
gf2p16/slice_test.go:286
Function
BenchmarkMulByteSliceLE
(b *testing.B)
gf2p16/slice_test.go:202
Function
BenchmarkMulSlice
(b *testing.B)
gf2p16/slice_test.go:248
Function
BenchmarkNewCRC32Window
(b *testing.B)
par2/crc32_test.go:195
← previous
next →
201–300 of 556, ranked by callers