Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for index (0.04 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	// checksum which are different on each disks.
    	for index := range partsMetadata {
    		if partsMetadata[index].IsValid() {
    			partsMetadata[index].Size = fi.Size
    			partsMetadata[index].ModTime = fi.ModTime
    			partsMetadata[index].Metadata = fi.Metadata
    			partsMetadata[index].Parts = fi.Parts
    			partsMetadata[index].Checksum = fi.Checksum
    			partsMetadata[index].Versioned = opts.Versioned || opts.VersionSuspended
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. pkg/controller/job/success_policy_test.go

    			successPolicy: &batch.SuccessPolicy{
    				Rules: []batch.SuccessPolicyRule{{
    					SucceededIndexes: ptr.To("0-2"),
    				}},
    			},
    			wantMessage:          "Matched rules at index 0",
    			wantMetSuccessPolicy: true,
    		},
    		"rules.succeededIndexes is specified; succeededIndexes didn't match rules": {
    			enableJobSuccessPolicy: true,
    			completions:            10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    		return FileInfo{}, errErasureReadQuorum
    	}
    
    	// Iterate through all the modTimes and count the FileInfo(s) with latest time.
    	for index, t := range modTimes {
    		if partsMetadata[index].IsValid() && t.Equal(modTime) {
    			latestFileInfo = partsMetadata[index]
    			count++
    		}
    	}
    
    	if !latestFileInfo.IsValid() {
    		return FileInfo{}, errErasureReadQuorum
    	}
    
    	if count < latestFileInfo.Erasure.DataBlocks {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    	g := errgroup.WithNErrs(len(storageDisks))
    	var mu sync.Mutex
    	for index := range storageDisks {
    		index := index
    		g.Go(func() error {
    			if storageDisks[index] == nil {
    				// we ignore disk not found errors
    				return nil
    			}
    			volsInfo, err := storageDisks[index].ListVols(ctx)
    			if err != nil {
    				return err
    			}
    			for _, volInfo := range volsInfo {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  6. association.go

    	for _, assignBack := range assignBacks {
    		fieldValue := reflect.Indirect(association.Relationship.Field.ReflectValueOf(association.DB.Statement.Context, assignBack.Source))
    		if assignBack.Index > 0 {
    			reflect.Indirect(assignBack.Dest).Set(fieldValue.Index(assignBack.Index - 1))
    		} else {
    			reflect.Indirect(assignBack.Dest).Set(fieldValue)
    		}
    	}
    }
    
    func (association *Association) buildCondition() *DB {
    	var (
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. pkg/apis/resource/validation/validation.go

    	return allErrs
    }
    
    func validateDriverAllocationResults(results []resource.DriverAllocationResult, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    	for index, result := range results {
    		idxPath := fldPath.Index(index)
    		allErrs = append(allErrs, validateAllocationResultModel(&result.AllocationResultModel, idxPath)...)
    	}
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  8. pkg/kubelet/userns/userns_manager.go

    	}
    
    	_, err = m.parseUserNsFileAndRecord(pod, content)
    	return err
    }
    
    // isSet checks if the specified index is already set.
    func (m *UsernsManager) isSet(v uint32) bool {
    	index := int(v/userNsLength) - m.off
    	if index < 0 || index >= m.len {
    		return true
    	}
    	return m.used.Has(index)
    }
    
    // allocateOne finds a free user namespace and allocate it to the specified pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. callbacks/preload.go

    				tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue.Index(i), reflect.MakeSlice(rel.Field.IndirectFieldType, 0, 10).Interface()))
    			default:
    				tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue.Index(i), reflect.New(rel.Field.FieldType).Interface()))
    			}
    		}
    	}
    
    	for i := 0; i < reflectResults.Len(); i++ {
    		elem := reflectResults.Index(i)
    		for idx, field := range relForeignFields {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    	return Workloads
    }
    
    func (a *index) workloadEntryWorkloadBuilder(
    	MeshConfig krt.Singleton[MeshConfig],
    	AuthorizationPolicies krt.Collection[model.WorkloadAuthorization],
    	PeerAuths krt.Collection[*securityclient.PeerAuthentication],
    	Waypoints krt.Collection[Waypoint],
    	WorkloadServices krt.Collection[model.ServiceInfo],
    	WorkloadServicesNamespaceIndex *krt.Index[model.ServiceInfo, string],
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top