Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Expired (0.29 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	// substitute all references to {{.URL}} in appropriate places.
    	// Use {{.Expired}} to handle the token expiry date string with correct timezone handling.
    	v := struct {
    		URL     string
    		Expired string
    	}{
    		URL:     ts.URL,
    		Expired: fmt.Sprintf("%v", time.Unix(expired.Unix(), 0)),
    	}
    	c.claims = replace(c.claims, &v)
    	c.openIDConfig = replace(c.openIDConfig, &v)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

                    // This is a duplicate check, as preWriteCleanup already purged expired
                    // entries, but let's accommodate an incorrect expiration queue.
                    enqueueNotification(
                        entryKey, hash, value, valueReference.getWeight(), RemovalCause.EXPIRED);
                  } else {
                    recordLockedRead(e, now);
                    statsCounter.recordHits(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  3. src/database/sql/sql.go

    			}
    			// Only check if the connection is expired if the strategy is cachedOrNewConns.
    			// If we require a new connection, just re-use the connection without looking
    			// at the expiry time. If it is expired, it will be checked when it is placed
    			// back into the connection pool.
    			// This prioritizes giving a valid connection to a client over the exact connection
    			// lifetime, which could expire exactly after this point anyway.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

                    // This is a duplicate check, as preWriteCleanup already purged expired
                    // entries, but let's accommodate an incorrect expiration queue.
                    enqueueNotification(
                        entryKey, hash, value, valueReference.getWeight(), RemovalCause.EXPIRED);
                  } else {
                    recordLockedRead(e, now);
                    statsCounter.recordHits(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  5. src/crypto/x509/verify_test.go

    			t.Fatalf("HostnameError did not contain %q: %v", msg, err)
    		}
    	}
    }
    
    func expectExpired(t *testing.T, err error) {
    	if inval, ok := err.(CertificateInvalidError); !ok || inval.Reason != Expired {
    		t.Fatalf("error was not Expired: %v", err)
    	}
    }
    
    func expectUsageError(t *testing.T, err error) {
    	if inval, ok := err.(CertificateInvalidError); !ok || inval.Reason != IncompatibleUsage {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  6. src/database/sql/sql_test.go

    	defer cancel()
    
    	db := newTestDB(t, "magicquery")
    	defer closeDB(t, db)
    
    	db.SetMaxOpenConns(1)
    
    	for _, ec := range execCases {
    		ec := ec
    		name := fmt.Sprintf("expired=%t,badReset=%t", ec.expired, ec.badReset)
    		t.Run(name, func(t *testing.T) {
    			db.clearAllConns(t)
    
    			db.SetMaxIdleConns(1)
    			db.SetConnMaxLifetime(10 * time.Second)
    
    			conn, err := db.conn(ctx, alwaysNewConn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    				objectsFailed = float64(mj.KeyRotate.ObjectsFailed)
    				bucket = mj.KeyRotate.Bucket
    			case madmin.BatchJobExpire:
    				objects = float64(mj.Expired.Objects)
    				objectsFailed = float64(mj.Expired.ObjectsFailed)
    				bucket = mj.Expired.Bucket
    			}
    			metrics = append(metrics,
    				MetricV2{
    					Description: MetricDescription{
    						Namespace: bucketMetricNamespace,
    						Subsystem: "batch",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. src/crypto/x509/x509_test.go

    	expected := 88
    	if numCerts != expected {
    		t.Errorf("bad number of revoked certificates. got: %d want: %d", numCerts, expected)
    	}
    
    	if certList.HasExpired(time.Unix(1302517272, 0)) {
    		t.Errorf("CRL has expired (but shouldn't have)")
    	}
    
    	// Can't check the signature here without a package cycle.
    }
    
    func TestCRLWithoutExpiry(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    	// Keep trying to make fast node status update until either timeout is reached or an update is successful.
    	wait.Until(func() {
    		// fastNodeStatusUpdate returns true when it succeeds or when the grace period has expired
    		// (status was not updated within nodeReadyGracePeriod and the second argument below gets true),
    		// then we close the channel and abort the loop.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    			if !errors.Is(err, os.ErrDeadlineExceeded) {
    				t.Errorf("server timed out writing request body: got err %v; want os.ErrDeadlineExceeded", err)
    			}
    			return
    		default:
    			// The write timeout expired before the handler started.
    			t.Logf("handler didn't run, retrying")
    			cst.close()
    		}
    	}
    }
    
    func TestServerNoWriteTimeout(t *testing.T) { run(t, testServerNoWriteTimeout) }
    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