Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for 500 (0.04 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

      }
    
      public void testExpireAfterWriteAndAccess() {
        final Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(1000, MILLISECONDS)
                .expireAfterAccess(500, MILLISECONDS)
                .ticker(fakeTicker)
                .build();
    
        cache.put(10, 100);
        cache.put(20, 200);
        cache.put(4, 2);
    
        fakeTicker.advance(499, MILLISECONDS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            // for technical reasons we cannot throw here, even if delegate does cancel transfer
            listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
            Thread.sleep(500); // to make sure queue is processed, cancellation applied
    
            // subsequent call will cancel
            assertThrows(
                    TransferCancelledException.class,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    }
                    Thread.sleep(500);
                }
                assertEquals(CrawlerStatus.RUNNING, crawler1.crawlerContext.getStatus());
                for (int i = 0; i < 10; i++) {
                    if (crawler2.crawlerContext.getStatus() == CrawlerStatus.RUNNING) {
                        break;
                    }
                    Thread.sleep(500);
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        private static final Logger LOGGER = LoggerFactory.getLogger(SimplexTransferListener.class);
        private static final int QUEUE_SIZE = 1024;
        private static final int BATCH_MAX_SIZE = 500;
        private final TransferListener delegate;
        private final int batchMaxSize;
        private final boolean blockOnLastEvent;
        private final ArrayBlockingQueue<Exchange> eventQueue;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

      }
    
      @Benchmark
      public long timeGetWithSmallTimeout(long reps) throws Exception {
        Facade<?> f = notDoneFuture;
        long r = 0;
        for (int i = 0; i < reps; i++) {
          try {
            f.get(500, NANOSECONDS);
            r += 1;
          } catch (TimeoutException e) {
            r += 2;
          }
        }
        return r;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/middleware.md

    πŸ› οΈ πŸ”œ 🍡 πŸ‘―β€β™‚οΈ 🐩 &amp; πŸŽ₯ πŸ“¨.
    
    ```Python hl_lines="2  6"
    {!../../docs_src/advanced_middleware/tutorial003.py!}
    ```
    
    πŸ“„ ❌ πŸ•β€πŸ¦Ί:
    
    * `minimum_size` - 🚫 πŸ—œ πŸ“¨ πŸ‘ˆ πŸ€ͺ 🌘 πŸ‘‰ πŸ’― πŸ“ πŸ”’. πŸ”’ `500`.
    
    ## 🎏 πŸ› οΈ
    
    πŸ“€ πŸ“š 🎏 πŸ”« πŸ› οΈ.
    
    πŸ–Ό:
    
    * <a href="https://github.com/encode/uvicorn/blob/master/uvicorn/middleware/proxy_headers.py" class="external-link" target="_blank">Uvicorn `ProxyHeadersMiddleware`</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/middleware.md

    {!../../docs_src/advanced_middleware/tutorial003.py!}
    ```
    
    Die folgenden Argumente werden unterstΓΌtzt:
    
    * `minimum_size` – Antworten, die kleiner als diese Mindestgrâße in Bytes sind, nicht per GZip komprimieren. Der Defaultwert ist `500`.
    
    ## Andere Middlewares
    
    Es gibt viele andere ASGI-Middlewares.
    
    Zum Beispiel:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/middleware.md

    {* ../../docs_src/advanced_middleware/tutorial003.py hl[2,6] *}
    
    The following arguments are supported:
    
    * `minimum_size` - Do not GZip responses that are smaller than this minimum size in bytes. Defaults to `500`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

        // observe a size of 1
        long initialSize = cache.size();
        assertTrue(initialSize == 1 || initialSize == 2);
    
        // wait up to 5s
        byte[] filler = new byte[1024];
        for (int i = 0; i < 500; i++) {
          System.gc();
    
          CacheTesting.drainReferenceQueues(cache);
          if (cache.size() == 1) {
            break;
          }
          try {
            Thread.sleep(10);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/schema-extra-example.md

    Aus diesem Grund verwendeten Versionen von FastAPI vor 0.99.0 immer noch Versionen von OpenAPI vor 3.1.0.
    
    ///
    
    ### Pydantic- und FastAPI-`examples`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top