- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for checkPart (0.34 sec)
-
cmd/xl-storage.go
return err } if n != len(buf) { return io.ErrShortWrite } return nil } // checkPart is a light check of an existing and size of a part, without doing a bitrot operation // For any unexpected error, return checkPartUnknown (zero) func (s *xlStorage) checkPart(volumeDir, path, dataDir string, partNum int, expectedSize int64, skipAccessCheck bool) (resp int) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0) -
cmd/storage-rest-client.go
DiskID: *client.diskID.Load(), Volume: volume, FilePath: path, Buf: b, }) return toStorageErr(err) } // CheckParts - stat all file parts. func (client *storageRESTClient) CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error) { var resp *CheckPartsResp
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
func shufflePartsMetadata(partsMetadata []FileInfo, distribution []int) []FileInfo { return shuffleWithDist[FileInfo](partsMetadata, distribution) } // shuffleCheckParts - shuffle CheckParts slice depending on the // erasure distribution. func shuffleCheckParts(parts []int, distribution []int) []int { return shuffleWithDist[int](parts, distribution) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
cmd/sftp-server.go
return errors.New("public key authority validation requested but no ca public key specified.") } cert, ok := clientKey.(*ssh.Certificate) if !ok { return errSftpPublicKeyWithoutCert } // ssh.CheckCert called by ssh.Authenticate accepts certificates // with empty principles list so we block those in here. if len(cert.ValidPrincipals) == 0 { return errSftpCertWithoutPrincipals }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.5K bytes - Viewed (0)