Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for expiresAt (0.04 sec)

  1. 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(),
        )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  2. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  3. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  5. 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}";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 156.4K bytes
    - Viewed (0)
  6. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            .addHeader("icy-url:http://www.A2Rradio.com")
            .addHeader("Server: Icecast 2.3.3-kh8")
            .addHeader("Cache-Control: no-cache")
            .addHeader("Pragma: no-cache")
            .addHeader("Expires: Mon, 26 Jul 1997 05:00:00 GMT")
            .addHeader("icy-metaint:16000")
            .body("mp3 data")
            .build(),
        )
        val response = getResponse(newRequest("/"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

          }
        }
      }
    
      boolean evictsBySize() {
        return maxWeight >= 0;
      }
    
      boolean customWeigher() {
        return weigher != OneWeigher.INSTANCE;
      }
    
      boolean expires() {
        return expiresAfterWrite() || expiresAfterAccess();
      }
    
      boolean expiresAfterWrite() {
        return expireAfterWriteNanos > 0;
      }
    
      boolean expiresAfterAccess() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
Back to top