- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 863 for val (0.1 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt
import org.gradle.api.reflect.TypeOf import org.gradle.kotlin.dsl.* internal val CtClass.isKotlin: Boolean get() = hasAnnotation(Metadata::class.qualifiedName) internal val CtMethod.isSynthetic get() = methodInfo.getAttribute(SyntheticAttribute.tag) != null internal val MemberValue.intValue: Int get() { var value: Int? = null
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/Uncompress.kt
import okio.source import org.brotli.dec.BrotliInputStream fun uncompress(response: Response): Response { if (!response.promisesBody()) { return response } val body = response.body val encoding = response.header("Content-Encoding") ?: return response val decompressedSource = when { encoding.equals("br", ignoreCase = true) -> BrotliInputStream(body.source().inputStream()).source().buffer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 13:19:01 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt
*/ @JvmField val minimumConcurrentCalls: Int = 0, /** How long to wait to retry pre-emptive connection attempts that fail. */ @JvmField val backoffDelayMillis: Long = 60 * 1000, /** How much jitter to introduce in connection retry backoff delays */ @JvmField val backoffJitterMillis: Int = 100, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 03 20:39:41 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp/build.gradle.kts
} // Build & use okhttp3/internal/-InternalVersion.kt val copyKotlinTemplates = tasks.register<Copy>("copyKotlinTemplates") { from("src/main/kotlinTemplates") into("$buildDir/generated/sources/kotlinTemplates") expand("projectVersion" to project.version) filteringCharset = Charsets.UTF_8.toString() } // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CommonRequestBodyTest.kt
import kotlin.test.Test import okhttp3.RequestBody.Companion.toRequestBody class CommonRequestBodyTest { @Test fun correctContentType() { val body = "Body" val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf())) val contentType = requestBody.contentType()!! assertThat(contentType.mediaType).isEqualTo("text/plain; charset=utf-8")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.1K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt
name: String, ) { val clazz: Class<*> = access.findClassByName(name) ?: throw IllegalStateException("Missing class $name") RuntimeReflection.register(clazz) clazz.declaredConstructors.forEach { RuntimeReflection.register(it) } } private fun registerKnownTests(access: Feature.BeforeAnalysisAccess) { val knownTestFile = File("src/main/resources/testlist.txt").absoluteFile
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
*/ class BouncyCastlePlatform private constructor() : Platform() { private val provider: Provider = BouncyCastleJsseProvider() override fun newSSLContext(): SSLContext = SSLContext.getInstance("TLS", provider) override fun platformTrustManager(): X509TrustManager { val factory = TrustManagerFactory.getInstance( "PKIX", BouncyCastleJsseProvider.PROVIDER_NAME, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
import javax.inject.Inject private val logger = LoggerFactory.getLogger("daemonTracker") abstract class DaemonTracker : BuildService<DaemonTracker.Params>, AutoCloseable { interface Params : BuildServiceParameters { val rootProjectDir: DirectoryProperty } @get:Inject abstract val execOperations: ExecOperations private
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 3.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
val commonEmptyRequestBody: RequestBody = EMPTY_BYTE_ARRAY.toRequestBody() val commonEmptyResponse: ResponseBody = EMPTY_BYTE_ARRAY.toResponseBody() internal fun <T> interleave( a: Iterable<T>, b: Iterable<T>, ): List<T> { val ia = a.iterator() val ib = b.iterator() return buildList { while (ia.hasNext() || ib.hasNext()) { if (ia.hasNext()) { add(ia.next()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/PublicSuffixDatabaseTest.kt
class PublicSuffixDatabaseTest { @RegisterExtension @JvmField val platform = PlatformRule() @Test fun testResourcesLoaded() { val url = "https://api.twitter.com".toHttpUrl() assertThat(url.topPrivateDomain()).isEqualTo("twitter.com") } @Test fun testPublicSuffixes() { platform.assumeNotGraalVMImage() val metadata = FileSystem.RESOURCES.metadata(PublicSuffixDatabase.PUBLIC_SUFFIX_RESOURCE)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 24 09:33:12 UTC 2023 - 1.4K bytes - Viewed (0)