Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 168 for withers (0.27 sec)

  1. staging/src/k8s.io/apimachinery/pkg/watch/mux.go

    // anything, just in case a few events are received in such a short window that
    // Broadcaster can't move them onto the watchers' queues fast enough.
    const incomingQueueLength = 25
    
    // Broadcaster distributes event notifications among any number of watchers. Every event
    // is delivered to every watcher.
    type Broadcaster struct {
    	watchers     map[int64]*broadcasterWatcher
    	nextWatcher  int64
    	distributing sync.WaitGroup
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 15:26:36 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  2. pilot/pkg/keycertbundle/watcher.go

    	id := w.watcherID
    	w.watchers[id] = ch
    	w.watcherID++
    
    	return id, ch
    }
    
    // RemoveWatcher removes the given watcher.
    func (w *Watcher) RemoveWatcher(id int32) {
    	w.mutex.Lock()
    	defer w.mutex.Unlock()
    	ch := w.watchers[id]
    	if ch != nil {
    		close(ch)
    	}
    	delete(w.watchers, id)
    }
    
    // SetAndNotify sets the key cert and root cert and notify the watchers.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 05 14:00:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// indexedTrigger is used for optimizing amount of watchers that needs to process
    	// an incoming event.
    	indexedTrigger *indexedTriggerFunc
    	// watchers is mapping from the value of trigger function that a
    	// watcher is interested into the watchers
    	watcherIdx int
    	watchers   indexedWatchers
    
    	// Defines a time budget that can be spend on waiting for not-ready watchers
    	// while dispatching event before shutting them down.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. pkg/model/fips.go

    		// Therefore, we only filter this field when it is set.
    		if len(ctx.TlsParams.CipherSuites) > 0 {
    			ciphers := []string{}
    			for _, cipher := range ctx.TlsParams.CipherSuites {
    				if _, ok := fipsCipherIndex[cipher]; ok {
    					ciphers = append(ciphers, cipher)
    				}
    			}
    			ctx.TlsParams.CipherSuites = ciphers
    		}
    		// Default (unset) is P-256
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    	w := waiter{n: n, ready: ready}
    	elem := s.waiters.PushBack(w)
    	s.mu.Unlock()
    
    	select {
    	case <-done:
    		s.mu.Lock()
    		select {
    		case <-ready:
    			// Acquired the semaphore after we were canceled.
    			// Pretend we didn't and put the tokens back.
    			s.cur -= n
    			s.notifyWaiters()
    		default:
    			isFront := s.waiters.Front() == elem
    			s.waiters.Remove(elem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/sema.go

    					s.next.parent = s
    				}
    				// Add t first in s's wait list.
    				s.waitlink = t
    				s.waittail = t.waittail
    				if s.waittail == nil {
    					s.waittail = t
    				}
    				s.waiters = t.waiters
    				if s.waiters+1 != 0 {
    					s.waiters++
    				}
    				t.parent = nil
    				t.prev = nil
    				t.next = nil
    				t.waittail = nil
    			} else {
    				// Add s to end of t's wait list.
    				if t.waittail == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go

    			t.Fatalf("Can't compact into a future version: %v", resourceVersion)
    		}
    
    		if len(c.watchers.allWatchers) > 0 || len(c.watchers.valueWatchers) > 0 {
    			// We could consider terminating those watchers, but given
    			// watchcache doesn't really support compaction and we don't
    			// exercise it in tests, we just throw an error here.
    			t.Error("Open watchers are not supported during compaction")
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 20:43:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/watch/mux_test.go

    }
    
    // Test this since we see usage patterns where the broadcaster and watchers are
    // stopped simultaneously leading to races.
    func TestBroadcasterShutdownRace(t *testing.T) {
    	m := NewBroadcaster(1, WaitIfChannelFull)
    	stopCh := make(chan struct{})
    
    	// Add a bunch of watchers
    	const testWatchers = 2
    	for i := 0; i < testWatchers; i++ {
    		i := i
    
    		_, err := m.Watch()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 15:26:25 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherRegistry.java

         *
         * @throws WatchingNotSupportedException when the native watchers can't be updated.
         */
        void registerWatchableHierarchy(File watchableHierarchy, SnapshotHierarchy root);
    
        /**
         * Updates the watchers after changes to the root.
         *
         * @throws WatchingNotSupportedException when the native watchers can't be updated.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. pilot/pkg/security/authn/utils/utils.go

    		ctx.CommonTlsContext.AlpnProtocols = util.ALPNHttp
    	}
    	ciphers := SupportedCiphers
    	if mc != nil && mc.MeshMTLS != nil && mc.MeshMTLS.CipherSuites != nil {
    		ciphers = mc.MeshMTLS.CipherSuites
    	}
    	// Set Minimum TLS version to match the default client version and allowed strong cipher suites for sidecars.
    	ctx.CommonTlsContext.TlsParams = &tls.TlsParameters{
    		CipherSuites:              ciphers,
    		TlsMinimumProtocolVersion: minTLSVersion,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top