- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 96 for taint (0.02 sec)
-
buildSrc/src/main/kotlin/AlpnVersions.kt
} val javaVersion = System.getProperty("java.version") val match = "1\\.8\\.0_(\\d+)(-.*)?".toRegex().find(javaVersion) ?: return null return alpnBootVersionForPatchVersion(match.groupValues.first().toInt())
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.8K bytes - Viewed (0) -
okcurl/build.gradle.kts
plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("com.gradleup.shadow") } val testJavaVersion = System.getProperty("test.java.version", "21").toInt() val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") { from("src/main/resources-templates") into(layout.buildDirectory.dir("generated/resources-templates"))Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> { hour = matcher.group(1).toInt() minute = matcher.group(2).toInt() second = matcher.group(3).toInt() } dayOfMonth == -1 && matcher.usePattern(DAY_OF_MONTH_PATTERN).matches() -> { dayOfMonth = matcher.group(1).toInt() } month == -1 && matcher.usePattern(MONTH_PATTERN).matches() -> {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
in '0'..'9' -> this - '0' in 'a'..'f' -> this - 'a' + 10 in 'A'..'F' -> this - 'A' + 10 else -> -1 } internal infix fun Byte.and(mask: Int): Int = toInt() and mask internal infix fun Short.and(mask: Int): Int = toInt() and mask internal infix fun Int.and(mask: Long): Long = toLong() and mask @Throws(IOException::class) internal fun BufferedSink.writeMedium(medium: Int) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
while (ms > 100) { Thread.sleep(100) if (javaNetSocket.isClosed) throw InterruptedIOException("socket closed") ms -= 100L } if (ms > 0L || ns > 0) { Thread.sleep(ms, ns.toInt()) } } override fun cancel() { delegate.cancel() } override fun close() { javaNetSocket.close() } fun awaitClosed() { closedLatch.await() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
module-tests/build.gradle.kts
requires("kotlin.stdlib") requires("java.logging") } module("com.squareup.okio:okio", "okio") { exportAllPackages() } } val testJavaVersion = System.getProperty("test.java.version", "21").toInt() tasks.withType<Test> { useJUnitPlatform() enabled = testJavaVersion > 8 javaLauncher.set(javaToolchains.launcherFor { languageVersion.set(JavaLanguageVersion.of(testJavaVersion)) }) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:45:42 UTC 2025 - 1.6K bytes - Viewed (0) -
build.gradle.kts
metaInf { ignoreAttribute("Bnd-LastModified") } } } } val platform = System.getProperty("okhttp.platform", "jdk9") val testJavaVersion = System.getProperty("test.java.version", "21").toInt() /** Configure building for Java+Kotlin projects. */ subprojects { val project = this@subprojects if (project.name == "okhttp-bom") return@subprojects if (project.name == "okhttp-android") return@subprojectsRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 11.5K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt
internal inline fun Lockable.awaitNanos(nanos: Long) { val ms = nanos / 1_000_000L val ns = nanos - (ms * 1_000_000L) if (ms > 0L || nanos > 0) { (this as Object).wait(ms, ns.toInt()) } } internal inline fun Lockable.assertLockNotHeld() { if (assertionsEnabled && Thread.holdsLock(this)) { throw AssertionError("Thread ${Thread.currentThread().name} MUST NOT hold lock on $this") } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
) } @Test fun messagesNotCompressedWhenNotConfigured() { val message = repeat('a', RealWebSocket.DEFAULT_MINIMUM_DEFLATE_SIZE.toInt()) server.webSocket!!.send(message) taskFaker.runTasks() assertThat(client.clientSourceBufferSize()) .isGreaterThan(message.length.toLong()) // Not compressed.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
val from = nextAddress nextAddress += count return (from until nextAddress) .map { return@map InetAddress.getByAddress( Buffer().writeInt(it.toInt()).readByteArray(), ) } } /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65]. */ fun allocateIpv6(count: Int): List<InetAddress> { val from = nextAddressRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.5K bytes - Viewed (0)