- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 71 for MaxSize (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
private val toClose = ArrayDeque<DiskLruCache>() private fun createNewCache() { createNewCacheWithSize(Int.MAX_VALUE) } private fun createNewCacheWithSize(maxSize: Int) { cache = DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also { toClose.add(it) } synchronized(cache) { cache.initialize() } } @BeforeEach fun setUp() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0) -
src/main/config/es/fess_config_key_match.json
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 1.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
getOnly = false, ) runBatch(dnsProviders, names) val dnsCache = Cache( directory = File("./target/TestDohMain.cache.${System.currentTimeMillis()}"), maxSize = 10L * 1024 * 1024, ) println("Bad targets\n***********\n") val url = "https://dns.cloudflare.com/.not-so-well-known/run-dmc-query".toHttpUrl() val badProviders = listOf( DnsOverHttpsRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/features/caching.md
```kotlin private val client: OkHttpClient = OkHttpClient.Builder() .cache(Cache( directory = File(application.cacheDir, "http_cache"), // $0.05 worth of phone storage in 2020 maxSize = 50L * 1024L * 1024L // 50 MiB )) .build() ``` ## EventListener events Cache Events are exposed via the EventListener API. Typical scenarios are below. ### Cache Hit
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsKeyMatchCB.java
doColumn("createdBy"); } public void columnCreatedTime() { doColumn("createdTime"); } public void columnMaxSize() { doColumn("maxSize"); } public void columnQuery() { doColumn("query"); } public void columnTerm() { doColumn("term"); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
if not ca_certs: ca_certs = certifi.where() self._http = urllib3.PoolManager( timeout=urllib3.Timeout.DEFAULT_TIMEOUT, maxsize=10, cert_reqs='CERT_NONE', ca_certs=ca_certs, retries=urllib3.Retry( total=5, backoff_factor=0.2, status_forcelist=[500, 502, 503, 504]Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@link Stream#limit} (same). * * @param maxSize the maximum number of elements in the returned fluent iterable * @throws IllegalArgumentException if {@code size} is negative */ public final FluentIterable<E> limit(int maxSize) { return from(Iterables.limit(getDelegate(), maxSize)); } /** * Determines whether this fluent iterable is empty. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsKeyMatchBhv.java
result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setMaxSize(DfTypeUtil.toInteger(source.get("maxSize"))); result.setQuery(DfTypeUtil.toString(source.get("query"))); result.setTerm(DfTypeUtil.toString(source.get("term"))); result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
void negativeMaxBuffersThrows() { assertThrows(NegativeArraySizeException.class, () -> new BufferCacheImpl(-1, 10)); } @Test @DisplayName("Negative maxSize throws when allocating a new buffer") void negativeMaxSizeThrowsOnAllocation() { BufferCacheImpl impl = new BufferCacheImpl(0, -7); assertThrows(NegativeArraySizeException.class, impl::getBuffer);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0)