Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 208 for expiresIn (0.38 sec)

  1. src/time/internal_test.go

    //
    // This test has to be in internal_test.go since it fiddles with
    // unexported data structures.
    func CheckRuntimeTimerPeriodOverflow() {
    	// We manually create a runtimeTimer with huge period, but that expires
    	// immediately. The public Timer interface would require waiting for
    	// the entire period before the first update.
    	t := newTimer(runtimeNano(), 1<<63-1, empty, nil, nil)
    	defer t.Stop()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/expiry/AnyDaemonExpirationStrategy.java

    import java.util.List;
    
    import static org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus.DO_NOT_EXPIRE;
    import static org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus.highestPriorityOf;
    
    /**
     * Expires the daemon if any of the children would expire the daemon.
     */
    public class AnyDaemonExpirationStrategy implements DaemonExpirationStrategy {
        private Iterable<DaemonExpirationStrategy> expirationStrategies;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/CompatibleDaemonExpirationStrategyTest.groovy

        def setup() {
            // Start with a new registry on each test.
            _ * compatibilitySpec.isSatisfiedBy(_) >> { DaemonContext context -> context in compatibleWithCurrent }
        }
    
        def "expires compatible daemons"() {
            given:
            DaemonInfo d1 = registerDaemon(Idle)
            DaemonInfo d2 = registerDaemon(Idle)
    
            when:
            compatible = [ d1, d2 ]
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        return true;
                    }
    
                    final Date expires = DocumentUtil.getValue(document, fessConfig.getIndexFieldExpires(), Date.class);
                    if (expires != null && expires.getTime() < systemHelper.getCurrentTimeAsLong()) {
                        final Object idValue = document.get(fessConfig.getIndexFieldId());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/expiry/AllDaemonExpirationStrategy.java

    import java.util.List;
    
    import static org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus.DO_NOT_EXPIRE;
    import static org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus.highestPriorityOf;
    
    /**
     * Expires the daemon only if all children would expire the daemon.
     */
    public class AllDaemonExpirationStrategy implements DaemonExpirationStrategy {
        private Iterable<DaemonExpirationStrategy> expirationStrategies;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. pkg/apis/abac/types.go

    	Namespace string
    
    	// NonResourcePath matches non-resource request paths.
    	// "*" matches all paths
    	// "/foo/*" matches all subpaths of foo
    	NonResourcePath string
    
    	// TODO: "expires" string in RFC3339 format.
    
    	// TODO: want a way to allow some users to restart containers of a pod but
    	// not delete or modify it.
    
    	// TODO: want a way to allow a controller to create a pod based only on a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 07:28:47 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  7. docs/sts/client-grants.go

    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    // JWTToken - parses the output from IDP id_token.
    type JWTToken struct {
    	AccessToken string `json:"access_token"`
    	Expiry      int    `json:"expires_in"`
    }
    
    var (
    	stsEndpoint  string
    	idpEndpoint  string
    	clientID     string
    	clientSecret string
    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. pkg/kube/controllers/queue.go

    	q.queue.Forget(key)
    	return true
    }
    
    // WaitForClose blocks until the Instance has stopped processing tasks or the timeout expires.
    // If the timeout is zero, it will wait until the queue is done processing.
    // WaitForClose an error if the timeout expires.
    func (q Queue) WaitForClose(timeout time.Duration) error {
    	closed := q.Closed()
    	if timeout == 0 {
    		<-closed
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. internal/jwt/parser_test.go

    				"foo": "bar",
    			},
    		},
    		false,
    		-1,
    	},
    	{
    		"Standard Claims",
    		"",
    		defaultKeyFunc,
    		&StandardClaims{
    			StandardClaims: jwt.StandardClaims{
    				ExpiresAt: time.Now().Add(time.Second * 10).Unix(),
    			},
    		},
    		true,
    		0,
    	},
    }
    
    func mapClaimsToken(claims *MapClaims) string {
    	claims.SetAccessKey("test")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor.go

    }
    
    // NewLeaderHealthzAdaptor creates a basic healthz adaptor to monitor a leader election.
    // timeout determines the time beyond the lease expiry to be allowed for timeout.
    // checks within the timeout period after the lease expires will still return healthy.
    func NewLeaderHealthzAdaptor(timeout time.Duration) *HealthzAdaptor {
    	result := &HealthzAdaptor{
    		timeout: timeout,
    	}
    	return result
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 11 16:58:48 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top