Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 560 for cached (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server = MockWebServer()
    
      private var client =
        clientTestRule
          .newClientBuilder()
          .cache(Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE))
          .build()
    
      @Test
      fun trailersHttp1() {
        trailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun trailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/ReferenceEntry.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.cache.LocalCache.ValueReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An entry in a reference map.
     *
     * <p>Entries in the map can be in the following states:
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    result.getArtifacts(),
                    result.getManagedVersions(),
                    result.getResolutionRepositories());
    
            cache.put(cacheKey, cacheRecord);
        }
    
        @Override
        public void flush() {
            cache.clear();
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. mockwebserver/README.md

        .addHeader("Content-Type", "application/json; charset=utf-8")
        .addHeader("Cache-Control", "no-cache")
        .body("{}")
        .build();
    ```
    
    ### Kotlin
    ```kotlin
    val response = MockResponse.Builder()
      .addHeader("Content-Type", "application/json; charset=utf-8")
      .addHeader("Cache-Control", "no-cache")
      .body("{}")
      .build()
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(cache.requestCount()).isEqualTo(1)
        assertThat(cache.networkCount()).isEqualTo(1)
        assertThat(cache.hitCount()).isEqualTo(0)
        val call2 = client.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("A")
        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(2)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java

     */
    public enum DirectoryCacheScope {
        /**
         * Cache only direct children of the directory
         */
        IMMEDIATE_CHILDREN,
    
        /**
         * Cache entire subtree recursively (if supported by server)
         */
        RECURSIVE_TREE,
    
        /**
         * Cache only file attributes but not content
         */
        METADATA_ONLY,
    
        /**
         * Cache complete directory listing including all metadata
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

            return relatedContentBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a related content entity.
         * After storing, updates the related content helper to refresh the cache.
         *
         * @param relatedContent the RelatedContent entity to store
         */
        public void store(final RelatedContent relatedContent) {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAddables.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    /**
     * GWT emulation for LongAddables.
     *
     * @author Louis Wasserman
     */
    final class LongAddables {
      public static LongAddable create() {
        return new GwtLongAddable();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 08 14:27:16 UTC 2025
    - 1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

    /**
     * A container for data that is specific to a session.
     * All components may use this storage to associate arbitrary data with a session.
     * <p>
     * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be
     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
     * <strong>Note:</strong> Actual implementations must be thread-safe.
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top