- Sort Score
- Result 10 results
- Languages All
Results 1791 - 1800 of 1,950 for func (0.05 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt
* each [FileOperator] should not be. */ internal class FileOperator( private val fileChannel: FileChannel, ) { /** Write [byteCount] bytes from [source] to the file at [pos]. */ @Throws(IOException::class) fun write( pos: Long, source: Buffer, byteCount: Long, ) { if (byteCount < 0L || byteCount > source.size) { throw IndexOutOfBoundsException() } var mutablePos = pos
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/TestPerformanceTest.kt
val testProject = "smallJavaMultiProject" fun BuildSteps.gradleStep(tasks: List<String>) { gradleWrapper { name = "GRADLE_RUNNER" gradleParams = ( tasks + buildToolGradleParameters(isContinue = false) ).joinToString(separator = " ") skipConditionally() } } fun BuildSteps.adHocPerformanceTest(tests: List<String>) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp-coroutines/api/okhttp-coroutines.api
public final class okhttp3/coroutines/ExecuteAsyncKt { public static final fun executeAsync (Lokhttp3/Call;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 163 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
* Typically this indicates that the client will need to close the web socket with code 1010. */ @JvmField val unknownValues: Boolean = false, ) { fun noContextTakeover(clientOriginated: Boolean): Boolean { return if (clientOriginated) { clientNoContextTakeover // Client is deflating. } else { serverNoContextTakeover // Server is deflating. } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
javaCrash = false } }) private fun determineFlakyTestStrategy(stage: Stage): String { val stageName = StageName.values().first { it.stageName == stage.stageName.stageName } // See gradlebuild.basics.FlakyTestStrategy return if (stageName < StageName.READY_FOR_RELEASE) "exclude" else "include" } fun getTestTaskName(testCoverage: TestCoverage, subprojects: List<String>): String {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 06:14:43 UTC 2024 - 4.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/CompileAll.kt
platforms/core-runtime/base-services/build/generated-resources/build-receipt/org/gradle/build-receipt.properties """.trimIndent() }) { companion object { fun buildTypeId(model: CIBuildModel) = buildTypeId(model.projectId) fun buildTypeId(projectId: String) = "${projectId}_CompileAllBuild" }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 24 06:22:49 UTC 2024 - 1.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Connection.kt
*/ interface Connection { /** Returns the route used by this connection. */ fun route(): Route /** * Returns the socket that this connection is using. Returns an * [SSL socket][javax.net.ssl.SSLSocket] if this connection is HTTPS. If this is an HTTP/2 * connection the socket may be shared by multiple concurrent calls. */ fun socket(): Socket /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 4.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
* response. */ class BridgeInterceptor(private val cookieJar: CookieJar) : Interceptor { @Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response { val userRequest = chain.request() val requestBuilder = userRequest.newBuilder() val body = userRequest.body if (body != null) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
@Tag("Remote") class SniOverrideTest { var client = OkHttpClient.Builder() .build() @Test fun getWithCustomSocketFactory() { assumeTrue(Build.VERSION.SDK_INT >= 24) class CustomSSLSocketFactory( delegate: SSLSocketFactory, ) : DelegatingSSLSocketFactory(delegate) { override fun configureSocket(sslSocket: SSLSocket): SSLSocket { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt
@JvmField val code: Int, @JvmField val message: String, ) { override fun toString(): String { return buildString { if (protocol == Protocol.HTTP_1_0) { append("HTTP/1.0") } else { append("HTTP/1.1") } append(' ').append(code) append(' ').append(message) } } companion object { fun get(response: Response): StatusLine {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 3.3K bytes - Viewed (0)