Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 635 for Expired (0.2 sec)

  1. internal/jwt/parser_test.go

    	valid       bool
    	errors      int32
    }{
    	{
    		"basic",
    		"",
    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    			},
    		},
    		true,
    		0,
    	},
    	{
    		"basic expired",
    		"", // autogen
    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    				"exp": float64(time.Now().Unix() - 100),
    			},
    		},
    		false,
    		-1,
    	},
    	{
    		"basic nbf",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/errors.go

    func interpretWatchError(err error) error {
    	switch {
    	case err == etcdrpc.ErrCompacted:
    		return errors.NewResourceExpired("The resourceVersion for the provided watch is too old.")
    	}
    	return err
    }
    
    const (
    	expired         string = "The resourceVersion for the provided list is too old."
    	continueExpired string = "The provided continue parameter is too old " +
    		"to display a consistent list result. You can start a new list without " +
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 15:59:41 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. pkg/volume/util/recyclerclient/recycler_client_test.go

    				newEvent(v1.EventTypeWarning, "Unable to mount volumes for pod \"recycler-for-podRecyclerFailure_default(3c9809e5-347c-11e6-a79b-3c970e965218)\": timeout expired waiting for volumes to attach/mount"),
    				newEvent(v1.EventTypeWarning, "Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod \"default\"/\"recycler-for-podRecyclerFailure\". list of unattached/unmounted"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle_test.go

    		restoreStatus restoreObjStatus
    		ondisk        bool
    	}{
    		{
    			// restore in progress
    			restoreStatus: ongoingRestoreObj(),
    			ondisk:        false,
    		},
    		{
    			// restore completed but expired
    			restoreStatus: completedRestoreObj(time.Now().Add(-time.Hour)),
    			ondisk:        false,
    		},
    		{
    			// restore completed
    			restoreStatus: completedRestoreObj(time.Now().Add(time.Hour)),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K 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. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/cache_test.go

    				cacheLenEquals(t, cache, 1)
    			},
    		},
    		{
    			name: "expired get after set",
    			test: func(t *testing.T, cache *simpleCache, clock *clocktesting.FakeClock) {
    				cache.set(key1, twi1)
    				clock.Step(time.Hour)
    				got := cache.get(info1, key1)
    				twiPtrEquals(t, twi1, got)
    				cacheLenEquals(t, cache, 1)
    			},
    		},
    		{
    			name: "expired get after GC",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apimachinery/pkg/util/cache/expiring_test.go

    				"a": "aa",
    				"b": "bb",
    			},
    		},
    		{
    			name: "first entry expired now",
    			now:  fc.Now().Add(1 * time.Second),
    			set: []entry{
    				{"a", "aa", 1 * time.Second},
    				{"b", "bb", 2 * time.Second},
    			},
    			want: map[string]string{
    				"b": "bb",
    			},
    		},
    		{
    			name: "first entry expired half a second ago",
    			now:  fc.Now().Add(1500 * time.Millisecond),
    			set: []entry{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 22 15:51:23 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. 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)
Back to top