Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 453 for curr (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/multirestmapper.go

    		}
    		if err != nil {
    			return nil, err
    		}
    
    		// walk the existing values to de-dup
    		for _, curr := range gvrs {
    			found := false
    			for _, existing := range allGVRs {
    				if curr == existing {
    					found = true
    					break
    				}
    			}
    
    			if !found {
    				allGVRs = append(allGVRs, curr)
    			}
    		}
    	}
    
    	if len(allGVRs) == 0 {
    		return nil, &NoResourceMatchError{PartialResource: resource}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  2. src/internal/trace/internal/oldtrace/order.go

    		g = unordered
    		return
    	}
    }
    
    func transitionReady(g uint64, curr, init gState) bool {
    	return g == unordered || (init.seq == noseq || init.seq == curr.seq) && init.status == curr.status
    }
    
    func transition(gs map[uint64]gState, g uint64, init, next gState) error {
    	if g == unordered {
    		return nil
    	}
    	curr := gs[g]
    	if !transitionReady(g, curr, init) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. cmd/metrics-v3-replication.go

    	m.Set(replicationMaxQueuedCount, float64(qt.Max.Count))
    	m.Set(replicationLastMinuteQueuedBytes, float64(qt.Curr.Bytes))
    	m.Set(replicationLastMinuteQueuedCount, float64(qt.Curr.Count))
    
    	qa := qs.ActiveWorkers
    	m.Set(replicationAverageActiveWorkers, float64(qa.Avg))
    	m.Set(replicationCurrentActiveWorkers, float64(qa.Curr))
    	m.Set(replicationMaxActiveWorkers, float64(qa.Max))
    
    	if len(qs.XferStats) > 0 {
    		tots := qs.XferStats[Total]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    	pluralGroup := strings.SplitN(name, ".", 2)
    	list, err := c.crdLister.List(labels.Everything())
    	if err != nil {
    		return err
    	}
    	for _, curr := range list {
    		if curr.Spec.Group == pluralGroup[1] && curr.Name != name {
    			c.queue.Add(curr.Name)
    		}
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/controller.go

    func (s *Controller) serviceEntryHandler(old, curr config.Config, event model.Event) {
    	log.Debugf("Handle event %s for service entry %s/%s", event, curr.Namespace, curr.Name)
    	currentServiceEntry := curr.Spec.(*networking.ServiceEntry)
    	cs := convertServices(curr)
    	configsUpdated := sets.New[model.ConfigKey]()
    	key := curr.NamespacedName()
    
    	s.mutex.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    	for chans := identical; chans < len(terms); chans++ {
    		curr, ok := terms[chans].Type().Underlying().(*types.Chan)
    		if !ok {
    			return nil
    		}
    		if !types.Identical(ch.Elem(), curr.Elem()) {
    			return nil // channel elements are not identical.
    		}
    		if ch.Dir() == types.SendRecv {
    			// ch is bidirectional. We can safely always use curr's direction.
    			ch = curr
    		} else if curr.Dir() != types.SendRecv && ch.Dir() != curr.Dir() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. pkg/kubelet/certificate/transport.go

    					}
    				}
    				lastCertAvailable = now
    			}
    		}
    
    		if curr == nil || lastCert == curr {
    			// Cert hasn't been rotated.
    			return
    		}
    		lastCert = curr
    		hasCert.Store(lastCert != nil)
    
    		klog.InfoS("Certificate rotation detected, shutting down client connections to start using new credentials")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 08 13:57:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    			}
    		})
    	}
    }
    
    func hasError(errs field.ErrorList, needle string) bool {
    	for _, curr := range errs {
    		if curr.Error() == needle {
    			return true
    		}
    	}
    	return false
    }
    
    func hasPrefixError(errs field.ErrorList, prefix string) bool {
    	for _, curr := range errs {
    		if strings.HasPrefix(curr.Error(), prefix) {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    	/*
    		// Write the sparse map and setup the sparse writer if necessary.
    		if len(spd) > 0 {
    			// Use tw.curr since the sparse map is accounted for in hdr.Size.
    			if _, err := tw.curr.Write(spb); err != nil {
    				return err
    			}
    			tw.curr = &sparseFileWriter{tw.curr, spd, 0}
    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. pilot/test/xds/fake.go

    	// Setup config handlers
    	// TODO code re-use from server.go
    	configHandler := func(_, curr config.Config, event model.Event) {
    		pushReq := &model.PushRequest{
    			Full:           true,
    			ConfigsUpdated: sets.New(model.ConfigKey{Kind: kind.MustFromGVK(curr.GroupVersionKind), Name: curr.Name, Namespace: curr.Namespace}),
    			Reason:         model.NewReasonStats(model.ConfigUpdate),
    		}
    		s.ConfigUpdate(pushReq)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top