Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for curr (0.05 sec)

  1. pilot/pkg/serviceregistry/serviceentry/util.go

    	}
    
    	return out
    }
    
    // returns a set of objects that are in `old` but not in `curr`
    // For example:
    // old = {a1, a2, a3}
    // curr = {a1, a2, a4, a5}
    // difference(old, curr) = {a3}
    func difference(old, curr map[types.NamespacedName]*config.Config) []types.NamespacedName {
    	var out []types.NamespacedName
    	for key := range old {
    		if _, ok := curr[key]; !ok {
    			out = append(out, key)
    		}
    	}
    
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 1.9K 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. 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)
  8. 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)
  9. cmd/bucket-targets.go

    }
    
    type latencyStat struct {
    	lastmin lastMinuteLatency
    	curr    time.Duration
    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:09:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildExceptionReporter.java

                while (!next.isEmpty()) {
                    Throwable curr = next.poll();
                    if (printedNodes.contains(curr)) {
                        return false;
                    } else {
                        if (curr.getCause() != null) {
                            next.add(curr.getCause());
                        }
                        if (curr instanceof ContextAwareException) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top