- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 21 for toRegex (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
matchesName(name.asString(), candidateName) private fun matchesName(name: String, candidateName: String) = name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names private val SINCE_REGEX = Regex("""@since ([^\s]+)""") private fun BodyDeclaration<*>.getSince(): String? = comment?.orElse(null)?.content?.let { content ->
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 6.5K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt
&& versionUnderTest < GradleVersion.version(endVersionExclusive) } private fun extractTestTaskGradleVersion(name: String): String? = "gradle(.+)CrossVersionTest".toRegex().find(name)?.groupValues?.get(1) } class IncludeTestClassProvider(private val includeTestClasses: Map<String, List<String>>) : BuildBucketProvider {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.9K bytes - Click Count (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
} } private fun RepositoryPlugin.deployClassPath() { val classpath = System.getProperty("java.class.path") val entries = classpath .split(File.pathSeparator.toRegex()) .dropLastWhile { it.isEmpty() } .toTypedArray() for (classPathEntry in entries) { deployFile(classPathEntry.toPath()) } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5K bytes - Click Count (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
it.dependencies.items.size, stage.stageName.stageName, ) } } private val largeSubProjectRegex = """\((\w+(_\d+))\)""".toRegex() /** * Test Coverage - AllVersionsCrossVersion Java8 Oracle Linux (core_2) -> core_2 */ private fun BaseGradleBuildType.getSubProjectSplitName() = largeSubProjectRegex.find(this.name)!!.groupValues[1]Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 01:27:05 GMT 2025 - 14.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
javaClass .getDeclaredField("masterSecret") .apply { isAccessible = true }.get(this) as? SecretKey val randomRegex = "\"random\"\\s+:\\s+\"([^\"]+)\"".toRegex() fun register() { // Enable JUL logging for SSL events, must be activated early or via -D option. System.setProperty("javax.net.debug", "") logger = LoggerCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 10.9K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
var publicSuffix = buffer.readUtf8LineStrict() if (publicSuffix.contains("*")) { // A wildcard rule, let's replace the wildcard with a value. publicSuffix = publicSuffix.replace("\\*".toRegex(), "square") } assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(publicSuffix)).isNull() val test = "foobar.$publicSuffix" assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(test)).isEqualTo(test)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 8.5K bytes - Click Count (0) -
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 {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 14.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:58:02 GMT 2025 - 12.4K bytes - Click Count (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) /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 23.1K bytes - Click Count (0)