Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 577 for Expired (0.18 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonExpirationIntegrationTest.groovy

            ['a', 'b'].each { file("$it/src/main/java/p/Type.java") << 'package p; class Type {}' }
        }
    
        def "expire worker daemons to free system memory"() {
            when:
            withDebugLogging()
            succeeds 'expireWorkers'
    
            then:
            outputContains 'Worker Daemon(s) expired to free some system memory'
        }
    
        def "worker daemons expiration can be disabled using a system property"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/cache/expiring.go

    }
    
    // Set sets a key/value/expiry entry in the map, overwriting any previous entry
    // with the same key. The entry expires at the given expiry time, but its TTL
    // may be lengthened or shortened by additional calls to Set(). Garbage
    // collection of expired entries occurs during calls to Set(), however calls to
    // Get() will not return expired entries that have not yet been garbage
    // collected.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 22 15:51:23 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/net/net_fake.go

    	}
    
    	var (
    		incoming []*netFD
    		ok       bool
    	)
    	expired := ffd.readDeadline.Load().expired
    	select {
    	case <-expired:
    		return nil, os.ErrDeadlineExceeded
    	case incoming, ok = <-ffd.incoming:
    		if !ok {
    			return nil, ErrClosed
    		}
    		select {
    		case <-expired:
    			ffd.incoming <- incoming
    			return nil, os.ErrDeadlineExceeded
    		default:
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  4. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor_test.go

    		{
    			description:    "call check before leader elector initialized",
    			expected:       nil,
    			adaptorTimeout: time.Second * 20,
    			elector:        nil,
    		},
    		{
    			description:    "call check when the lease is far expired",
    			expected:       fmt.Errorf("failed election to renew leadership on lease %s", "foo"),
    			adaptorTimeout: time.Second * 20,
    			elector: &LeaderElector{
    				config: LeaderElectionConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 12 18:41:53 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  5. tests/integration/security/jwt_test.go

    					},
    				},
    				{
    					name: "expired-token-noauthz",
    					customizeCall: func(_ framework.TestContext, _ echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/expired-token-noauthz"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenExpired).Build()
    						opts.Check = check.Status(http.StatusUnauthorized)
    					},
    				},
    				{
    					name: "expired-token-cors-preflight-request-allowed",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

         * @throws Exception
         */
        public void testExpired() throws Exception {
            TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() {
                public void expired() {
                    System.out.println("expired");
                    expiredCount++;
                }
            }, 1, true);
    
            assertNotNull(TimeoutManager.getInstance().thread);
            Thread.sleep(2000);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

            runningThread = thread;
            running.set(true);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.seasar.extension.timer.TimeoutTarget#expired()
         */
        @Override
        public void expired() {
            int count = 0;
            while (running.get() && count < MAX_LOOP_COUNT) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Interrupt {}", runningThread);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/time/sleep.go

    //
    // Before Go 1.23, the garbage collector did not recover
    // timers that had not yet expired or been stopped, so code often
    // immediately deferred t.Stop after calling NewTimer, to make
    // the timer recoverable when it was no longer needed.
    // As of Go 1.23, the garbage collector can recover unreferenced
    // timers, even if they haven't expired or been stopped.
    // The Stop method is no longer necessary to help the garbage collector.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. pkg/test/loadbalancersim/timer/queue.go

    	}()
    
    	// Reset the timer.
    	if needReset {
    		q.timer.Reset(resetDuration)
    	}
    }
    
    func (q *Queue) onTimerExpired() {
    	// Collect all expired timers.
    	q.mutex.Lock()
    	handlers := q.heap.advanceTo(time.Now())
    	q.mutex.Unlock()
    
    	// Call the expired timer handlers.
    	for _, h := range handlers {
    		h()
    	}
    
    	// Reset the timer based on the earliest deadline.
    	q.resetTimer()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataRuleExecutorTest.groovy

            def cachedResult = Mock(ModuleComponentResolveMetadata)
            Multimap<String, ImplicitInputRecord<?, ?>> implicits = HashMultimap.create()
            def record = Mock(ImplicitInputRecord)
            if (expired) {
                implicits.put('SomeService', record)
            }
            def cachedEntry = new CrossBuildCachingRuleExecutor.CachedEntry<ComponentMetadata>(0, implicits, cachedResult)
            def ruleServices = [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top