- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MutableIterator (0.22 sec)
-
okhttp/src/main/kotlin/okhttp3/Cache.kt
* * The iterator supports [MutableIterator.remove]. Removing a URL from the iterator evicts the * corresponding response from the cache. Use this to evict selected responses. */ @Throws(IOException::class) fun urls(): MutableIterator<String> { return object : MutableIterator<String> { private val delegate: MutableIterator<DiskLruCache.Snapshot> = cache.snapshots()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/NamedDomainObjectContainerDelegate.kt
delegate.register(name, configurationAction) override fun register(name: String): NamedDomainObjectProvider<T> = delegate.register(name) override fun iterator(): MutableIterator<T> = delegate.iterator() override fun getNamer(): Namer<T> = delegate.namer override fun getRules(): MutableList<Rule> = delegate.rules
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:18:33 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/TaskContainerDelegate.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:18:33 UTC 2023 - 8.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* to do so leaks open files! */ @Synchronized @Throws(IOException::class) fun snapshots(): MutableIterator<Snapshot> { initialize() return object : MutableIterator<Snapshot> { /** Iterate a copy of the entries to defend against concurrent modification errors. */ private val delegate = ArrayList(lruEntries.values).iterator()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 34.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
} @Test fun cache() { val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong()) cache.initialize() cache.delete() cache.evictAll() val urls: MutableIterator<String> = cache.urls() val writeAbortCount: Int = cache.writeAbortCount() val writeSuccessCount: Int = cache.writeSuccessCount() val size: Long = cache.size() val maxSize: Long = cache.maxSize()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0)