Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 421 for Expired (0.2 sec)

  1. security/pkg/pki/util/keycertbundle_test.go

    		ttl  float64
    		time time.Time
    	}{
    		{
    			name: "ttl valid",
    			ttl:  30,
    			time: t0.Add(time.Second * 30),
    		},
    		{
    			name: "ttl almost expired",
    			ttl:  2,
    			time: t0.Add(time.Second * 58),
    		},
    		{
    			name: "ttl just expired",
    			ttl:  0,
    			time: t0.Add(time.Second * 60),
    		},
    		{
    			name: "ttl-invalid",
    			ttl:  -30,
    			time: t0.Add(time.Second * 90),
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. security/pkg/server/ca/authenticate/oidc_test.go

    	}
    	// Create an expired JWT token
    	expiredStr := strconv.FormatInt(time.Now().Add(-time.Hour).Unix(), 10)
    	expiredClaims := `{"iss": "` + server.URL + `", "aud": ["baz.svc.id.goog"], "sub": "system:serviceaccount:bar:foo", "exp": ` + expiredStr + `}`
    	expiredToken, err := generateJWT(&key, []byte(expiredClaims))
    	if err != nil {
    		t.Fatalf("failed to generate an expired JWT: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        }
    
        /**
         * タイマーを再開始します。
         */
        public void restart() {
            status = ACTIVE;
            startTime = System.currentTimeMillis();
        }
    
        void expired() {
            timeoutTarget.expired();
        }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonExpiration.java

                        break;
                    }
                }
                if (LOGGER.isDebugEnabled() && !toExpire.isEmpty()) {
                    // TODO Only log expired workers count, log their "identity" once they are nameable/describable
                    LOGGER.debug("Worker Daemon(s) expired to free some system memory {}", toExpire.size());
                }
                if (notExpirable > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            Closure<Void> cleanup
    
            URI getUri() {
                repository.uri
            }
        }
    
        def "does not invalidate configuration cache entry when dynamic version information has not expired"() {
            given:
            RepoFixture defaultRepo = new RepoFixture(remoteRepo)
            List<RepoFixture> repos = scenario == DynamicVersionScenario.SINGLE_REPO
                ? [defaultRepo]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache_test.go

    	fakeClock := testingclock.NewFakeClock(time.Now())
    	c := NewLRUExpireCacheWithClock(10, fakeClock)
    	c.Add("short-lived", "12345", 1*time.Millisecond)
    	// ensure the entry expired
    	fakeClock.Step(2 * time.Millisecond)
    
    	// Keys() should not return expired keys.
    	assertKeys(t, c.Keys(), []interface{}{})
    
    	expectNotEntry(t, c, "short-lived")
    }
    
    func TestLRUOverflow(t *testing.T) {
    	c := NewLRUExpireCache(4)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/timer/TimeoutTarget.java

    package org.codelibs.core.timer;
    
    /**
     * タイムアウトを処理するインターフェースです。
     *
     * @author higa
     *
     */
    @FunctionalInterface
    public interface TimeoutTarget {
    
        /**
         * タイムアウトの処理を記述します。
         */
        void expired();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 904 bytes
    - Viewed (0)
  8. security/pkg/pki/util/keycertbundle.go

    }
    
    // TimeBeforeCertExpires returns the time duration before the cert gets expired.
    // It returns an error if it failed to extract the cert expiration timestamp.
    // The returned time duration could be a negative value indicating the cert has already been expired.
    func TimeBeforeCertExpires(certBytes []byte, now time.Time) (time.Duration, error) {
    	if len(certBytes) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/net/hook.go

    	// testHookStepTime sleeps until time has moved forward by a nonzero amount.
    	// This helps to avoid flakes in timeout tests by ensuring that an implausibly
    	// short deadline (such as 1ns in the future) is always expired by the time
    	// a relevant system call occurs.
    	testHookStepTime = func() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 934 bytes
    - Viewed (0)
  10. cmd/sts-errors.go

    		Description:    "The web identity token that was passed is expired or is not valid. Get a new identity token from the identity provider and then retry the request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSClientGrantsExpiredToken: {
    		Code:           "ExpiredToken",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top