- Sort Score
- Result 10 results
- Languages All
Results 21 - 27 of 27 for toRegex (0.06 sec)
-
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
inline fun tryResolve(resolver: () -> String, or: () -> String) = try { resolver() } catch (_: Throwable) { or() } } private val NEWLINE_REGEX = "\\n\\s*".toRegex() private class KotlinVersionsToIncubatingCollector(val repositoryRoot: Path) : VersionsToIncubatingCollector { override fun collectFrom(sourceFile: File): VersionsToIncubating {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Jun 02 09:57:54 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/build.gradle.kts
allJvmArgs = allJvmArgs.filter { !it.startsWith("--add-opens") } } if (name.matches("test.*UnitTest".toRegex()) && javaLauncher.get().metadata.languageVersion.asInt() < 17) { // Work around robolectric requirements and limitations // https://github.com/robolectric/robolectric/issues/10419 filter {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 12.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
* addresses nor hostnames; they will be verified as IP addresses (which is a more strict * verification). */ private val VERIFY_AS_IP_ADDRESS = "([0-9a-fA-F]*:[0-9a-fA-F:.]*)|([\\d.]+)".toRegex() /** Returns true if this string is not a host name and might be an IP address. */ fun String.canParseAsIpAddress(): Boolean = VERIFY_AS_IP_ADDRESS.matches(this) /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
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/cache/DiskLruCache.kt
@JvmField val MAGIC = "libcore.io.DiskLruCache" @JvmField val VERSION_1 = "1" @JvmField val ANY_SEQUENCE_NUMBER: Long = -1 @JvmField val LEGAL_KEY_PATTERN = "[a-z0-9_-]{1,120}".toRegex() @JvmField val CLEAN = "CLEAN" @JvmField val DIRTY = "DIRTY" @JvmField val REMOVE = "REMOVE" @JvmField val READ = "READ" }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
.assertCode(200) .assertBody("success!") assertThat(proxySelector.failures) .all { hasSize(1) index(0).matches(".* Connect timed out".toRegex(RegexOption.IGNORE_CASE)) } } /** https://github.com/square/okhttp/issues/4875 */ @Test fun interceptorRecoversWhenRoutesExhausted() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0)