- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for remove_prefix (0.39 sec)
-
tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc
int clustered_nodes = 0; for (Node* n : graph.op_nodes()) { int cluster = kNoCluster; if (std::optional<absl::string_view> maybe_cluster = GetXlaClusterForNode(*n)) { maybe_cluster->remove_prefix(absl::string_view("cluster_").size()); TF_RET_CHECK(absl::SimpleAtoi(*maybe_cluster, &cluster)); clustered_nodes++; } clusters[cluster][n->type_string()]++; cluster_size[cluster]++; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 12:11:46 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
strings::StrAppend(&ret, indent, "///\n"); } else { strings::StrAppend(&ret, indent, "/// ", text.substr(0, last_non_space + 1), "\n"); } text.remove_prefix(newline + 1); } return ret; } string PrintString(StringPiece str) { return strings::StrCat("\"", absl::CEscape(str), "\""); } string PrintTensorShape(const TensorShapeProto& shape_proto) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/kotlin/consumer/build.gradle.kts
} tasks.register("showJarFiles") { val rootDir = project.rootDir val compileClasspath: FileCollection = configurations.compileClasspath.get() doLast { compileClasspath.forEach { println(it.path.removePrefix(rootDir.path)) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
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 {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionApplicationHandler.kt
internal fun findUsedSoftwareTypeNames(resolutionResult: ResolutionResult): Set<String> { fun ConfigureAccessor.softwareTypeNameOrNull(): String? = if (this is ConfigureAccessor.Custom) customAccessorIdentifier.removePrefix("$SOFTWARE_TYPE_ACCESSOR_PREFIX:").takeIf { it != customAccessorIdentifier } else null return resolutionResult.nestedObjectAccess
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:38 UTC 2024 - 5.9K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/SymbolByFqName.kt
SymbolData.identifiers.any { identifier -> line.startsWith(identifier) || line.startsWith("// $identifier") } } return SymbolData.create(identifier.removePrefix("// ")) } fun textWithRenderedSymbolData(filePath: String, rendered: String): String = buildString { val testFileText = FileUtil.loadFile(File(filePath))
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt
override fun topLevelFunction(function: KFunction<*>, preIndex: DataSchemaBuilder.PreIndex): DataTopLevelFunction? = null private fun dependencyCollectorNameFromGetterName(getterName: String) = getterName.removePrefix("get").replaceFirstChar { it.lowercase(Locale.getDefault()) } private fun buildDataMemberFunction(kClass: KClass<*>, name: String, dependencyParam: DataParameter) = DefaultDataMemberFunction(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:07 UTC 2024 - 8.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
* instances; this makes it clear which is which. */ @JvmField internal val okHttpName: String = OkHttpClient::class.java.name.removePrefix("okhttp3.").removeSuffix("Client") @Suppress("NOTHING_TO_INLINE") internal inline fun ReentrantLock.assertHeld() { if (assertionsEnabled && !this.isHeldByCurrentThread) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/main/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,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
okhttp-android/src/main/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
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Mar 21 11:22:00 UTC 2022 - 127.9K bytes - Viewed (0)