Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for Alice (0.12 sec)

  1. cmd/bucket-handlers.go

    			return
    		}
    		for _, dnsRecords := range dnsBuckets {
    			bucketsInfo = append(bucketsInfo, BucketInfo{
    				Name:    dnsRecords[0].Key,
    				Created: dnsRecords[0].CreationDate,
    			})
    		}
    
    		sort.Slice(bucketsInfo, func(i, j int) bool {
    			return bucketsInfo[i].Name < bucketsInfo[j].Name
    		})
    
    	} else {
    		// Invoke the list buckets.
    		var err error
    		bucketsInfo, err = listBuckets(ctx, BucketOptions{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    				node.Pools = append(node.Pools, ep.PoolIdx)
    			}
    			nodesMap[ep.Host] = node
    		}
    	}
    	nodes = make([]Node, 0, len(nodesMap))
    	for _, v := range nodesMap {
    		nodes = append(nodes, v)
    	}
    	sort.Slice(nodes, func(i, j int) bool {
    		return nodes[i].Host < nodes[j].Host
    	})
    	return
    }
    
    // GetPoolIdx return pool index
    func (l EndpointServerPools) GetPoolIdx(pool string) int {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common.go

    		// the etag.
    		if count >= quorum {
    			return etags
    		}
    	}
    
    	return make([]string, len(partsMetadata))
    }
    
    // Extracts list of times from FileInfo slice and returns, skips
    // slice elements which have errors.
    func listObjectModtimes(partsMetadata []FileInfo, errs []error) (modTimes []time.Time) {
    	modTimes = bootModtimes(len(partsMetadata))
    	for index, metadata := range partsMetadata {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. internal/store/queuestore.go

    func (store *QueueStore[_]) List() ([]string, error) {
    	store.RLock()
    	l := make([]string, 0, len(store.entries))
    	for k := range store.entries {
    		l = append(l, k)
    	}
    
    	// Sort entries...
    	sort.Slice(l, func(i, j int) bool {
    		return store.entries[l[i]] < store.entries[l[j]]
    	})
    	store.RUnlock()
    
    	return l, nil
    }
    
    // list will read all entries from disk.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    }
    
    func isAllVolumeNotFound(errs []error) bool {
    	return countErrs(errs, errVolumeNotFound) == len(errs)
    }
    
    // isAllNotFound will return if any element of the error slice is not
    // errFileNotFound, errFileVersionNotFound or errVolumeNotFound.
    // A 0 length slice will always return false.
    func isAllNotFound(errs []error) bool {
    	for _, err := range errs {
    		if err != nil {
    			switch err.Error() {
    			case errFileNotFound.Error():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. cmd/background-newdisks-heal-ops.go

    	buckets = append(buckets, BucketInfo{
    		Name: pathJoin(minioMetaBucket, minioConfigPrefix),
    	}, BucketInfo{
    		Name: pathJoin(minioMetaBucket, bucketMetaPrefix),
    	})
    
    	// Heal latest buckets first.
    	sort.Slice(buckets, func(i, j int) bool {
    		a, b := strings.HasPrefix(buckets[i].Name, minioMetaBucket), strings.HasPrefix(buckets[j].Name, minioMetaBucket)
    		if a != b {
    			return a
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    			return
    		}
    		for _, dnsRecords := range dnsBuckets {
    			buckets = append(buckets, BucketInfo{
    				Name:    dnsRecords[0].Key,
    				Created: dnsRecords[0].CreationDate,
    			})
    		}
    		sort.Slice(buckets, func(i, j int) bool {
    			return buckets[i].Name < buckets[j].Name
    		})
    	} else {
    		buckets, err = objectAPI.ListBuckets(ctx, BucketOptions{Cached: true})
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top