Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for inde (0.17 sec)

  1. internal/bucket/lifecycle/action_string.go

    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 182, 193}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    		return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _Action_name[_Action_index[i]:_Action_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. migrator/migrator.go

    		}
    		results = append(results, clause.Expr{SQL: str})
    	}
    	return
    }
    
    // BuildIndexOptionsInterface build index options interface
    type BuildIndexOptionsInterface interface {
    	BuildIndexOptions([]schema.IndexOption, *gorm.Statement) []interface{}
    }
    
    // CreateIndex create index `name`
    func (m Migrator) CreateIndex(value interface{}, name string) error {
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/workload.go

    		jn := verifiedWorkloads[j].Namespace + "." + verifiedWorkloads[j].Name
    		if in != jn {
    			return in < jn
    		}
    		iNode := verifiedWorkloads[i].Node
    		jNode := verifiedWorkloads[j].Node
    		return iNode < jNode
    	})
    
    	if filter.Verbose {
    		fmt.Fprintln(w, "NAMESPACE\tPOD NAME\tIP\tNODE\tWAYPOINT\tPROTOCOL")
    	} else {
    		fmt.Fprintln(w, "NAMESPACE\tPOD NAME\tIP\tNODE")
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    func (e metaCacheEntry) isInDir(dir, separator string) bool {
    	if len(dir) == 0 {
    		// Root
    		idx := strings.Index(e.name, separator)
    		return idx == -1 || idx == len(e.name)-len(separator)
    	}
    	ext := strings.TrimPrefix(e.name, dir)
    	if len(ext) != len(e.name) {
    		idx := strings.Index(ext, separator)
    		// If separator is not found or is last entry, ok.
    		return idx == -1 || idx == len(ext)-len(separator)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses.go

    	sort.Slice(setCounts, func(i, j int) bool {
    		return setCounts[i] < setCounts[j]
    	})
    
    	return setCounts
    }
    
    // getSetIndexes returns list of indexes which provides the set size
    // on each index, this function also determines the final set size
    // The final set size has the affinity towards choosing smaller
    // indexes (total sets)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	// Make sure only one node running resync on the cluster.
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	for index := range buckets {
    		bucket := buckets[index].Name
    
    		meta, err := loadBucketResyncMetadata(ctx, bucket, objAPI)
    		if err != nil {
    			if !errors.Is(err, errVolumeNotFound) {
    				replLogIf(ctx, err)
    			}
    			continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/test-utils_test.go

    	ErasureSetsTestStr string = "ErasureSet"
    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    	g := errgroup.WithNErrs(len(storageDisks))
    
    	// Write `format.json` to all disks.
    	for index := range storageDisks {
    		index := index
    		g.Go(func() error {
    			if formats[index] == nil {
    				return errDiskNotFound
    			}
    			return saveFormatErasure(storageDisks[index], formats[index], "")
    		}, index)
    	}
    
    	// Wait for the routines to finish.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. scan.go

    			}
    
    			for initialized || rows.Next() {
    			BEGIN:
    				initialized = false
    
    				if update {
    					if int(db.RowsAffected) >= reflectValue.Len() {
    						return
    					}
    					elem = reflectValue.Index(int(db.RowsAffected))
    					if onConflictDonothing {
    						for _, field := range fields {
    							if _, ok := field.ValueOf(db.Statement.Context, elem); !ok {
    								db.RowsAffected++
    								goto BEGIN
    							}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top