Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for index (0.06 sec)

  1. cmd/erasure-healing-common.go

    			for index, e := range etags {
    				if partsMetadata[index].IsValid() && e == etag {
    					onlineDisks[index] = disks[index]
    				} else {
    					onlineDisks[index] = nil
    				}
    			}
    			return onlineDisks, modTime, etag
    		}
    	}
    
    	// Create a new online disks slice, which have common uuid.
    	for index, t := range modTimes {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    	g := errgroup.WithNErrs(len(users))
    
    	for index := range users {
    		index := index
    		g.Go(func() error {
    			userName := path.Dir(users[index])
    			user, err := iamOS.loadUserIdentity(ctx, userName, userType)
    			if err != nil && !errors.Is(err, errNoSuchUser) {
    				return fmt.Errorf("unable to load the user `%s`: %w", userName, err)
    			}
    			userIdentities[index] = user
    			return nil
    		}, index)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    	// Start writing `xl.meta` to all disks in parallel.
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			// Pick one FileInfo for a disk at index.
    			fi := files[index]
    			fi.Erasure.Index = index + 1
    			if fi.IsValid() {
    				return disks[index].WriteMetadata(ctx, origbucket, bucket, prefix, fi)
    			}
    			return errFileCorrupt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	for index, commonPrefix := range multipartsInfo.CommonPrefixes {
    		listMultipartUploadsResponse.CommonPrefixes[index] = CommonPrefix{
    			Prefix: s3EncodeName(commonPrefix, encodingType),
    		}
    	}
    	listMultipartUploadsResponse.Uploads = make([]Upload, len(multipartsInfo.Uploads))
    	for index, upload := range multipartsInfo.Uploads {
    		newUpload := Upload{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. cmd/encryption-v1.go

    		if len(objects) < BatchSize {
    			N = len(objects)
    		}
    		batch := objects[:N]
    
    		// We have to decrypt only ETags of SSE-S3 single-part
    		// objects.
    		// Therefore, we remember which objects (there index)
    		// in the current batch are single-part SSE-S3 objects.
    		metadata = metadata[:0:N]
    		buckets = buckets[:0:N]
    		names = names[:0:N]
    		SSES3SinglePartObjects := make(map[int]bool)
    		for i, object := range batch {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  6. README.md

    - [Use `minio-go` SDK with MinIO Server](https://min.io/docs/minio/linux/developers/go/minio-go.html)
    - [The MinIO documentation website](https://min.io/docs/minio/linux/index.html)
    
    ## Contribute to MinIO Project
    
    Please follow MinIO [Contributor's Guide](https://github.com/minio/minio/blob/master/CONTRIBUTING.md)
    
    ## License
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:34:11 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1_gen.go

    			}
    		case "BlockSize":
    			z.BlockSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "BlockSize")
    				return
    			}
    		case "Index":
    			z.Index, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Index")
    				return
    			}
    		case "Distribution":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  8. helm-releases/minio-5.3.0.tgz

    key in an existing secret (if it exists), otherwise it generates a random value. */}} {{- define "minio.getValueFromSecret" }} {{- $len := (default 16 .Length) | int -}} {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}} {{- if $obj }} {{- index $obj .Key | b64dec -}} {{- else -}} {{- randAlphaNum $len -}} {{- end -}} {{- end }} {{- define "minio.root.username" -}} {{- if .Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace"...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 11 12:21:05 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. cmd/admin-heal-ops.go

    	t.HealedBuckets = append(make([]string, 0, len(tracker.HealedBuckets)), tracker.HealedBuckets...)
    	ahs.healStatus[tracker.ID] = t
    	tracker.mu.RUnlock()
    }
    
    // Sort by zone, set and disk index
    func sortDisks(disks []madmin.Disk) {
    	sort.Slice(disks, func(i, j int) bool {
    		a, b := &disks[i], &disks[j]
    		if a.PoolIndex != b.PoolIndex {
    			return a.PoolIndex < b.PoolIndex
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    	// latest version.
    	LatestModTime time.Time `msg:"lm"`
    
    	Versions     []FileInfo `msg:"vs"`
    	FreeVersions []FileInfo `msg:"fvs"`
    }
    
    // findVersionIndex will return the version index where the version
    // was found. Returns -1 if not found.
    func (f *FileInfoVersions) findVersionIndex(v string) int {
    	if f == nil || v == "" {
    		return -1
    	}
    	if v == nullVersionID {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top