Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for Alice (9.22 sec)

  1. cmd/s3-zip-handlers.go

    	}
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	files, err := zipindex.DeserializeFiles(zipInfo)
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	sort.Slice(files, func(i, j int) bool {
    		return files[i].Name < files[j].Name
    	})
    
    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    		listObjectsInfo ListObjectsV2Info
    	)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. internal/kms/kes.go

    	if len(config.Endpoints) == 0 {
    		return nil, errors.New("kms: no server endpoints")
    	}
    	endpoints := make([]string, len(config.Endpoints)) // Copy => avoid being affect by any changes to the original slice
    	copy(endpoints, config.Endpoints)
    
    	var client *kes.Client
    	if config.APIKey != nil {
    		cert, err := kes.GenerateCertificate(config.APIKey)
    		if err != nil {
    			return nil, err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    			Object:    object,
    			UploadID:  base64.RawURLEncoding.EncodeToString([]byte(fmt.Sprintf("%s.%s", globalDeploymentID(), uploadID))),
    			Initiated: startTime,
    		})
    		populatedUploadIDs.Add(uploadID)
    	}
    
    	sort.Slice(uploads, func(i int, j int) bool {
    		return uploads[i].Initiated.Before(uploads[j].Initiated)
    	})
    
    	uploadIndex := 0
    	if uploadIDMarker != "" {
    		for uploadIndex < len(uploads) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    			objects uint64
    			path    dataUsageHash
    		}{objects: sz.Objects, path: path})
    		for ch := range e.Children {
    			add(dataUsageHash(ch))
    		}
    	}
    
    	// Add path recursively.
    	add(path)
    	sort.Slice(leaves, func(i, j int) bool {
    		return leaves[i].objects < leaves[j].objects
    	})
    	for remove > 0 && len(leaves) > 0 {
    		// Remove top entry.
    		e := leaves[0]
    		candidate := e.path
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. internal/s3select/json/preader.go

    	readCloser  io.ReadCloser   // raw input
    	buf         *bufio.Reader   // input to the splitter
    	current     []jstream.KVS   // current block of results to be returned
    	recordsRead int             // number of records read in current slice
    	input       chan *queueItem // input for workers
    	queue       chan *queueItem // output from workers in order
    	err         error           // global error state, only touched by Reader.Read
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  6. internal/bucket/replication/replication.go

    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.Prefix()) {
    			continue
    		}
    		if rule.Filter.TestTags(obj.UserTags) {
    			rules = append(rules, rule)
    		}
    	}
    	sort.Slice(rules, func(i, j int) bool {
    		return rules[i].Priority > rules[j].Priority && rules[i].Destination.String() == rules[j].Destination.String()
    	})
    
    	return rules
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. internal/config/config.go

    // kvFields - converts an input string of form "k1=v1 k2=v2" into
    // fields of ["k1=v1", "k2=v2"], the tokenization of each `k=v`
    // happens with the right number of input keys, if keys
    // input is empty returned value is empty slice as well.
    func kvFields(input string, keys []string) []string {
    	valueIndexes := make([]int, 0, len(keys))
    	for _, key := range keys {
    		i := strings.Index(input, key+KvSeparator)
    		if i == -1 {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    				ss.HealStatus = "Healing"
    				ss.HealPriority = "high"
    				status.HealDisks = append(status.HealDisks, disk.Endpoint)
    			}
    		}
    		sortDisks(ss.Disks)
    		status.Sets = append(status.Sets, ss)
    	}
    	sort.Slice(status.Sets, func(i, j int) bool {
    		return status.Sets[i].ID < status.Sets[j].ID
    	})
    
    	backendInfo := o.BackendInfo()
    	status.SCParity = make(map[string]int)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. cmd/metacache-bucket.go

    			if _, ok := remove[id]; ok {
    				continue
    			}
    			remainCaches = append(remainCaches, cache)
    		}
    		if len(remainCaches) > metacacheMaxEntries {
    			// Sort oldest last...
    			sort.Slice(remainCaches, func(i, j int) bool {
    				return remainCaches[i].lastHandout.Before(remainCaches[j].lastHandout)
    			})
    			// Keep first metacacheMaxEntries...
    			for _, cache := range remainCaches[metacacheMaxEntries:] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. cmd/streaming-v4-unsigned.go

    		n = copy(buf, cr.buffer[cr.offset:])
    		if n == len(buf) {
    			cr.offset += n
    			return n, nil
    		}
    		cr.offset = 0
    		buf = buf[n:]
    	}
    	// mustRead reads from input and compares against provided slice.
    	mustRead := func(b ...byte) error {
    		for _, want := range b {
    			got, err := cr.reader.ReadByte()
    			if err == io.EOF {
    				return io.ErrUnexpectedEOF
    			}
    			if got != want {
    				if cr.debug {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
Back to top