- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 949 for Val (0.01 seconds)
-
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratePlatformsDataTask.kt
data class PlatformData(val name: String, val dirs: List<String>, val uses: List<String>) @get:OutputFile abstract val outputFile: RegularFileProperty @get:Input abstract val platforms: ListProperty<Platform> @TaskAction fun action() { val allPlatforms = platforms.get() val data = allPlatforms.map { platform -> PlatformData(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 1.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
import org.junit.jupiter.api.extension.RegisterExtension @Tag("Slowish") class SocketFailureTest { @RegisterExtension val platform = PlatformRule() val listener = SocketClosingEventListener() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() private var client = clientTestRule .newClientBuilder() .eventListener(listener)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt
@Test fun computeIfAbsentWhenEmpty() { val tags = EmptyTags val atomicTags = AtomicReference<Tags>(tags) assertThat(atomicTags.computeIfAbsent(String::class) { "a" }).isEqualTo("a") assertThat(atomicTags.get()[String::class]).isEqualTo("a") } @Test fun computeIfAbsentWhenPresent() { val tags = EmptyTags.plus(String::class, "a") val atomicTags = AtomicReference(tags)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 7.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
*/ @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int, val isPrivate: Boolean, val isPublic: Boolean, @get:JvmName("mustRevalidate") val mustRevalidate: Boolean, @get:JvmName("maxStaleSeconds") val maxStaleSeconds: Int, @get:JvmName("minFreshSeconds") val minFreshSeconds: Int, /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 10K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
import model.CIBuildModel import model.Stage import model.TestCoverage import model.TestType const val FUNCTIONAL_TEST_TAG = "FunctionalTest" sealed class ParallelizationMethod { open val extraBuildParameters: String @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) get() = "" val name: String = this::class.simpleName!! object None : ParallelizationMethod()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 09 05:26:45 GMT 2025 - 5.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
override fun intercept(chain: Interceptor.Chain): Response { val userRequest = chain.request() val requestBuilder = userRequest.newBuilder() val body = userRequest.body if (body != null) { val contentType = body.contentType() if (contentType != null) { requestBuilder.header("Content-Type", contentType.toString()) } val contentLength = body.contentLength() if (contentLength != -1L) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 4.2K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
*/ class DnsOverHttps internal constructor( @get:JvmName("client") val client: OkHttpClient, @get:JvmName("url") val url: HttpUrl, @get:JvmName("includeIPv6") val includeIPv6: Boolean, @get:JvmName("post") val post: Boolean, @get:JvmName("resolvePrivateAddresses") val resolvePrivateAddresses: Boolean, @get:JvmName("resolvePublicAddresses") val resolvePublicAddresses: Boolean, ) : Dns { @Throws(UnknownHostException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt
actual object PlatformRegistry { private val isConscryptPreferred: Boolean get() { val preferredProvider = Security.getProviders()[0].name return "Conscrypt" == preferredProvider } private val isOpenJSSEPreferred: Boolean get() { val preferredProvider = Security.getProviders()[0].name return "OpenJSSE" == preferredProvider } private val isBouncyCastlePreferred: Boolean get() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu May 22 14:39:30 GMT 2025 - 2.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
// Trigger ReadyForNightly and ReadyForRelease for provider-api-migration/public-api-changes branch // TODO: remove this after the branch is merged const val PROVIDER_API_MIGRATION_BRANCH = "gradle10/provider-api-migration" const val BOT_DAILY_UPGRADLE_WRAPPER_BRANCH = "devprod/upgrade-to-latest-wrapper" const val DEPENDABOT_BRANCH_PATTERN = "dependabot/*" fun determineBranchFilter(branches: List<String>): String =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Feb 06 13:13:53 GMT 2026 - 7.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
userResponse: Response, exchange: Exchange?, chain: Interceptor.Chain, ): Request? { val route = exchange?.connection?.route() val responseCode = userResponse.code val method = userResponse.request.method when (responseCode) { HTTP_PROXY_AUTH -> { val selectedProxy = route!!.proxy if (selectedProxy.type() != Proxy.Type.HTTP) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0)