- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for removePrefix (0.06 seconds)
-
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
val cacheDirName = cacheDir.name if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) { continue } val dirVersion = cacheDirName.removePrefix(dirPrefix).removeSuffix(dirSuffix) if (!dirVersion.matches(dirVersionPattern)) { continue } val cacheVersion = try {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.4K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt
val url = "$GITHUB_BASE_URL/$currentCommit/${it.relativePath}#L${it.lineNumber}".urlEncodeSpace() writer.println("=HYPERLINK(\"$url\",\"${it.name}\");$project;${category.removePrefix("Incubating since ")};") } } } } } private fun String.urlEncodeSpace() = replace(" ", "%20") privateCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 5.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
* instances; this makes it clear which is which. */ @JvmField internal val okHttpName: String = OkHttpClient::class.java.name .removePrefix("okhttp3.")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 10.2K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
* Returns a domain string like `example.com` for an input domain like `EXAMPLE.COM` * or `.example.com`. */ private fun parseDomain(s: String): String { require(!s.endsWith(".")) return s.removePrefix(".").toCanonicalHost() ?: throw IllegalArgumentException() } /** Returns all of the cookies from a set of HTTP response headers. */ @JvmStatic fun parseAll( url: HttpUrl,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) -
okhttp/src/androidMain/baseline-prof.txt
HSPLkotlin/text/StringsKt__StringsKt;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I HSPLkotlin/text/StringsKt__StringsKt;->indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I HSPLkotlin/text/StringsKt__StringsKt;->removePrefix(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String; HSPLkotlin/text/StringsKt__StringsKt;->trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence; HSPLkotlin/time/Duration;-><clinit>()V
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1)