- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for varberg (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt
* strict than the others. */ fun escapeForUri(vararg codePoints: Int) = apply { uriEscapedCodePoints.append(String(*codePoints)) } /** * Configure code points to be stripped in conversion to `java.net.URI`. That class is more * strict than the others. */ fun stripForUri(vararg codePoints: Int) = apply { uriStrippedCodePoints.append(String(*codePoints))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
* * TODO: for sets, sort by tag when encoding. * TODO: for set ofs, sort by encoded value when encoding. */ fun <T> sequence( name: String, vararg members: DerAdapter<*>, decompose: (T) -> List<*>, construct: (List<*>) -> T, ): BasicDerAdapter<T> { val codec = object : BasicDerAdapter.Codec<T> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt
* limitations under the License. */ package okhttp3 import okio.Buffer import okio.Path import okio.Path.Companion.toPath val okHttpRoot: Path get() = getEnv("OKHTTP_ROOT")!!.toPath() fun String(vararg codePoints: Int): String { val buffer = Buffer() for (codePoint in codePoints) { buffer.writeUtf8CodePoint(codePoint) } return buffer.readUtf8()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 931 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt
} } } private fun Char.charCode() = code.toString(16).let { if (it.length < 2) { "0$it" } else { it } } internal fun commonHeadersOf(vararg inputNamesAndValues: String): Headers { require(inputNamesAndValues.size % 2 == 0) { "Expected alternating header names and values" } // Make a defensive copy and clean it up.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 5.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
hostname: String, ): List<Certificate> companion object { fun get(trustManager: X509TrustManager): CertificateChainCleaner = Platform.get().buildCertificateChainCleaner(trustManager) fun get(vararg caCerts: X509Certificate): CertificateChainCleaner = BasicCertificateChainCleaner(BasicTrustRootIndex(*caCerts)) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt
.certificateAuthority(length - i) .serialNumber(i.toLong()) .build(), ) } return result } private fun list(vararg heldCertificates: HeldCertificate): List<Certificate> { val result: MutableList<Certificate> = ArrayList() for (heldCertificate in heldCertificates) { result.add(heldCertificate.certificate) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.5K bytes - Viewed (1) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
import com.squareup.kotlinpoet.FileSpec import com.squareup.kotlinpoet.KModifier import com.squareup.kotlinpoet.PropertySpec import java.io.File import okio.FileSystem import okio.Path.Companion.toPath fun main(vararg args: String) { val data = loadIdnaMappingTableData() val file = generateMappingTableFile(data) file.writeTo(File(args[0])) } fun loadIdnaMappingTableData(): IdnaMappingTableData {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
override fun lookup(hostname: String): List<InetAddress> { requestedHosts.add(hostname) return hostAddresses[hostname] ?: throw UnknownHostException() } fun assertRequests(vararg expectedHosts: String?) { assertThat(requestedHosts).containsExactly(*expectedHosts) requestedHosts.clear() } /** Allocates and returns `count` fake IPv4 addresses like [255.0.0.100, 255.0.0.101]. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
import java.security.cert.X509Certificate import javax.security.auth.x500.X500Principal /** A simple index that of trusted root certificates that have been loaded into memory. */ class BasicTrustRootIndex( vararg caCerts: X509Certificate, ) : TrustRootIndex { private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>> init { val map = mutableMapOf<X500Principal, MutableSet<X509Certificate>>()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
override fun execute(command: Runnable) { if (shutdown) throw RejectedExecutionException() calls.add(command as RealCall.AsyncCall) } fun assertJobs(vararg expectedUrls: String) { val actualUrls = calls.map { it.request.url.toString() } assertThat(actualUrls).containsExactly(*expectedUrls) } fun finishJob(url: String) { val i = calls.iterator()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.1K bytes - Viewed (0)