- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 1,222 for rval (0.02 seconds)
-
native-image-tests/src/test/kotlin/okhttp3/nativeimage/PublicSuffixDatabaseTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import okhttp3.HttpUrl.Companion.toHttpUrl import org.junit.jupiter.api.Test class PublicSuffixDatabaseTest { @Test fun testResourcesLoaded() { val url = "https://api.twitter.com".toHttpUrl() assertThat(url.topPrivateDomain()).isEqualTo("twitter.com") }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jul 04 08:15:11 GMT 2025 - 964 bytes - Click Count (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/Brotli.kt
import okhttp3.CompressionInterceptor import okio.BufferedSource import okio.Source import okio.source import org.brotli.dec.BrotliInputStream object Brotli : CompressionInterceptor.DecompressionAlgorithm { override val encoding: String get() = "br" override fun decompress(compressedSource: BufferedSource): Source = BrotliInputStream(compressedSource.inputStream()).source()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 1010 bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/SmokeTest.kt
import org.gradle.api.tasks.CacheableTask /** * A test that verifies Gradle can be used with popular third party plugins. */ @CacheableTask abstract class SmokeTest : DistributionTest() { override val prefix = "smoke"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 889 bytes - Click Count (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsApi.kt
*/ package okhttp3.survey.ssllabs import retrofit2.http.GET interface SslLabsApi { @GET("getClients") suspend fun clients(): List<UserAgentCapabilities> companion object { const val BASE_URL = "https://api.ssllabs.com/api/v3/" }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 844 bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/JvmVersion.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package common enum class JvmVersion( val major: Int, ) { JAVA_8(8), JAVA_11(11), JAVA_17(17), JAVA_21(21), JAVA_25(25), ; fun toCapitalized(): String = name.replace("_", "").lowercase().toCapitalized()
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Aug 05 16:58:51 GMT 2025 - 856 bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt
/** * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may * overflow and return null. */ @Test fun overflowEncodingOversizedLabel() { val a1000 = "a".repeat(1000) val a1000MaxCodePoint = a1000 + "\udbff\udfff" testEncodeDecode( a1000MaxCodePoint, "xn--$a1000-nc89312g", ) assertNull( Punycode.encode(a1000MaxCodePoint.repeat(2)),
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt
* limitations under the License. */ package okhttp3 import okio.BufferedSource open class ForwardingResponseBody( delegate: ResponseBody?, ) : ResponseBody() { private val delegate: ResponseBody fun delegate(): ResponseBody = delegate override fun contentType(): MediaType? = delegate.contentType() override fun contentLength(): Long = delegate.contentLength()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.2K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE.md
1. 2. 3. 4. ## Context <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Regression <!-- Is this issue a regression? (Yes / No) --> <!-- If Yes, optionally please include minio version or commit id or PR# that caused this regression, if you have these details. -->
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Jan 29 00:04:16 GMT 2022 - 2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/StreamResetException.kt
*/ package okhttp3.internal.http2 import java.io.IOException /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */ class StreamResetException( @JvmField val errorCode: ErrorCode,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 869 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Gzip.kt
*/ package okhttp3 import okhttp3.CompressionInterceptor.DecompressionAlgorithm import okio.BufferedSource import okio.GzipSource import okio.Source object Gzip : DecompressionAlgorithm { override val encoding: String get() = "gzip" override fun decompress(compressedSource: BufferedSource): Source = GzipSource(compressedSource)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 936 bytes - Click Count (0)