Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 426 for Expired (0.25 sec)

  1. src/internal/poll/fd.go

    	if isFile {
    		return ErrFileClosing
    	}
    	return ErrNetClosing
    }
    
    // ErrDeadlineExceeded is returned for an expired deadline.
    // This is exported by the os package as os.ErrDeadlineExceeded.
    var ErrDeadlineExceeded error = &DeadlineExceededError{}
    
    // DeadlineExceededError is returned for an expired deadline.
    type DeadlineExceededError struct{}
    
    // Implement the net.Error interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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