- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 203 for trim (0.01 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java
String k = null; for (String line : Files.readAllLines(Paths.get("src/test/resources/dag.txt"))) { if (line.startsWith("\t")) { data.add(new String[] {k, line.trim()}); } else { k = line; } } Collections.shuffle(data); Graph g = new Graph(); data.parallelStream().forEach(s -> { try {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2K bytes - Click Count (0) -
cmd/metacache-walk.go
sb.Reset() bytebufferpool.Put(sb) }() forward := "" if len(opts.ForwardTo) > 0 && strings.HasPrefix(opts.ForwardTo, current) { forward = strings.TrimPrefix(opts.ForwardTo, current) // Trim further directories and trailing slash. if idx := strings.IndexByte(forward, '/'); idx > 0 { forward = forward[:idx] } } if s.walkMu != nil { s.walkMu.Lock() }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 26 07:06:43 GMT 2025 - 12.6K bytes - Click Count (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
fun historicOkHttp(version: String): Client { val enabled = FileSystem.RESOURCES.read("okhttp_$version.txt".toPath()) { this.readUtf8().lines().filter { it.isNotBlank() }.map { SuiteId(id = null, name = it.trim()) } } return Client( userAgent = "OkHttp", version = version, enabled = enabled, ) } fun currentVm(ianaSuites: IanaSuites): Client = systemDefault(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
mergeBlock(tr, project) } } def mergeBlock(Element tr, gradlebuild.docs.dsl.docbook.model.ClassDoc project) { String blockName = tr.td[0].text().trim() gradlebuild.docs.dsl.docbook.model.BlockDoc blockDoc = project.getBlock(blockName) tr.children = { td { link(linkend: blockDoc.id) { literal("$blockName { }")} }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginMavenPrerequisiteChecker.java
String requiredMavenVersion = pluginDescriptor.getRequiredMavenVersion(); boolean isBlankVersion = requiredMavenVersion == null || requiredMavenVersion.trim().isEmpty(); if (!isBlankVersion) { boolean isRequirementMet = false; try { isRequirementMet = runtimeInformation.isMavenVersion(requiredMavenVersion);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt
} } var pos = 0 while (pos < value.length) { val tokenStart = pos pos = value.indexOfElement("=,;", pos) val directive = value.substring(tokenStart, pos).trim() val parameter: String? if (pos == value.length || value[pos] == ',' || value[pos] == ';') { pos++ // Consume ',' or ';' (if necessary). parameter = null } else {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 10.9K bytes - Click Count (0) -
internal/config/dns/dns_path.go
return strings.Join(labels[:ll-1], ".") + "." } return dns.Fqdn(strings.Join(labels, ".")) } // msgUnPath converts a etcd path to domainName. func msgUnPath(s string) string { ks := strings.Split(strings.Trim(s, etcdPathSeparator), etcdPathSeparator) for i, j := 0, len(ks)-1; i < j; i, j = i+1, j-1 { ks[i], ks[j] = ks[j], ks[i] } return strings.Join(ks, ".")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 28 17:31:12 GMT 2025 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java
} } private final Function<String, LifecycleMojo> fromGoalIntoLifecycleMojo = s -> { LifecycleMojo lifecycleMojo = new LifecycleMojo(); lifecycleMojo.setGoal(s.trim()); return lifecycleMojo; }; @Override public String toString() { return Optional.ofNullable(getMojos()).orElse(Collections.emptyList()).stream()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0)