Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 93 for stopCh (0.22 sec)

  1. cmd/listen-notification-handlers.go

    			return
    		}
    		t := time.NewTicker(time.Duration(pingInterval) * time.Second)
    		defer t.Stop()
    		emptyEventTicker = t.C
    	} else {
    		// Deprecated Apr 2023
    		t := time.NewTicker(500 * time.Millisecond)
    		defer t.Stop()
    		keepAliveTicker = t.C
    	}
    
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case ev := <-mergeCh:
    			_, err := w.Write(ev)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. pkg/slices/slices.go

    // Equal reports whether two slices are equal: the same length and all
    // elements equal. If the lengths are different, Equal returns false.
    // Otherwise, the elements are compared in increasing index order, and the
    // comparison stops at the first unequal pair.
    // Floating point NaNs are not considered equal.
    func Equal[E comparable](s1, s2 []E) bool {
    	return slices.Equal(s1, s2)
    }
    
    // EqualUnordered reports whether two slices are equal, ignoring order
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/crypto/rand/rand_plan9.go

    func (r *reader) Read(b []byte) (n int, err error) {
    	r.seeded.Do(func() {
    		t := time.AfterFunc(time.Minute, func() {
    			println("crypto/rand: blocked for 60 seconds waiting to read random data from the kernel")
    		})
    		defer t.Stop()
    		entropy, err := os.Open(randomDevice)
    		if err != nil {
    			r.seedErr = err
    			return
    		}
    		defer entropy.Close()
    		_, r.seedErr = io.ReadFull(entropy, r.key[:])
    	})
    	if r.seedErr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolDeclarationOverridesProvider.kt

            }
            is FirProperty -> processOverriddenProperties(declaration.symbol) { symbol ->
                processor.invoke(symbol.fir)
                ProcessorAction.NEXT
            }
            else -> ProcessorAction.STOP
        }
    
        private fun FirTypeScope.processDirectOverriddenDeclarations(
            declaration: FirDeclaration,
            processor: (FirCallableDeclaration) -> Unit
        ) = when (declaration) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-state/src/main/java/org/gradle/internal/buildprocess/BuildProcessState.java

            CompositeStoppable.stoppable(services.get(GradleUserHomeScopeServiceRegistry.class), services).stop();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-state/src/main/java/org/gradle/internal/session/BuildSessionState.java

            return action.apply(context);
        }
    
        @Override
        public void close() {
            CompositeStoppable.stoppable(sessionScopeServices, (Closeable) () -> userHomeScopeServiceRegistry.release(userHomeServices)).stop();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. pkg/kube/krt/informer.go

    		eventHandlers:  &handlers[I]{},
    		augmentation:   o.augmentation,
    		synced:         make(chan struct{}),
    	}
    
    	go func() {
    		// First, wait for the informer to populate
    		if !kube.WaitForCacheSync(o.name, o.stop, c.HasSynced) {
    			return
    		}
    		// Now, take all our handlers we have built up and register them...
    		handlers := h.eventHandlers.MarkInitialized()
    		for _, h := range handlers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    	r, ok := c.(resetData)
    	if !ok {
    		return errors.New("cleanup-node phase invoked with an invalid data struct")
    	}
    	certsDir := r.CertificatesDir()
    
    	// Try to stop the kubelet service
    	klog.V(1).Infoln("[reset] Getting init system")
    	initSystem, err := initsystem.GetInitSystem()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

            synchronized (instanceLock) {
                return stopActions;
            }
        }
    
        @Override
        public void maybeStop() {
            // We don't want to call stop actions with the lock held.
            ExecutionResult<Void> stopResult = ExecutionResult.forEach(getStopActions(), action -> action.accept(this));
            synchronized (instanceLock) {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/os/exec_test.go

    	}
    	if runtime.GOARCH == "wasm" {
    		t.Skip("Signals send + notify not fully supported om wasm port")
    	}
    
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, os.Interrupt)
    	defer signal.Stop(c)
    
    	p := &os.Process{Pid: os.Getpid()}
    	if err := p.Signal(os.Interrupt); err != nil {
    		t.Fatalf("Signal got err %v, want nil", err)
    	}
    
    	// Verify we actually received the signal.
    	select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top