Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for EXPIRES (0.11 sec)

  1. cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go

    	// If for some strange reason both token.TTL and token.Expires would be set
    	// (they are mutually exclusive in validation so this shouldn't be the case),
    	// token.Expires has higher priority, as can be seen in the logic here.
    	if token.Expires != nil {
    		// Format the expiration date accordingly
    		// TODO: This maybe should be a helper function in bootstraputil?
    		expirationString := token.Expires.Time.UTC().Format(time.RFC3339)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/CookieHeaderTest.groovy

            where:
            attributes << [
                    'Max-Age=31536000; Expires=Sun, 24 Jun 2018 16:26:36 GMT;',
                    'Max-Age=31536000; Expires=Sun Jun 24 16:26:36 2018;',
                    'Max-Age=31536000; Expires=Sun, 24-Jun-18 16:26:36 GMT;',
                    'Max-Age=31536000; Expires=Sun, 24-Jun-18 16:26:36 GMT-08:00;',
            ]
        }
    
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

        def expiration = new WorkerDaemonExpiration(clientsManager, MemoryAmount.ofGigaBytes(OS_MEMORY_GB).bytes)
    
        def "expires least recently used idle worker daemon to free system memory when requested to release some memory"() {
            given:
            def client1 = reserveNewClient(twoGbOptions)
            def client2 = reserveNewClient(twoGbOptions)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. internal/config/cache/remote.go

    		w.Header().Set(xhttp.LastModified, oi.ModTime.UTC().Format(http.TimeFormat))
    	}
    
    	if oi.ETag != "" {
    		w.Header()[xhttp.ETag] = []string{"\"" + oi.ETag + "\""}
    	}
    
    	if oi.Expires != "" {
    		w.Header().Set(xhttp.Expires, oi.Expires)
    	}
    
    	if oi.CacheControl != "" {
    		w.Header().Set(xhttp.CacheControl, oi.CacheControl)
    	}
    
    	statusCode()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. pkg/kube/rpc_creds.go

    	its.mu.RLock()
    	token := its.Token
    	needRecreate := time.Until(its.Expires) < its.sunsetPeriod
    	its.mu.RUnlock()
    
    	if needRecreate {
    		its.mu.Lock()
    		// This checks the same condition as above.  (The outer check is to bypass the mutex when it is too early to renew)
    		if time.Until(its.Expires) < its.sunsetPeriod {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. cmd/signature-v2_test.go

    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I",
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should error with malformed expires.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60s",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser.go

    	}
    
    	// Save expires in native time.Duration.
    	preSignV4Values.Expires, e = time.ParseDuration(query.Get(xhttp.AmzExpires) + "s")
    	if e != nil {
    		return psv, ErrMalformedExpires
    	}
    
    	if preSignV4Values.Expires < 0 {
    		return psv, ErrNegativeExpires
    	}
    
    	// Check if Expiry time is less than 7 days (value in seconds).
    	if preSignV4Values.Expires.Seconds() > 604800 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_timeout_stdin.txt

    [short] skip 'runs a test that hangs until its WaitDelay expires'
    
    ! go test -v -timeout=1m .
    
    	# After the test process itself prints PASS and exits,
    	# the kernel closes its stdin pipe to to the orphaned subprocess.
    	# At that point, we expect the subprocess to print 'stdin closed'
    	# and periodically log to stderr until the WaitDelay expires.
    	#
    	# Once the WaitDelay expires, the copying goroutine for 'go test' stops and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 20:23:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/net/http/header_test.go

    		nil,
    		"Content-Length: 0\r\nContent-Length: 1\r\nContent-Length: 2\r\n",
    	},
    	{
    		Header{
    			"Expires":          {"-1"},
    			"Content-Length":   {"0"},
    			"Content-Encoding": {"gzip"},
    		},
    		map[string]bool{"Content-Length": true},
    		"Content-Encoding: gzip\r\nExpires: -1\r\n",
    	},
    	{
    		Header{
    			"Expires":          {"-1"},
    			"Content-Length":   {"0", "1", "2"},
    			"Content-Encoding": {"gzip"},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/expiry/AnyDaemonExpirationStrategyTest.groovy

        private DaemonExpirationStrategy c2;
    
        def setup() {
            c1 = Mock(DaemonExpirationStrategy)
            c2 = Mock(DaemonExpirationStrategy)
        }
    
        def "expires when any child strategy expires"() {
            given:
            AnyDaemonExpirationStrategy agg = new AnyDaemonExpirationStrategy([c1, c2])
    
            when:
            1 * c1.checkExpiration() >> { new DaemonExpirationResult(c1Status, "r1") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top