- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for bitrotAlgorithms (0.15 sec)
-
cmd/xl-storage_test.go
t.Errorf("expected: %s, got: %s", errFileAccessDenied, err) } } } var xlStorageReadFileWithVerifyTests = []struct { file string offset int length int algorithm BitrotAlgorithm expError error }{ {file: "myobject", offset: 0, length: 100, algorithm: SHA256, expError: nil}, // 0 {file: "myobject", offset: 25, length: 74, algorithm: SHA256, expError: nil}, // 1
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
cmd/xl-storage.go
parentDir := pathutil.Dir(srcFilePath) s.deleteFile(srcVolumeDir, parentDir, false, false) return nil } func (s *xlStorage) bitrotVerify(ctx context.Context, partPath string, partSize int64, algo BitrotAlgorithm, sum []byte, shardSize int64) error { // Open the file for reading. file, err := OpenFile(partPath, readMode, 0o666) if err != nil { return osErrToFileErr(err) } // Close the file descriptor.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0)