Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 678 for index (0.12 sec)

  1. pkg/controller/volume/persistentvolume/index_test.go

    	pvBadMode.Spec.AccessModes = []v1.PersistentVolumeAccessMode{v1.ReadOnlyMany}
    
    	index := newPersistentVolumeOrderedIndex()
    	index.store.Add(pv1)
    	index.store.Add(pv5)
    	index.store.Add(pv8)
    	index.store.Add(pvBadSize)
    	index.store.Add(pvBadMode)
    
    	// expected exact match on size
    	volume, _ := index.findBestMatchForClaim(claim, false)
    	if volume.Name != pv1.Name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    			allErrs = append(allErrs, field.Invalid(path.Index(i).Child("utilization"), point.Utilization, msg))
    		}
    
    		if point.Score < minScore || point.Score > maxScore {
    			msg := fmt.Sprintf("not in valid range [%d, %d]", minScore, maxScore)
    			allErrs = append(allErrs, field.Invalid(path.Index(i).Child("score"), point.Score, msg))
    		}
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/typeparams.go

    // indexing
    
    func _[T any] (x T, i int) { _ = x /* ERROR "cannot index" */ [i] }
    func _[T interface{ ~int }] (x T, i int) { _ = x /* ERROR "cannot index" */ [i] }
    func _[T interface{ ~string }] (x T, i int) { _ = x[i] }
    func _[T interface{ ~[]int }] (x T, i int) { _ = x[i] }
    func _[T interface{ ~[10]int | ~*[20]int | ~map[int]int }] (x T, i int) { _ = x /* ERROR "cannot index" */ [i] } // map and non-map types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:56:58 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  4. pkg/controller/nodeipam/ipam/cidrset/cidr_set_test.go

    		clusterCIDRStr string
    		subnetMaskSize int
    		index          int
    		CIDRBlock      string
    		description    string
    	}{
    		{
    			clusterCIDRStr: "127.123.3.0/16",
    			subnetMaskSize: 24,
    			index:          0,
    			CIDRBlock:      "127.123.0.0/24",
    			description:    "1st IP address indexed with IPv4",
    		},
    		{
    			clusterCIDRStr: "127.123.0.0/16",
    			subnetMaskSize: 24,
    			index:          15,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/sym.go

    				s.SymIdx = hashed64idx
    				if hashed64idx != int32(len(ctxt.hashed64defs)) {
    					panic("bad index")
    				}
    				ctxt.hashed64defs = append(ctxt.hashed64defs, s)
    				hashed64idx++
    			} else {
    				s.PkgIdx = goobj.PkgIdxHashed
    				s.SymIdx = hashedidx
    				if hashedidx != int32(len(ctxt.hasheddefs)) {
    					panic("bad index")
    				}
    				ctxt.hasheddefs = append(ctxt.hasheddefs, s)
    				hashedidx++
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. pkg/apis/networking/validation/validation.go

    					allErrs = append(allErrs, field.Invalid(fldPath.Index(tlsIndex).Child("hosts").Index(i), host, msg))
    				}
    				continue
    			}
    			for _, msg := range validation.IsDNS1123Subdomain(host) {
    				allErrs = append(allErrs, field.Invalid(fldPath.Index(tlsIndex).Child("hosts").Index(i), host, msg))
    			}
    		}
    
    		if !opts.AllowInvalidSecretName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 14:48:01 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/arm64.go

    			a.Reg = arm64.REG_SXTH + Rnum
    		case "SXTW":
    			if a.Type == obj.TYPE_MEM {
    				a.Index = arm64.REG_SXTW + Rnum
    			} else {
    				a.Reg = arm64.REG_SXTW + Rnum
    			}
    		case "SXTX":
    			if a.Type == obj.TYPE_MEM {
    				a.Index = arm64.REG_SXTX + Rnum
    			} else {
    				a.Reg = arm64.REG_SXTX + Rnum
    			}
    		case "LSL":
    			a.Index = arm64.REG_LSL + Rnum
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/xcoff/xcoff.go

    	Xlnnoptr uint32 // File pointer to line number
    	Xendndx  uint32 // Symbol table index of next entry
    	Xpad     uint16 // Unused
    }
    type AuxFcn64 struct {
    	Xlnnoptr uint64 // File pointer to line number
    	Xfsize   uint32 // Size of function in bytes
    	Xendndx  uint32 // Symbol table index of next entry
    	Xpad     uint8  // Unused
    	Xauxtype uint8  // Type of auxiliary entry
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	Metric  int32
    }
    
    type IfmaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	_       [2]byte
    }
    
    type IfmaMsghdr2 struct {
    	Msglen   uint16
    	Version  uint8
    	Type     uint8
    	Addrs    int32
    	Flags    int32
    	Index    uint16
    	Refcount int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top