Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,158 for index (0.04 sec)

  1. pkg/util/iptables/save_restore.go

    // chain defined in that table.
    func GetChainsFromTable(save []byte) sets.Set[Chain] {
    	chainsSet := sets.New[Chain]()
    
    	for {
    		i := bytes.Index(save, []byte("\n:"))
    		if i == -1 {
    			break
    		}
    		start := i + 2
    		save = save[start:]
    		end := bytes.Index(save, []byte(" "))
    		if end == -1 {
    			// shouldn't happen, but...
    			break
    		}
    		chain := Chain(save[:end])
    		chainsSet.Insert(chain)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. pkg/test/loadbalancersim/loadbalancer/edf.go

    // Less implements heap.Interface/sort.Interface
    func (pq priorityQueue) Less(i, j int) bool {
    	// Flip logic to make this a min queue.
    	if pq[i].deadline == pq[j].deadline {
    		return pq[i].index < pq[j].index
    	}
    	return pq[i].deadline < pq[j].deadline
    }
    
    // Swap implements heap.Interface/sort.Interface
    func (pq priorityQueue) Swap(i, j int) {
    	pq[i], pq[j] = pq[j], pq[i]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go

    	Version   uint8
    	Type      uint8
    	Index     uint16
    	Flags     int32
    	Addrs     int32
    	Addrflags int32
    	Metric    int32
    }
    
    type IfmaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Index   uint16
    	Flags   int32
    	Addrs   int32
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Index   uint16
    	Name    [16]int8
    	What    uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		if !unicode.IsPrint(r) {
    			errors = append(errors, fmt.Sprintf("must only contain printable UTF-8 characters; non-printable character found at index %d", i))
    			break
    		}
    		if unicode.IsControl(r) {
    			errors = append(errors, fmt.Sprintf("must only contain printable UTF-8 characters; control character found at index %d", i))
    			break
    		}
    	}
    	if !utf8.ValidString(*deprecationWarning) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/nodes.go

    		Sel *Name
    		expr
    	}
    
    	// X[Index]
    	// X[T1, T2, ...] (with Ti = Index.(*ListExpr).ElemList[i])
    	IndexExpr struct {
    		X     Expr
    		Index Expr
    		expr
    	}
    
    	// X[Index[0] : Index[1] : Index[2]]
    	SliceExpr struct {
    		X     Expr
    		Index [3]Expr
    		// Full indicates whether this is a simple or full slice expression.
    		// In a valid AST, this is equivalent to Index[2] != nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. pkg/controller/job/success_policy.go

    	if !feature.DefaultFeatureGate.Enabled(features.JobSuccessPolicy) || successPolicy == nil || len(succeededIndexes) == 0 {
    		return "", false
    	}
    
    	rulesMatchedMsg := "Matched rules at index"
    	for index, rule := range successPolicy.Rules {
    		if rule.SucceededIndexes != nil {
    			requiredIndexes := parseIndexesFromString(logger, *rule.SucceededIndexes, int(completions))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. security/pkg/server/ca/node_auth.go

    	nodeIndex           *kclient.Index[SaNode, *v1.Pod]
    }
    
    func NewClusterNodeAuthorizer(client kube.Client, trustedNodeAccounts sets.Set[types.NamespacedName]) *ClusterNodeAuthorizer {
    	pods := kclient.NewFiltered[*v1.Pod](client, kclient.Filter{
    		ObjectFilter:    client.ObjectFilter(),
    		ObjectTransform: kube.StripPodUnusedFields,
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

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