Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,113 for Forever (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    	lastVerified atomic.Value
    }
    
    func (l *log) Name() string {
    	return "log"
    }
    
    func (l *log) Check(_ *http.Request) error {
    	l.startOnce.Do(func() {
    		l.lastVerified.Store(time.Now())
    		go wait.Forever(func() {
    			klog.Flush()
    			l.lastVerified.Store(time.Now())
    		}, time.Minute)
    	})
    
    	lastVerified := l.lastVerified.Load().(time.Time)
    	if time.Since(lastVerified) < (2 * time.Minute) {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Striped64.java

       * colliding threads.  Because search is random, and collisions
       * only become known via CAS failures, convergence can be slow,
       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
       * observed contention rates are typically low in these cases.
       *
       * It is possible for a Cell to become unused when threads that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/internal/trace/summary.go

    					g.StartTime = ev.Time()
    				}
    			case GoRunnable:
    				g.lastRunnableTime = ev.Time()
    			case GoWaiting:
    				if st.Reason != "forever" {
    					g.lastBlockTime = ev.Time()
    					g.lastBlockReason = st.Reason
    					break
    				}
    				// "Forever" is like goroutine death.
    				fallthrough
    			case GoNotExist:
    				g.finalize(ev.Time(), ev)
    			case GoSyscall:
    				s.syscallingP[ev.Proc()] = id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. src/net/http/httputil/dump.go

    			req.Body.Close()
    		}
    		select {
    		case dr.c <- strings.NewReader("HTTP/1.1 204 No Content\r\nConnection: close\r\n\r\n"):
    		case <-quitReadCh:
    			// Ensure delegateReader.Read doesn't block forever if we get an error.
    			close(dr.c)
    		}
    	}()
    
    	_, err := t.RoundTrip(reqSend)
    
    	req.Body = save
    	if err != nil {
    		pw.Close()
    		dr.err = err
    		close(quitReadCh)
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/crypto/elliptic/elliptic.go

    		// underlying field is not a whole number of bytes.
    		priv[0] &= mask[bitSize%8]
    		// This is because, in tests, rand will return all zeros and we don't
    		// want to get the point at infinity and loop forever.
    		priv[1] ^= 0x42
    
    		// If the scalar is out of range, sample another random number.
    		if new(big.Int).SetBytes(priv).Cmp(N) >= 0 {
    			continue
    		}
    
    		x, y = curve.ScalarBaseMult(priv)
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. pkg/webhooks/validation/controller/controller.go

    	c := &Controller{
    		o:      o,
    		client: client,
    	}
    
    	c.queue = controllers.NewQueue("validation",
    		controllers.WithReconciler(c.Reconcile),
    		// Webhook patching has to be retried forever. But the retries would be rate limited.
    		controllers.WithMaxAttempts(math.MaxInt),
    		// Retry with backoff. Failures could be from conflicts of other instances (quick retry helps), or
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Striped64.java

       * colliding threads.  Because search is random, and collisions
       * only become known via CAS failures, convergence can be slow,
       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
       * observed contention rates are typically low in these cases.
       *
       * It is possible for a Cell to become unused when threads that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/token_test.go

    			outputFormat: "text",
    			expected: `TOKEN                     TTL         EXPIRES   USAGES                   DESCRIPTION                                                EXTRA GROUPS
    abcdef.1234567890123456   <forever>   <never>   signing,authentication   valid bootstrap tooken                                     system:bootstrappers:kubeadm:default-node-token
    `,
    		},
    		{
    			name:         "jsonpath output",
    			id:           "abcdef",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. pkg/controller/resourcequota/resource_quota_monitor.go

    	qm.running = true
    	qm.monitorLock.Unlock()
    
    	// Start monitors and begin change processing until the stop channel is
    	// closed.
    	qm.StartMonitors(ctx)
    
    	// The following workers are hanging forever until the queue is
    	// shutted down, so we need to shut it down in a separate goroutine.
    	go func() {
    		defer utilruntime.HandleCrash()
    		defer qm.resourceChanges.ShutDown()
    
    		<-ctx.Done()
    	}()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. src/io/multi_test.go

    	if len(p) == 0 {
    		// Read(0 bytes) is useless. We expect no such useless
    		// calls in this test.
    		panic("unexpected call")
    	}
    	p[0] = byte(b)
    	return 1, EOF
    }
    
    // This used to yield bytes forever; issue 16795.
    func TestMultiReaderSingleByteWithEOF(t *testing.T) {
    	got, err := ReadAll(LimitReader(MultiReader(byteAndEOFReader('a'), byteAndEOFReader('b')), 10))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:32 UTC 2022
    - 10K bytes
    - Viewed (0)
Back to top