MCPcopy Create free account

hub / github.com/akalin/gopar / functions

Functions556 in github.com/akalin/gopar

↓ 2 callersFunctiontestMulSlice
(t *testing.T, byteCount int, mulFn func(T, []T, []T))
gf2p16/slice_test.go:114
↓ 2 callersFunctiontestRepair
(t *testing.T, workingDir string, useAbsPath bool, options RepairOptions)
par1/repair_test.go:14
↓ 2 callersFunctiontestRepair
(t *testing.T, workingDir string, options RepairOptions)
par2/repair_test.go:12
↓ 2 callersFunctiontestVerify
(t *testing.T, workingDir string, useAbsPath bool, options VerifyOptions)
par1/verify_test.go:14
↓ 2 callersFunctiontestVerify
(t *testing.T, workingDir string, options VerifyOptions)
par2/verify_test.go:12
↓ 2 callersFunctionuint16LEToByteArray
(u16s []uint16)
gf2p16/slice_test.go:20
↓ 2 callersFunctionuint16ToTArray
(u16s []uint16)
gf2p16/slice_test.go:36
↓ 2 callersFunctionunperturbFile
(t *testing.T, fs memfs.MemFS, path string)
par1/decoder_test.go:186
↓ 2 callersFunctionunperturbFile
(t *testing.T, fs memfs.MemFS, path string)
par2/decoder_test.go:200
↓ 2 callersMethodversion
()
par1/header.go:16
↓ 2 callersFunctionwriteCreatorPacket
(clientID string)
par2/creator_packet.go:9
↓ 2 callersFunctionwriteFileDescriptionPacket
(fileID fileID, packet fileDescriptionPacket)
par2/file_description_packet.go:97
↓ 2 callersFunctionwriteIFSCPacket
(id fileID, packet ifscPacket)
par2/ifsc_packet.go:44
↓ 2 callersFunctionwritePacketHeader
(buf *bytes.Buffer, h packetHeader)
par2/packet.go:52
↓ 2 callersFunctionwriteRecoveryPacket
(exp exponent, packet recoveryPacket)
par2/recovery_packet.go:30
↓ 1 callersMethodAllFilesUsable
AllFilesUsable returns whether or not all files are usable, i.e. whether UnusableDataFileCount == 0 and UnusableParityFileCount == 0.
par1/decoder.go:328
↓ 1 callersFunctionCreate
Create a par file for the given file paths at parPath with the given options.
par1/create.go:46
↓ 1 callersFunctionCreate
Create a par file for the given file paths at parPath with the given options.
par2/create.go:65
↓ 1 callersMethodError
()
par2/file.go:23
↓ 1 callersFunctionExitCodeForCreateErrorPar2CmdLine
ExitCodeForCreateErrorPar2CmdLine returns the error code par2cmdline would have returned for the given error returned by Create.
par2/create.go:141
↓ 1 callersFunctionNewCoderCauchy
NewCoderCauchy returns a Coder that works with the given number of data and parity shards, using a Cauchy matrix.
rsec16/coder.go:46
↓ 1 callersFunctionNewZeroMatrix
NewZeroMatrix returns a rows x columns matrix with every element being zero.
gf2p16/matrix.go:25
↓ 1 callersMethodOnCommentLoad
(comment []byte)
par1/decoder.go:36
↓ 1 callersMethodOnCreatorPacketLoad
(clientID string)
par2/decoder.go:185
↓ 1 callersMethodOnDataFileLoad
(i, n int, path string, byteCount int, err error)
par2/encoder.go:43
↓ 1 callersMethodOnDetectDataFileHashMismatch
(fileID [16]byte, path string)
par2/decoder.go:195
↓ 1 callersMethodOnDetectDataFileWrongByteCount
(fileID [16]byte, path string)
par2/decoder.go:196
↓ 1 callersMethodOnFileDescriptionPacketLoad
(fileID [16]byte, filename string, byteCount int)
par2/decoder.go:187
↓ 1 callersMethodOnFileEntryLoad
(i, n int, filename, entryInfo string)
par1/decoder.go:35
↓ 1 callersMethodOnFilesNotAllInSameDir
()
par1/create.go:17
↓ 1 callersMethodOnHeaderLoad
(headerInfo string)
par1/decoder.go:34
↓ 1 callersMethodOnIFSCPacketLoad
(fileID [16]byte)
par2/decoder.go:188
↓ 1 callersMethodOnIndexFileWrite
(path string, byteCount int, err error)
par2/encoder.go:44
↓ 1 callersMethodOnMainPacketLoad
(sliceByteCount, recoverySetCount, nonRecoverySetCount int)
par2/decoder.go:186
↓ 1 callersMethodOnOtherPacketSkip
(setID [16]byte, packetType [16]byte, byteCount int)
par2/decoder.go:191
↓ 1 callersMethodOnParityFileLoad
(i int, path string, err error)
par2/decoder.go:193
↓ 1 callersMethodOnRecoveryFileWrite
(start, count, total int, path string, dataByteCount, byteCount int, err error)
par2/encoder.go:45
↓ 1 callersMethodReadFile
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 callersFunctionRepair
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 callersFunctionRepair
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 callersFunctionRepairErrorMeansRepairNecessaryButNotPossible
RepairErrorMeansRepairNecessaryButNotPossible returns true if the error returned by Repair means that repair is necessary but not possible.
par1/repair.go:75
↓ 1 callersFunctionRepairErrorMeansRepairNecessaryButNotPossible
RepairErrorMeansRepairNecessaryButNotPossible returns true if the error returned by Repair means that repair is necessary but not possible.
par2/repair.go:85
↓ 1 callersMethodRepairPossible
()
cmd/par/main.go:342
↓ 1 callersMethodString
()
par1/file_entry.go:35
↓ 1 callersMethodString
()
rsec16/matrix_test.go:189
↓ 1 callersFunctionVerify
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 callersFunctionVerify
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 callersMethodWriteFile
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 callersMethodallShardsOK
(sliceByteCount int)
par2/decoder.go:141
↓ 1 callersFunctionapplyMatrixNaive
(m gf2p16.Matrix, in, out [][]byte)
rsec16/matrix_test.go:45
↓ 1 callersFunctionapplyMatrixParallelData
(m gf2p16.Matrix, in, out [][]byte, numGoroutines int)
rsec16/matrix.go:79
↓ 1 callersFunctionbenchmarkApplyMatrix
(b *testing.B, config applyMatrixBenchmarkConfig, applyMatrixFn applyMatrixFunc)
rsec16/matrix_test.go:193
↓ 1 callersFunctionbenchmarkCRC32
(b *testing.B, windowSize int)
par2/crc32_test.go:138
↓ 1 callersFunctionbenchmarkCRC32Window
(b *testing.B, windowSize int)
par2/crc32_test.go:164
↓ 1 callersFunctionbenchmarkMakeReconstructionMatrix
(b *testing.B, newParityMatrixFn func(int, int) gf2p16.Matrix, dataShards, parityShards int)
rsec16/coder_test.go:102
↓ 1 callersFunctionbenchmarkNewCRC32Window
(b *testing.B, windowSize int)
par2/crc32_test.go:189
↓ 1 callersFunctionbenchmarkParityMatrix
(b *testing.B, benchmarkFn func(*testing.B, func(int, int) gf2p16.Matrix))
rsec16/coder_test.go:122
↓ 1 callersMethodbuildShards
()
par1/encoder.go:76
↓ 1 callersFunctionbyteToUint16LEArray
(bs []byte)
rsec16/matrix_test.go:28
↓ 1 callersMethodcheckColumnIndex
(i int)
gf2p16/matrix.go:73
↓ 1 callersMethodcheckedSuccessfully
()
par1/file_entry.go:27
↓ 1 callersFunctionfileDataToAbsPaths
(workingDir string, fileData map[string][]byte)
memfs/memfs.go:25
↓ 1 callersMethodfillFileIntegrityInfos
(checksumToLocation checksumShardLocationMap, fileIntegrityInfos []fileIntegrityInfo, fileIDIndices map[fileID
par2/decoder.go:361
↓ 1 callersMethodid
()
par1/header.go:20
↓ 1 callersFunctionirreducible
(n Poly64)
gf2/poly64_test.go:35
↓ 1 callersFunctionmakeChecksumShardLocationMap
(sliceByteCount int, infos []decoderInputFileInfo)
par2/decoder.go:110
↓ 1 callersFunctionmakeReconstructionMatrixNaive
(dataShards int, availableRows, missingRows, usedParityRows []int, parityMatrix gf2p16.Matrix)
rsec16/coder_test.go:49
↓ 1 callersFunctionmulAltMap
(c T, inLow, inHigh, outLow, outHigh *[16]byte)
gf2p16/slice_amd64_test.go:170
↓ 1 callersFunctionmulAltMapSSSE3Unsafe
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 callersFunctionmulAndAddByteSliceLEPlatformLE
(c T, in, out []byte)
gf2p16/slice_unsafe.go:24
↓ 1 callersFunctionmulAndAddByteSliceLEUnsafe
go:noescape
gf2p16/slice_amd64.go:89
↓ 1 callersFunctionmulAndAddSSSE3Unsafe
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 callersFunctionmulAndAddSliceGeneric
mulAndAddSliceGeneric adds c.Times(in[i]) to out[i], for each i.
gf2p16/slice.go:30
↓ 1 callersFunctionmulByteSliceLEPlatformLE
(c T, in, out []byte)
gf2p16/slice_unsafe.go:20
↓ 1 callersFunctionmulByteSliceLEUnsafe
go:noescape
gf2p16/slice_amd64.go:86
↓ 1 callersFunctionmulSSSE3Unsafe
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 callersFunctionmulSliceAltMapSSSE3Unsafe
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 callersFunctionmulSliceGeneric
mulSliceGeneric sets each out[i] to c.Times(in[i]).
gf2p16/slice.go:22
↓ 1 callersFunctionnewCauchyParityMatrix
(dataShards, parityShards int)
rsec16/coder.go:36
↓ 1 callersMethodnewCoderAndShards
()
par2/decoder.go:561
↓ 1 callersFunctionnewCoderCauchy
(dataShards, parityShards int)
rsec16/coder_test.go:12
↓ 1 callersFunctionplatformInit
()
gf2p16/t_amd64.go:10
↓ 1 callersFunctionrunApplyMatrixBenchmark
(b *testing.B, fn func(*testing.B, applyMatrixFunc))
rsec16/matrix_test.go:151
↓ 1 callersFunctionsizeString
(size int)
rsec16/matrix_test.go:173
↓ 1 callersFunctiontestWriteParity
(t *testing.T, workingDir, outputPath string)
par2/encoder_test.go:94
↓ 1 callersFunctionuint16LEToByteArray
(u16s []uint16)
rsec16/matrix_test.go:36
↓ 1 callersMethodunknownFlags
()
par1/file_entry.go:31
↓ 1 callersMethodvolumePath
(volumeNumber uint64)
par1/decoder.go:180
FunctionBenchmarkApplyMatrix
(b *testing.B)
rsec16/matrix_test.go:208
FunctionBenchmarkCRC32
(b *testing.B)
par2/crc32_test.go:156
FunctionBenchmarkCRC32Window
(b *testing.B)
par2/crc32_test.go:181
FunctionBenchmarkFillShardInfos
(b *testing.B)
par2/decoder_test.go:62
FunctionBenchmarkMakeReconstructionMatrix
(b *testing.B)
rsec16/coder_test.go:132
FunctionBenchmarkMatrixInverse
(b *testing.B)
gf2p16/matrix_test.go:155
FunctionBenchmarkMulAndAddByteSliceLE
(b *testing.B)
gf2p16/slice_test.go:221
FunctionBenchmarkMulAndAddSlice
(b *testing.B)
gf2p16/slice_test.go:267
FunctionBenchmarkMulAndAddUint16Slice
(b *testing.B)
gf2p16/slice_test.go:286
FunctionBenchmarkMulByteSliceLE
(b *testing.B)
gf2p16/slice_test.go:202
FunctionBenchmarkMulSlice
(b *testing.B)
gf2p16/slice_test.go:248
FunctionBenchmarkNewCRC32Window
(b *testing.B)
par2/crc32_test.go:195
← previousnext →201–300 of 556, ranked by callers