Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 194 for EXPIRES (0.23 sec)

  1. cmd/warm-backend-azure.go

    		err := spt.Refresh()
    		if err != nil {
    			return 0
    		}
    		// set the new token value
    		tc.SetToken(spt.Token().AccessToken)
    
    		// get the next token before the current one expires
    		nextRenewal := float64(time.Until(spt.Token().Expires())) * 0.8
    		if nextRenewal <= 0 {
    			nextRenewal = float64(time.Second)
    		}
    
    		return time.Duration(nextRenewal)
    	})
    
    	return tc, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 05 16:44:08 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    		w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    	}
    
    	if objInfo.VersionID != "" {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    	}
    
    	if !objInfo.Expires.IsZero() {
    		w.Header().Set(xhttp.Expires, objInfo.Expires.UTC().Format(http.TimeFormat))
    	}
    
    	if objInfo.CacheControl != "" {
    		w.Header().Set(xhttp.CacheControl, objInfo.CacheControl)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. security/pkg/util/certutil_test.go

    		expectedWaitTime int
    		expectedErr      string
    	}{
    		"Success": {
    			// Now = 2017-08-23 21:00:40 +0000 UTC
    			// Cert TTL is 24h, and grace period is 50% of TTL, that is 12h.
    			// The cert expires at 2017-08-24 19:00:40 +0000 UTC, so the grace period starts at 2017-08-24 07:00:40 +0000 UTC
    			// The wait time is the duration from fake now to the grace period start time, which is 10h39s (36039s).
    			cert:             testCert,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. security/pkg/pki/util/keycertbundle.go

    }
    
    // ExtractRootCertExpiryTimestamp returns the unix timestamp when the root becomes expires.
    func (b *KeyCertBundle) ExtractRootCertExpiryTimestamp() (float64, error) {
    	return extractCertExpiryTimestamp("root cert", b.GetRootCertPem())
    }
    
    // ExtractCACertExpiryTimestamp returns the unix timestamp when the cert chain becomes expires.
    func (b *KeyCertBundle) ExtractCACertExpiryTimestamp() (float64, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    	expiresStr := req.Header.Get("Expires")
    	if expiresStr == "" {
    		expiresStr = strconv.FormatInt(epochExpires, 10)
    		req.Header.Set("Expires", expiresStr)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FluentFuture.java

      }
    
      /**
       * Returns a future that delegates to this future but will finish early (via a {@link
       * TimeoutException} wrapped in an {@link ExecutionException}) if the specified timeout expires.
       * If the timeout expires, not only will the output future finish, but also the input future
       * ({@code this}) will be cancelled and interrupted.
       *
       * @param timeout when to time out the future
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 11 19:08:44 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

            return asStream(id)//
                    .header("Pragma", "no-cache")//
                    .header("Cache-Control", "no-cache")//
                    .header("Expires", "Thu, 01 Dec 1994 16:00:00 GMT")//
                    .header("Content-Type", "application/x-ndjson")//
                    .stream(out -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/_aws/fess/doc.json

          },
          "created": {
            "type": "date",
            "format": "date_optional_time"
          },
          "timestamp": {
            "type": "date",
            "format": "date_optional_time"
          },
          "expires": {
            "type": "date",
            "format": "date_optional_time"
          },
          "digest": {
            "type": "text",
            "index": false
          },
          "doc_id": {
            "type": "keyword"
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle.go

    	DeleteRestoredVersionAction
    	// DeleteAllVersionsAction deletes all versions when an object expires
    	DeleteAllVersionsAction
    	// DelMarkerDeleteAllVersionsAction deletes all versions when an object with delete marker as latest version expires
    	DelMarkerDeleteAllVersionsAction
    	// ActionCount must be the last action and shouldn't be used as a regular action.
    	ActionCount
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. src/net/http/cookiejar/jar_test.go

    				tc.host, tc.domain, domain, hostOnly,
    				tc.wantDomain, tc.wantHostOnly)
    		}
    	}
    }
    
    // expiresIn creates an expires attribute delta seconds from tNow.
    func expiresIn(delta int) string {
    	t := tNow.Add(time.Duration(delta) * time.Second)
    	return "expires=" + t.Format(time.RFC1123)
    }
    
    // mustParseURL parses s to a URL and panics on error.
    func mustParseURL(s string) *url.URL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top