- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 60 for max_size (0.18 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
constructor(directory: File, maxSize: Long) : this( FileSystem.SYSTEM, directory.toOkioPath(), maxSize, ) internal val cache = DiskLruCache( fileSystem = fileSystem, directory = directory, appVersion = VERSION, valueCount = ENTRY_COUNT, maxSize = maxSize, taskRunner = taskRunner, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
} public void testUnion_maxSize_saturated() { assertThat(union(setSize(Integer.MAX_VALUE), setSize(1)).maxSize()) .isEqualTo(Integer.MAX_VALUE); assertThat(union(setSize(1), setSize(Integer.MAX_VALUE)).maxSize()) .isEqualTo(Integer.MAX_VALUE); } public void testIntersection_minSize() { assertMinSize(intersection(emptySet(), emptySet()), 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt
import okhttp3.internal.connection.RealCall import okhttp3.internal.connection.RealConnection import okio.FileSystem import okio.Path internal fun buildCache( file: Path, maxSize: Long, fileSystem: FileSystem, ): Cache = Cache(fileSystem, file, maxSize) internal var RealConnection.idleAtNsAccessor: Long get() = idleAtNs set(value) { idleAtNs = value } internal val Response.exchangeAccessor: Exchange?
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java
/** The term of the key match. */ public String term; /** The query of the key match. */ public String query; /** The max size of the key match. */ public String maxSize; /** The boost of the key match. */ public String boost; /** The creator of the key match. */ public String createdBy; /** The created time of the key match. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java
public String query; /** * The maximum number of results to return. */ @Required @Min(value = 0) @Max(value = 2147483647) @ValidateTypeFailure public Integer maxSize; /** * The boost score for matched results. */ @Required @ValidateTypeFailure public Float boost; /** * The virtual host for the key match. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.5K bytes - Viewed (0) -
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() } } fun setUp( baseFilesystem: FileSystem,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
src/main/config/es/fess_config_key_match.json
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 1.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.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( DnsOverHttps
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0)