- Sort Score
- Result 10 results
- Languages All
Results 1191 - 1200 of 1,267 for func (0.01 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/IsProbablyUtf8Test.kt
import assertk.assertions.isFalse import assertk.assertions.isTrue import okhttp3.logging.internal.isProbablyUtf8 import okio.Buffer import org.junit.jupiter.api.Test class IsProbablyUtf8Test { @Test fun isProbablyUtf8() { assertThat(Buffer().isProbablyUtf8()).isTrue() assertThat(Buffer().writeUtf8("abc").isProbablyUtf8()).isTrue() assertThat(Buffer().writeUtf8("new\r\nlines").isProbablyUtf8()).isTrue()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BitString.kt
*/ internal data class BitString( val byteString: ByteString, /** 0-7 unused bits in the last byte. */ val unusedBitsCount: Int, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + byteString.hashCode() result = 31 * result + unusedBitsCount return result }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt
* reflectively with Moshi to parse stories from files. */ data class Story( val description: String? = null, val cases: List<Case>, val fileName: String? = null, ) { // Used as the test name. override fun toString() = fileName ?: "?" companion object { @JvmField val MISSING = Story(description = "Missing", cases = listOf(), "missing") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
* a robolectric test. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */ fun initialize(applicationContext: Context) { if (PlatformRegistry.applicationContext == null) { // Make sure we aren't using an Activity or Service Context
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/graal/GraalSvm.kt
@Delete class TargetJdk8WithJettyBootPlatform @TargetClass(OpenJSSEPlatform::class) @Delete class TargetOpenJSSEPlatform @TargetClass(Platform.Companion::class) class TargetPlatform { @Substitute fun findPlatform(): Platform = Jdk9Platform.buildIfSupported()!!Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt
* limitations under the License. */ package okhttp3.internal.http import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request object ExternalHttp2Example { @JvmStatic fun main(args: Array<String>) { val client = OkHttpClient .Builder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .build() val call = client.newCall( RequestRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/gl/stopwords.txt
dunha dunhas e el ela elas eles en era eran esa esas ese eses esta estar estaba está están este estes estiven estou eu é facer foi foron fun había hai iso isto la las lle lles lo los mais me meu meus min miña miñas moi na nas neste nin no non nos nosa nosas noso
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 19 06:31:02 UTC 2018 - 932 bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt
buildScanTagParam("SmokeIdeTests"), "-PflakyTests=exclude", ).joinToString(" "), ) }) { companion object { fun buildTypeId(model: CIBuildModel) = "${model.projectId}_SmokeIdeTests" }
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Apr 17 07:24:45 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt
import java.io.IOException /** Attempt routes one at a time until one connects. */ internal class SequentialExchangeFinder( override val routePlanner: RoutePlanner, ) : ExchangeFinder { override fun find(): RealConnection { var firstException: IOException? = null while (true) { if (routePlanner.isCanceled()) throw IOException("Canceled") try { val plan = routePlanner.plan()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0)