Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 600 for caches (0.04 sec)

  1. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

        val headers =
          Headers.headersOf(
            "cache-control",
            "no-store",
            "Cache-Control",
            "no-cache",
          )
        val headerMap = headers.toMultimap()
        assertThat(headerMap["cache-control"]!!.size).isEqualTo(2)
        assertThat(headerMap["Cache-Control"]!!.size).isEqualTo(2)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/background-tasks.md

    ## Créer une fonction de tâche
    
    Une fonction à exécuter comme tâche d'arrière-plan est juste une fonction standard qui peut recevoir des paramètres.
    
    Elle peut être une fonction asynchrone (`async def`) ou une fonction normale (`def`), **FastAPI** saura la gérer correctement.
    
    Dans cet exemple, la fonction de tâche écrira dans un fichier (afin de simuler un envoi d'email).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

            return new DefaultModelCache(cache);
        }
    
        private final ConcurrentMap<Object, Supplier<?>> cache;
    
        private DefaultModelCache(ConcurrentMap<Object, Supplier<?>> cache) {
            this.cache = requireNonNull(cache);
        }
    
        @Override
        @SuppressWarnings({"unchecked"})
        public <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        if (args.length != 2) {
          System.out.println("Usage: Crawler <cache dir> <root>");
          return;
        }
    
        int threadCount = 20;
        long cacheByteCount = 1024L * 1024L * 100L;
    
        Cache cache = new Cache(new File(args[0]), cacheByteCount);
        OkHttpClient client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
    
        Crawler crawler = new Crawler(client);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

    import org.codelibs.fess.Constants;
    import org.dbflute.helper.jprop.ObjectiveProperties;
    import org.lastaflute.core.direction.PropertyFilter;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    public class FessConfigImpl extends FessConfig.SimpleImpl {
    
        private static final long serialVersionUID = 1L;
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    import jakarta.annotation.PostConstruct;
    
    public class PopularWordHelper {
        private static final Logger logger = LogManager.getLogger(PopularWordHelper.class);
    
        protected static final char CACHE_KEY_SPLITTER = '\n';
    
        protected Cache<String, List<String>> cache;
    
        protected FessConfig fessConfig;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. .teamcity/performance-tests-ci.json

        "testId" : "org.gradle.performance.regression.buildcache.TaskOutputCachingJavaPerformanceTest.clean assemble for abi change with local cache",
        "groups" : [ {
          "testProject" : "largeJavaMultiProject",
          "comment" : "We only test the multi-project here since for the monolithic project we would have no cache hits. This would mean we actually would test incremental compilation.",
          "coverage" : {
            "per_commit" : [ "linux" ]
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 14:38:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. .github/workflows/build-docs.yml

            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install docs extras
            run: uv pip install -r requirements-docs.txt
          # Install MkDocs Material Insiders here just to put it in the cache for the rest of the steps
          - name: Install Material for MkDocs Insiders
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/pod_cache.go

    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/zdsapi"
    )
    
    var ErrPodNotFound = errors.New("netns not provided, but is needed as pod is not in cache")
    
    type PodNetnsCache interface {
    	ReadCurrentPodSnapshot() map[string]WorkloadInfo
    }
    
    // Hold a cache of node local pods with their netns
    // if we don't know the netns, the pod will still be here with a nil netns.
    type podNetnsCache struct {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

        LocalCache<Object, Object> cache =
            new LocalCache<>(CacheBuilder.newBuilder().concurrencyLevel(1), null);
        segment = cache.segments[0];
        chain = null;
        for (int i = 0; i < length; i++) {
          Object key = new Object();
          // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
          // held
          chain = segment.newEntry(key, cache.hash(key), chain);
          if (i == 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top