MCPcopy Create free account

hub / github.com/akalin/gopar / functions

Functions556 in github.com/akalin/gopar

↓ 3 callersFunctioncheckExtension
(parPath string)
par1/create.go:50
↓ 3 callersFunctioncheckExtension
(parPath string)
par2/create.go:69
↓ 3 callersFunctioncheckRowColumnCount
(rows, columns int)
gf2p16/matrix.go:14
↓ 3 callersFunctionmakeIn
(inputCount, dataByteCount int)
rsec16/matrix_test.go:67
↓ 3 callersFunctionmakeReconstructionMatrix
(dataShards int, availableRows, missingRows, usedParityRows []int, parityMatrix gf2p16.Matrix)
rsec16/coder.go:158
↓ 3 callersFunctionmulAndAddSlice
(c T, in, out []T)
gf2p16/slice_amd64.go:81
↓ 3 callersFunctionmulSlice
(c T, in, out []T)
gf2p16/slice_amd64.go:77
↓ 3 callersFunctionnewEncoder
(fileIO fileIO, delegate EncoderDelegate, filePaths []string, volumeCount int)
par1/encoder.go:35
↓ 3 callersFunctionnewEncoder
(fileIO fileIO, delegate EncoderDelegate, basePath string, filePaths []string, sliceByteCount, parityShardCoun
par2/encoder.go:48
↓ 3 callersFunctionnewEncoderForTest
(t *testing.T, fs memfs.MemFS, filePaths []string, volumeCount int)
par1/encoder_test.go:37
↓ 3 callersFunctionnewEncoderForTest
(t *testing.T, fs memfs.MemFS, basePath string, paths []string, sliceByteCount, parityShardCount int)
par2/encoder_test.go:35
↓ 3 callersFunctionnewVandermondeMatrix
newVandermondeMatrix returns a matrix where a[i, j] = alpha(j)^i. (Note that this is the transpose of the matrix given by the Wikipedia article.)
rsec16/vandermonde.go:8
↓ 3 callersMethodok
(sliceByteCount int)
par2/decoder.go:152
↓ 3 callersFunctionprintCreateErrorAndExit
(err error, exitCode int)
cmd/par/main.go:325
↓ 3 callersFunctionprintRepairErrorAndExit
(err error, exitCode int)
cmd/par/main.go:335
↓ 3 callersFunctionprintVerifyErrorAndExit
(err error, exitCode int)
cmd/par/main.go:330
↓ 3 callersFunctionreadFile
(delegate DecoderDelegate, expectedSetID *recoverySetID, fileBytes []byte)
par2/file.go:27
↓ 3 callersFunctionreadVolume
(volumeBytes []byte)
par1/volume.go:27
↓ 3 callersFunctionrunOnExampleWorkingDirs
(t *testing.T, testFn func(*testing.T, string, bool))
par2/decoder_test.go:268
↓ 3 callersMethodsavedInVolumeSet
()
par1/file_entry.go:15
↓ 3 callersMethodscaleRow
(i int, c T)
gf2p16/matrix.go:133
↓ 3 callersFunctionsixteenKHash
(data []byte)
par2/decoder.go:292
↓ 3 callersFunctionsizeOfPacketHeader
()
par2/packet.go:21
↓ 3 callersFunctionsliceAndPadByteArray
(bs []byte, start, end int)
par2/decoder.go:299
↓ 3 callersFunctionstandardToAltMapSSSE3Unsafe
standardToAltMapSSSE3Unsafe sets *outLow = in0[0,2,4,6,8,10,12,14] . in1[0,2,4,6,8,10,12,14] *outHigh = in0[1,3,5,7,9,11,13,15] . in1[1,3,5,7,9,11,1
gf2p16/slice_amd64.go:99
↓ 3 callersFunctionstandardToAltMapSliceSSSE3Unsafe
standardToAltMapSliceSSSE3Unsafe behaves like calling standardToAltMapSSSE3Unsafe( inChunk[16:32], inChunk[0:16], outChunk[16:32], outChunk[0:16], )
gf2p16/slice_amd64.go:111
↓ 3 callersFunctiontToUint16Array
(ts []T)
gf2p16/slice_test.go:28
↓ 3 callersFunctiontestCRC32Window
(t *testing.T, windowSize, updateCount int)
par2/crc32_test.go:95
↓ 3 callersFunctiontoSortedStrings
(arr []string)
par1/decoder_test.go:74
↓ 3 callersFunctiontoSortedStrings
(arr []string)
par2/decoder_test.go:359
↓ 3 callersFunctionverify
(fileIO fileIO, parPath string, options VerifyOptions)
par1/verify.go:43
↓ 3 callersFunctionverify
(fileIO fileIO, parPath string, options VerifyOptions)
par2/verify.go:37
↓ 3 callersFunctionwriteFileEntry
(entry fileEntry)
par1/file_entry.go:121
↓ 3 callersFunctionwriteHeader
(h header)
par1/header.go:75
↓ 3 callersFunctionwriteMainPacket
(packet mainPacket)
par2/main_packet.go:100
↓ 2 callersMethodFindWithPrefixAndSuffix
(prefix, suffix string)
par2/decoder.go:20
↓ 2 callersMethodOnDataFileWrite
(i, n int, path string, byteCount int, err error)
par2/decoder.go:197
↓ 2 callersMethodOnRecoveryPacketLoad
(exponent uint16, byteCount int)
par2/decoder.go:189
↓ 2 callersMethodOnUnknownPacketLoad
(packetType [16]byte, byteCount int)
par2/decoder.go:190
↓ 2 callersMethodOnVolumeFileLoad
(i uint64, path string, storedSetHash, computedSetHash [16]byte, dataByteCount int, err error)
par1/decoder.go:39
↓ 2 callersMethodOnVolumeFileWrite
(i, n int, path string, dataByteCount, byteCount int, err error)
par1/encoder.go:32
↓ 2 callersMethodPlus
Plus returns the sum of t and u as elements of GF(2^16), which is just the bitwise xor of the two.
gf2p16/t.go:10
↓ 2 callersMethodRepair
Repair tries to repair any missing or corrupt data, using the parity volumes. Returns a list of paths to files that were successfully repaired (relati
par1/decoder.go:385
↓ 2 callersMethodRowReduceForInverse
RowReduceForInverse runs row reduction on copies of m, which must be square, and n, which must have the same number of rows as m. The row-reduced copy
gf2p16/matrix.go:219
↓ 2 callersMethodString
()
par1/header.go:41
↓ 2 callersFunctionaltToStandardMapSSSE3Unsafe
altToStandardMapSSSE3Unsafe is the inverse of standardToAltMapSSSE3Unsafe. That is, it sets *out0 = inLow[0] . inHigh[0] . inLow[1] . inHigh[1] .
gf2p16/slice_amd64.go:122
↓ 2 callersFunctionaltToStandardMapSliceSSSE3Unsafe
altToStandardMapSliceSSSE3Unsafe behaves like calling altToStandardMapSSSE3Unsafe( inChunk[16:32], inChunk[0:16], outChunk[16:32], outChunk[0:16], )
gf2p16/slice_amd64.go:134
↓ 2 callersMethodapplyMatrix
(m gf2p16.Matrix, in, out [][]byte)
rsec16/coder.go:141
↓ 2 callersFunctionapplyMatrixSingle
(m gf2p16.Matrix, in, out [][]byte)
rsec16/matrix.go:23
↓ 2 callersFunctionbenchmarkMatrixInverse
(b *testing.B, count int)
gf2p16/matrix_test.go:143
↓ 2 callersMethodbuildShards
()
par1/decoder.go:265
↓ 2 callersFunctionbuildVTemplate
(t *testing.T, fs memfs.MemFS, sortedPaths []string)
par1/decoder_test.go:81
↓ 2 callersFunctioncheckFileIDSetsSorted
(recoverySet, nonRecoverySet []fileID)
par2/main_packet.go:39
↓ 2 callersFunctioncheckFilename
TODO: It's theoretically possible for filename to contain backslashes -- check to see what par2cmdline does on Windows. We'd then have to handle par f
par2/file_description_packet.go:41
↓ 2 callersFunctioncheckPacketHeader
(h packetHeader)
par2/packet.go:25
↓ 2 callersFunctioncomputePacketHash
(setID recoverySetID, packetType packetType, body []byte)
par2/packet.go:64
↓ 2 callersFunctioncreate
(fileIO fileIO, parPath string, filePaths []string, options CreateOptions)
par1/create.go:58
↓ 2 callersFunctioncreate
(fileIO fileIO, parPath string, filePaths []string, options CreateOptions)
par2/create.go:77
↓ 2 callersFunctiondecodeUTF16LEString
(bs []byte)
par1/file_entry.go:67
↓ 2 callersFunctiondecoderInputFileInfoIDs
(infos []decoderInputFileInfo)
par2/decoder.go:47
↓ 2 callersFunctionencodeUTF16LEString
(s string)
par1/file_entry.go:85
↓ 2 callersMethodget
(crc32 uint32, data []byte)
par2/decoder.go:102
↓ 2 callersFunctiongetCreateFlags
(name string)
cmd/par/main.go:227
↓ 2 callersMethodgetFilePath
(entry fileEntry)
par1/decoder.go:118
↓ 2 callersFunctiongetGlobalFlags
(name string)
cmd/par/main.go:210
↓ 2 callersFunctiongetRepairFlags
(name string)
cmd/par/main.go:255
↓ 2 callersFunctiongetVerifyFlags
(name string)
cmd/par/main.go:242
↓ 2 callersFunctionmakeDecoderInputFileInfos
(fileIDs []fileID, fileDescriptionPackets map[fileID]fileDescriptionPacket, ifscPackets map[fileID]ifscPacket)
par2/decoder.go:55
↓ 2 callersFunctionmakeTestFillShardInfoInputs
(tb testing.TB, sliceByteCount, dataByteCount int)
par2/decoder_test.go:17
↓ 2 callersFunctionmulAndAddByteSliceLE
(c T, in, out []byte, useSSSE3 bool)
gf2p16/slice_amd64.go:47
↓ 2 callersFunctionmulAndAddSliceSSSE3Unsafe
mulAndAddSliceAltMapSSSE3Unsafe behaves like calling mulAndAddSliceSSSE3Unsafe( cEntry, inChunk[16:32], inChunk[0:16], outChunk[16:32], outChunk[0:1
gf2p16/slice_amd64.go:204
↓ 2 callersFunctionmulByteSliceLE
(c T, in, out []byte, useSSSE3 bool)
gf2p16/slice_amd64.go:22
↓ 2 callersFunctionmulSliceSSSE3Unsafe
mulSliceAltMapSSSE3Unsafe behaves like calling mulSliceSSSE3Unsafe( cEntry, inChunk[16:32], inChunk[0:16], outChunk[16:32], outChunk[0:16], ) on ea
gf2p16/slice_amd64.go:183
↓ 2 callersFunctionnewCauchyMatrix
(rows, columns int, xFunc, yFunc func(int) gf2p16.T)
rsec16/cauchy.go:5
↓ 2 callersFunctionnewCoderPAR2Vandermonde
(dataShards, parityShards int)
rsec16/coder_test.go:16
↓ 2 callersMethodnewReedSolomon
()
par1/decoder.go:285
↓ 2 callersFunctionnewTestVandermondeMatrix
(rows, columns int)
rsec16/vandermonde_test.go:10
↓ 2 callersFunctionnewVandermondeParityMatrix
(dataShards, parityShards int)
rsec16/coder.go:78
↓ 2 callersFunctionnullTerminate
(bs []byte)
par2/string.go:9
↓ 2 callersFunctionprocessRepairChecker
(repairChecker repairChecker)
cmd/par/main.go:345
↓ 2 callersFunctionprocessRepairResultAndExit
( repairedPaths []string, repairErrorMeansRepairNecessaryButNotPossible func(error) bool, err error)
cmd/par/main.go:357
↓ 2 callersMethodput
(crc32 uint32, md5Hash [md5.Size]byte, location shardLocation)
par2/decoder.go:88
↓ 2 callersFunctionreadCreatorPacket
(body []byte)
par2/creator_packet.go:5
↓ 2 callersFunctionreadFileDescriptionPacket
(body []byte)
par2/file_description_packet.go:54
↓ 2 callersFunctionreadFileEntry
(buf *bytes.Buffer)
par1/file_entry.go:101
↓ 2 callersFunctionreadHeader
(buf *bytes.Buffer)
par1/header.go:53
↓ 2 callersFunctionreadIFSCPacket
(body []byte)
par2/ifsc_packet.go:22
↓ 2 callersFunctionreadMainPacket
(body []byte)
par2/main_packet.go:55
↓ 2 callersFunctionreadNextPacket
(buf *bytes.Buffer)
par2/packet.go:72
↓ 2 callersFunctionreadPacketHeader
(buf *bytes.Buffer)
par2/packet.go:37
↓ 2 callersFunctionreadRecoveryPacket
(body []byte)
par2/recovery_packet.go:17
↓ 2 callersFunctionreverse32
etc.
par2/crc32_test.go:19
↓ 2 callersMethodrowReduceForInverse
(n Matrix)
gf2p16/matrix.go:144
↓ 2 callersFunctionrunApplyMatrixTest
(t *testing.T, fn func(*testing.T, applyMatrixFunc))
rsec16/matrix_test.go:94
↓ 2 callersMethodsetSavedInVolumeSet
(saved bool)
par1/file_entry.go:19
↓ 2 callersFunctionsizeOfFileEntryHeader
()
par1/file_entry.go:58
↓ 2 callersFunctiontestCreate
(t *testing.T, workingDir string, useAbsPath bool, options CreateOptions)
par1/create_test.go:19
↓ 2 callersFunctiontestCreate
(t *testing.T, workingDir string, options CreateOptions)
par2/create_test.go:12
↓ 2 callersFunctiontestMakeReconstructionMatrix
(t *testing.T, newParityMatrixFn func(int, int) gf2p16.Matrix)
rsec16/coder_test.go:76
↓ 2 callersFunctiontestMulAndAddSlice
(t *testing.T, byteCount int, mulAndAddFn func(T, []T, []T))
gf2p16/slice_test.go:143
← previousnext →101–200 of 556, ranked by callers