- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 953 for val (0.28 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
@Tag("Slow") class InterceptorTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() private var client = clientTestRule.newClient() private val callback = RecordingCallback() @Test fun applicationInterceptorsCanShortCircuitResponses() { server.close() // Accept no connections. val request = Request .Builder()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
): List<PerformanceTest> { val performanceTestType = performanceTestCoverage.type val performanceTestSpec = PerformanceTestSpec(performanceTestType, performanceTestCoverage.os) val scenarios = determineScenariosFor(performanceTestSpec, performanceTestConfigurations) val testProjectToScenarioDurations = determineScenarioTestDurations(performanceTestSpec.os, performanceTestDurations)
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
@Tag("Slow") class URLConnectionTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @TempDir lateinit var tempDir: File @StartStop val server = MockWebServer() @StartStop val server2 = MockWebServer() private val handshakeCertificates = platform.localhostHandshakeCertificates()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
val trigger: Trigger = Trigger.NEVER, val runsIndependent: Boolean = false, ) { val id = stageName.id } data class DocsTestCoverage( val os: Os, val testJava: JvmCategory, val docsTestTypes: List<DocsTestType>, ) data class TestCoverage( val uuid: Int, val testType: TestType, val os: Os, val testJvmVersion: JvmVersion,Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Nov 05 13:00:26 UTC 2025 - 27.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
// StreamReset stream was reset: PROT... val clientCert2 = HeldCertificate .Builder() .serialNumber(4L) .commonName("Jethro Willis") .build() val client = buildClient(clientCert2) val socketFactory = buildServerSslSocketFactory() server.useHttps(socketFactory) server.requireClientAuth() val call = client.newCall(Request.Builder().url(server.url("/")).build())Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 13K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
), ) val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket) assertThat(request.url.toString()).isEqualTo("http://host-from-header.com/") } private class FakeSocket( private val localAddress: InetAddress, private val localPort: Int, private val remoteAddress: InetAddress = localAddress, private val remotePort: Int = 1234,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
val deflater = MessageDeflater(false) val inflater = MessageInflater(false) val goldenValue = "".encodeUtf8() val deflated = deflater.deflate(goldenValue) assertThat(deflated).isEqualTo("00".decodeHex()) val inflated = inflater.inflate(deflated) assertThat(inflated).isEqualTo(goldenValue) } @Test fun `inflate deflate with context takeover`() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:26:07 UTC 2025 - 6.4K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
} } class ApiFunction internal constructor( private val asmLevel: Int, private val incubatingAnnotationTypeDescriptor: String, internal val owner: ApiType, private val delegate: MethodNode, private val context: ApiTypeProvider.Context ) { val name: String = delegate.name internal val isPublic: Boolean = delegate.access.isPublic internal
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Mar 12 15:56:18 UTC 2025 - 20.2K bytes - Viewed (0) -
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)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (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, )Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:36:14 UTC 2025 - 10.9K bytes - Viewed (0)