- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 765 for val3 (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `sequence of`() { val bytes = "3009020107020108020109".decodeHex() val sequenceOf = listOf(7L, 8L, 9L) val adapter = Adapters.INTEGER_AS_LONG.asSequenceOf() assertThat(adapter.fromDer(bytes)).isEqualTo(sequenceOf) assertThat(adapter.toDer(sequenceOf)).isEqualTo(bytes) } @Test fun `point with only x set`() { val bytes = "3003800109".decodeHex() val point = Point(9L, null)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 31.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
import okhttp3.internal.EmptyTags class RequestCommonTest { @Test fun constructorNormal() { val url = "https://example.com/".toHttpUrl() val body = "hello".toRequestBody() val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers, method = method, body = body, )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:36:14 GMT 2025 - 10.9K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
data class GitHubPullRequestSearchResult(val items: List<GitHubPullRequest>) data class GitHubUser(val login: String, val name: String?) data class GitHubPullRequestMilestone(val title: String) data class GitHubPullRequest( val number: Int, val user: GitHubUser, val milestone: GitHubPullRequestMilestone?, )
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
class StatisticBasedFunctionalTestBucketProvider( val model: CIBuildModel, testBucketsJson: File, ) : FunctionalTestBucketProvider { private val objectMapper = ObjectMapper().registerKotlinModule() private val buckets: Map<TestCoverage, List<BuildTypeBucket>> by lazy { val uuidToTestCoverage = model.stages.flatMap { it.functionalTests }.associateBy { it.uuid }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Sep 24 08:38:33 GMT 2025 - 8.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt
} companion object { val certA1 = HeldCertificate .Builder() .serialNumber(100L) .build() val certA1Sha256Pin = pin(certA1.certificate) val certB1 = HeldCertificate .Builder() .serialNumber(200L) .build() val certB1Sha256Pin = pin(certB1.certificate) val certC1 = HeldCertificate .Builder()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.1K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
val serverRoot = HeldCertificate .Builder() .certificateAuthority(1) .build() val serverIntermediate = HeldCertificate .Builder() .certificateAuthority(0) .signedBy(serverRoot) .build() val serverCertificate = HeldCertificate .Builder() .signedBy(serverIntermediate) .build() val server =Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.2K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
class Jdk8WithJettyBootPlatform( private val putMethod: Method, private val getMethod: Method, private val removeMethod: Method, private val clientProviderClass: Class<*>, private val serverProviderClass: Class<*>, ) : Platform() { override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) { val names = alpnProtocolNames(protocols) try {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
@Timeout(30) @Tag("Slow") open class ConnectionListenerTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() private val listener = RecordingConnectionListener() private val handshakeCertificates = localhost() open val fastFallback: Boolean get() = true private var client: OkHttpClient =Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 9.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
val keystoreType = if (platform.isJdk9()) "JKS" else null val x509KeyManager = newKeyManager(keystoreType, heldCertificate, *intermediates) val trustManager = newTrustManager( keystoreType, emptyList(), emptyList(), ) val sslContext = get().newSSLContext() sslContext.init(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 24.3K bytes - Click Count (2) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
@Testcontainers class BasicProxyTest { @Container val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE) .withNetworkAliases("mockserver") @Test fun testOkHttpDirect() { testRequest { val client = OkHttpClient() val response = client .newCall(Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.2K bytes - Click Count (1)