- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 949 for Val (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
} @Throws(IOException::class) fun openResponseBody(response: Response): ResponseBody { try { val contentType = response.header("Content-Type") val contentLength = codec.reportedContentLength(response) val rawSource = codec.openResponseBodySource(response) val source = ResponseBodySource( delegate = rawSource, contentLength = contentLength,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/StageProject.kt
this.description = stage.stageName.description }) { val specificBuildTypes: List<OsAwareBaseGradleBuildType> val performanceTests: List<PerformanceTestsPass> val functionalTests: List<OsAwareBaseGradleBuildType> val crossVersionTests: List<OsAwareBaseGradleBuildType> val docsTestTriggers: List<OsAwareBaseGradleBuildType> val flakyTestQuarantineTriggers: List<OsAwareBaseGradleBuildType>Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 04:44:29 GMT 2026 - 12.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
import org.junit.jupiter.api.extension.RegisterExtension @Timeout(30) open class TrailersTest { private val fileSystem = FakeFileSystem() @JvmField @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() private var client = clientTestRule .newClientBuilder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 18.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
duration: Int, timeUnit: TimeUnit, ): Boolean { val nowNs = System.nanoTime() val originalDurationNs = if (timeout().hasDeadline()) { timeout().deadlineNanoTime() - nowNs } else { Long.MAX_VALUE } timeout().deadlineNanoTime(nowNs + minOf(originalDurationNs, timeUnit.toNanos(duration.toLong()))) return try { val skipBuffer = Buffer() while (read(skipBuffer, 8192) != -1L) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt
import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class ConscryptTest { @JvmField @RegisterExtension val platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() private val client = clientTestRule.newClient() @BeforeEach fun setUp() { platform.assumeConscrypt() } @Test fun testTrustManager() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.1K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
abstract class CachesCleaner : BuildService<CachesCleaner.Params> { interface Params : BuildServiceParameters { val gradleVersion: Property<String> val homeDir: DirectoryProperty } @get:Inject abstract val fileSystemOperations: FileSystemOperations private var hasCleaned = false val logger = Logging.getLogger(CachesCleaner::class.java) fun cleanUpCaches() { synchronized(this) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.2K bytes - Click Count (1) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
mockWebServer.dispatcher = dispatcher val url = mockWebServer.url("/").toUrl() val conn = url.openConnection() as HttpURLConnection conn.responseCode // Force the connection to hit the "server". // Make sure our dispatcher got the request. assertThat(requestsMade.size).isEqualTo(1) } @Test fun outOfOrderResponses() { val firstResponseCode = AtomicInteger() val secondResponseCode = AtomicInteger()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
*/ public val target: String, /** A string like `HTTP/1.1` or `HTTP/2`. */ public val version: String, /** The request URL built using the request line, headers, and local host name. */ public val url: HttpUrl, /** All headers. */ public val headers: Headers, /** The body of this request, or null if it has none. This may be truncated. */ public val body: ByteString?,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 3.2K bytes - Click Count (1) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt
import java.io.File class BinaryCompatibilityRepositorySetupRule(private val params: Map<String, Any>) : SetupRule { companion object { const val REPOSITORY_CONTEXT_KEY = "binaryCompatibilityRepository" } /** * Each param is a `Set<String>`. */ object Params { const val sourceRoots = "sourceRoots" const val sourceCompilationClasspath = "sourceCompilationClasspath" }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Click Count (0) -
build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts
val main = sourceSets?.findByName("main") ?: sourceSets?.findByName("jvmMain") if (main != null) { this.sourceSets = listOf(main) } } val androidSignature = configurations.maybeCreate("androidSignature") val jvmSignature = configurations.maybeCreate("jvmSignature") configure<AnimalSnifferExtension> { annotation = "okhttp3.internal.SuppressSignatureCheck" val sourceSets = project.extensions.findByType<SourceSetContainer>()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 2.9K bytes - Click Count (0)