Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,113 for Forever (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    				}
    				store.Add(makeTestPod("foo", 2))
    				store.bookmarkRevision <- 3
    				fc.Step(blockTimeout)
    
    				// Add an object to make sure the test would
    				// eventually fail instead of just waiting
    				// forever.
    				time.Sleep(30 * time.Second)
    				store.Add(makeTestPod("bar", 4))
    			}()
    
    			_, _, _, err := store.WaitUntilFreshAndList(ctx, 4, nil)
    			if !errors.IsTimeout(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. src/runtime/os_linux.go

    	_FUTEX_WAKE_PRIVATE = 1 | _FUTEX_PRIVATE_FLAG
    )
    
    // Atomically,
    //
    //	if(*addr == val) sleep
    //
    // Might be woken up spuriously; that's allowed.
    // Don't sleep longer than ns; ns < 0 means forever.
    //
    //go:nosplit
    func futexsleep(addr *uint32, val uint32, ns int64) {
    	// Some Linux kernels have a bug where futex of
    	// FUTEX_WAIT returns an internal error code
    	// as an errno. Libpthread ignores the return value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. pkg/controller/garbagecollector/garbagecollector.go

    	}
    
    	if len(item.identity.Namespace) == 0 && namespaced {
    		// item is a cluster-scoped object referring to a namespace-scoped owner, which is not valid.
    		// return a marker error, rather than retrying on the lookup failure forever.
    		logger.V(2).Info("item is cluster-scoped, but refers to a namespaced owner",
    			"item", item.identity,
    			"owner", reference,
    		)
    		return false, nil, namespacedOwnerOfClusterScopedObjectErr
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
       * then we call it in a separate thread (using pseudoTimedGet). The result is that we wait as long
       * as necessary when the method is expected to return (at the cost of hanging forever if there is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
       * then we call it in a separate thread (using pseudoTimedGet). The result is that we wait as long
       * as necessary when the method is expected to return (at the cost of hanging forever if there is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	}
    	defer cacher.Stop()
    
    	opts := storage.ListOptions{
    		ResourceVersion: "0",
    		Predicate:       storage.Everything,
    	}
    
    	// Cancel the request so that it doesn't hang forever.
    	listCtx, listCancel := context.WithTimeout(context.Background(), 250*time.Millisecond)
    	defer listCancel()
    
    	result := &example.PodList{}
    	err = cacher.GetList(listCtx, "/pods/ns", opts, result)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    		{
    			Expression: "has(request.resourceAttributes) && request.resourceAttributes.namespace == 'kittensandponies'",
    		},
    	}
    	// Create an authorizer that caches successful responses "forever" (100 days).
    	wh, err := newV1Authorizer(s.URL, clientCert, clientKey, caCert, 2400*time.Hour, noopAuthorizerMetrics(), expressions, "")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  8. tests/integration/pilot/common/routing.go

    				opts: echo.CallOptions{
    					Port:  echo.Port{ServicePort: e.port, Protocol: protocol.HTTP},
    					Count: 1,
    					// Failed requests will go to non-existent port which hangs forever
    					// Set a low timeout to fail faster
    					Timeout: time.Millisecond * 500,
    					Address: t.Apps.External.All[0].Address(),
    					HTTP: echo.HTTP{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    	// and M is extra buffer to allow the API server to process the config.
    	// At that point, they are guaranteed to either migrate to the new key
    	// or get errors during the migration.
    	//
    	// If the API server coasted forever on the last DEK/seed, they would need
    	// to actively check if it had observed the new key ID before starting
    	// a migration - otherwise it could keep using the old DEK/seed and their
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    			return fmt.Errorf("Get #%d: %v", i, err)
    		}
    		r.Body.Close()
    	}
    	return nil
    }
    
    // golang.org/issue/4741 -- setting only a write timeout that triggers
    // shouldn't cause a handler to block forever on reads (next HTTP
    // request) that will never happen.
    func TestOnlyWriteTimeout(t *testing.T) { run(t, testOnlyWriteTimeout, []testMode{http1Mode}) }
    func testOnlyWriteTimeout(t *testing.T, mode testMode) {
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top