- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MutableSet (0.07 sec)
-
okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt
import okio.Path import okio.Sink class FaultyFileSystem constructor(delegate: FileSystem?) : ForwardingFileSystem(delegate!!) { private val writeFaults: MutableSet<Path> = LinkedHashSet() private val deleteFaults: MutableSet<Path> = LinkedHashSet() private val renameFaults: MutableSet<Path> = LinkedHashSet() fun setFaultyWrite( file: Path, faulty: Boolean, ) { if (faulty) { writeFaults.add(file)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
class BasicTrustRootIndex(vararg caCerts: X509Certificate) : TrustRootIndex { private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>> init { val map = mutableMapOf<X500Principal, MutableSet<X509Certificate>>() for (caCert in caCerts) { map.getOrPut(caCert.subjectX500Principal) { mutableSetOf() }.add(caCert) } this.subjectToCaCerts = map }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0)