Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CacheEntry (1.66 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

            String methodKey = makeMethodKey(name, params);
            Object cacheEntry = methodCache.get(methodKey);
    
            if (cacheEntry == CACHE_MISS) {
                return null;
            }
    
            if (cacheEntry == null) {
                try {
                    cacheEntry = methodMap.find(name, params);
                } catch (MethodMap.AmbiguousException ae) {
                    // that's a miss :)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(cache.networkCount()).isEqualTo(2)
        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      private fun corruptCertificate(cacheEntry: Path) {
        var content = fileSystem.source(cacheEntry).buffer().readUtf8()
        content = content.replace("MII", "!!!")
        fileSystem.sink(cacheEntry).buffer().writeUtf8(content).close()
      }
    
      @Test
      fun responseCachingAndRedirects() {
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top