Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for expiresAt (0.05 seconds)

  1. cmd/server_test.go

    const (
    	defaultPrometheusJWTExpiry = 100 * 365 * 24 * time.Hour
    )
    
    func (s *TestSuiteCommon) TestMetricsV3Handler(c *check) {
    	jwt := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, jwtgo.StandardClaims{
    		ExpiresAt: time.Now().UTC().Add(defaultPrometheusJWTExpiry).Unix(),
    		Subject:   s.accessKey,
    		Issuer:    "prometheus",
    	})
    
    	token, err := jwt.SignedString([]byte(s.secretKey))
    	c.Assert(err, nil)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/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(),
        )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
  3. cmd/bucket-replication.go

    		sc = objInfo.StorageClass
    	}
    	putOpts = minio.PutObjectOptions{
    		UserMetadata:    meta,
    		ContentType:     objInfo.ContentType,
    		ContentEncoding: objInfo.ContentEncoding,
    		Expires:         objInfo.Expires,
    		StorageClass:    sc,
    		Internal: minio.AdvancedPutOptions{
    			SourceVersionID:    objInfo.VersionID,
    			ReplicationStatus:  minio.ReplicationStatusReplica,
    			SourceMTime:        objInfo.ModTime,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // initial capacity / concurrency level
        assertThat(map.segments[0].table.length()).isEqualTo(16 / map.segments.length);
    
        assertThat(map.evictsBySize()).isFalse();
        assertThat(map.expires()).isFalse();
        assertThat(map.expiresAfterWrite()).isFalse();
        assertThat(map.expiresAfterAccess()).isFalse();
        assertThat(map.refreshes()).isFalse();
      }
    
      public void testSetKeyEquivalence() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // initial capacity / concurrency level
        assertThat(map.segments[0].table.length()).isEqualTo(16 / map.segments.length);
    
        assertThat(map.evictsBySize()).isFalse();
        assertThat(map.expires()).isFalse();
        assertThat(map.expiresAfterWrite()).isFalse();
        assertThat(map.expiresAfterAccess()).isFalse();
        assertThat(map.refreshes()).isFalse();
      }
    
      public void testSetKeyEquivalence() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      fun responseCookies() {
        server.enqueue(
          MockResponse(
            headers =
              headersOf(
                "Set-Cookie",
                "a=b; Expires=Thu, 01 Jan 1970 00:00:00 GMT",
                "Set-Cookie",
                "c=d; Expires=Fri, 02 Jan 1970 23:59:59 GMT; path=/bar; secure",
              ),
          ),
        )
        val cookieJar = RecordingCookieJar()
        client =
          client
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Expired Time */
        public static final String LABELS_EXPIRED_TIME = "{labels.expiredTime}";
    
        /** The key of the message: Expires */
        public static final String LABELS_EXPIRES = "{labels.expires}";
    
        /** The key of the message: Failure Count */
        public static final String LABELS_FAILURE_COUNT_THRESHOLD = "{labels.failureCountThreshold}";
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 156.4K bytes
    - Click Count (0)
  8. cmd/object-handlers.go

    	"github.com/minio/pkg/v3/policy"
    )
    
    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    	"response-expires":             xhttp.Expires,
    	"response-content-type":        xhttp.ContentType,
    	"response-cache-control":       xhttp.CacheControl,
    	"response-content-encoding":    xhttp.ContentEncoding,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbFile.java

            // Improved attribute caching with more granular cache validation
            long currentTime = System.currentTimeMillis();
            if (this.attrExpiration > currentTime) {
                log.trace("Using cached attributes (expires in {}ms)", this.attrExpiration - currentTime);
                return this.isExists;
            }
    
            // Fast path for already resolved existence with recent cache
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  10. cmd/metrics-v2.go

    	maps.Copy(metric.VariableLabels, m.VariableLabels)
    	maps.Copy(metric.Histogram, m.Histogram)
    	return metric
    }
    
    // Get - returns cached value always upton the configured TTL,
    // once the TTL expires "read()" registered function is called
    // to return the new values and updated.
    func (g *MetricsGroupV2) Get() (metrics []MetricV2) {
    	m, _ := g.metricsCache.Get()
    	if len(m) == 0 {
    		return []MetricV2{}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
Back to Top