Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 173 for EXPIRES (0.64 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/kubeadm/app/cmd/token.go

    	fmt.Fprintln(out, token)
    	return nil
    }
    
    func formatBootstrapToken(obj *outputapiv1alpha3.BootstrapToken) string {
    	ttl := "<forever>"
    	expires := "<never>"
    	if obj.Expires != nil {
    		ttl = duration.ShortHumanDuration(time.Until(obj.Expires.Time))
    		expires = obj.Expires.Format(time.RFC3339)
    	}
    	ttl = fmt.Sprintf("%-9s", ttl)
    
    	usages := strings.Join(obj.Usages, ",")
    	if len(usages) == 0 {
    		usages = "<none>"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exec/Crawler.java

            public String propertiesPath;
    
            @Option(name = "-e", aliases = "--expires", metaVar = "expires", usage = "Expires for documents")
            public String expires;
    
            @Option(name = "-h", aliases = "--hotThread", metaVar = "hotThread", usage = "Interval for Hot Thread logging")
            public Integer hotThread;
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. src/net/http/cookie.go

    				secs = -1
    			}
    			c.MaxAge = secs
    			continue
    		case "expires":
    			c.RawExpires = val
    			exptime, err := time.Parse(time.RFC1123, val)
    			if err != nil {
    				exptime, err = time.Parse("Mon, 02-Jan-2006 15:04:05 MST", val)
    				if err != nil {
    					c.Expires = time.Time{}
    					break
    				}
    			}
    			c.Expires = exptime.UTC()
    			continue
    		case "path":
    			c.Path = val
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. pkg/util/async/bounded_frequency_runner_test.go

    	// rel=0ms
    	runner.Run()
    	waitForRun("first run", t, timer, obj)
    
    	// Run again, before minInterval expires.
    	timer.advance(500 * time.Millisecond) // rel=500ms
    	runner.Run()
    	waitForDefer("too soon after first", t, timer, obj, 500*time.Millisecond)
    
    	// Run again, before minInterval expires.
    	timer.advance(499 * time.Millisecond) // rel=999ms
    	runner.Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .body("ABC")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Last-Modified: " + formatDate(-5, TimeUnit.MINUTES))
            .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS))
            .body("DEF")
            .build(),
        )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  9. src/net/http/cookiejar/jar.go

    	}
    
    	// MaxAge takes precedence over Expires.
    	if c.MaxAge < 0 {
    		return e, true, nil
    	} else if c.MaxAge > 0 {
    		e.Expires = now.Add(time.Duration(c.MaxAge) * time.Second)
    		e.Persistent = true
    	} else {
    		if c.Expires.IsZero() {
    			e.Expires = endOfTime
    			e.Persistent = false
    		} else {
    			if !c.Expires.After(now) {
    				return e, true, nil
    			}
    			e.Expires = c.Expires
    			e.Persistent = true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. 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)
Back to top