- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for 500 (0.04 sec)
-
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) -
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) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0) -
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) -
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) -
docs/em/docs/advanced/middleware.md
π οΈ π π΅ π―ββοΈ π© & π₯ π¨. ```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) -
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) -
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) -
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) -
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)