- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for Parts (0.02 seconds)
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/ReleasedVersionsHelper.kt
import org.gradle.util.GradleVersion import java.io.File fun bumpPatchVersion(version: String): String { val parts = version.split(".") require(parts.size == 3 && parts.all { it.toIntOrNull() != null }) { "Version '$version' is not a valid x.y.z version." } return "${parts[0]}.${parts[1]}.${parts[2].toInt() + 1}" }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
return specialCases.get(constantName); } List<String> parts = new ArrayList<>(); for (String part : Splitter.on('_').split(constantName)) { if (!uppercaseAcronyms.contains(part)) { part = part.charAt(0) + Ascii.toLowerCase(part.substring(1)); } parts.add(part); } return Joiner.on('-').join(parts); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:10:09 GMT 2026 - 4.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
private static void checkResult( Joiner joiner, Iterable<? extends @Nullable Integer> parts, String expected) { assertThat(joiner.join(parts)).isEqualTo(expected); assertThat(joiner.join(parts.iterator())).isEqualTo(expected); StringBuilder sb1FromIterable = new StringBuilder().append('x'); joiner.appendTo(sb1FromIterable, parts); assertThat(sb1FromIterable.toString()).isEqualTo("x" + expected);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 13.2K bytes - Click Count (0) -
src/cmd/asm/internal/asm/endtoend_test.go
// The general form of a test input line is: // // comment // INST args [// printed form] [// hex encoding] parts := strings.Split(line, "//") printed := strings.TrimSpace(parts[0]) if printed == "" || strings.HasSuffix(printed, ":") { // empty or label continue } seq++ var hexes string switch len(parts) { default: t.Errorf("%s:%d: unable to understand comments: %s", input, lineno, line) case 1:
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 12.6K bytes - Click Count (0) -
tests/helper_test.go
return false } base := strings.SplitN(strings.TrimSpace(version), "-", 2)[0] parts := strings.Split(base, ".") if len(parts) < 2 { return false } currentMajor, err := strconv.Atoi(parts[0]) if err != nil { return false } currentMinor, err := strconv.Atoi(parts[1]) if err != nil { return false } if currentMajor != major {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 8.6K bytes - Click Count (0) -
scripts/translate.py
"- If the original English content has added parts, also add these parts to the translation.", "- If the original English content has removed parts, also remove them from the translation, unless you were instructed earlier to not do that in specific cases.", "- If parts of the original English content have changed, also change those parts in the translation.",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt
if (!milestone.isPresent) { error("Milestone not set: please rerun the task with `--milestone <milestone>`") } val version = milestone.get() val parts = version.split(".") require(parts.size == 3 && parts[2].toIntOrNull()?.let { it != 0 } == true) { "Version '$version' is not a patch release. Expected format: x.y.z with z > 0." } val issues = getFixedIssues()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:49:33 GMT 2026 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
"1.2.3.4e0", "6:5:4:3:2:1:0", // too few parts "::7:6:5:4:3:2:1:0", // too many parts "7:6:5:4:3:2:1:0::", // too many parts "9:8:7:6:5:4:3::2:1", // too many parts "0:1:2:3::4:5:6:7", // :: must remove at least one 0. "3ffe:0:0:0:0:0:0:0:1", // too many parts (9 instead of 8) "3ffe::10000", // hextet exceeds 16 bits
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts
* classes and the classes they depend on. The classes are not relocated, they all * remain in their original namespace. This reduces the final Gradle distribution * size and makes us more conscious of which parts of a library we really need. * * WARNING: if you decide to do the minification by hand, make sure that you cover all paths of loading classes: * reflection, dynamic loading, etc. and understand how the library works internally.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 18:27:10 GMT 2026 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
private static File root() { return File.listRoots()[0]; } /** Returns a {@code File} object for the given path parts. */ private static File file(String first, String... more) { return file(new File(first), more); } /** Returns a {@code File} object for the given path parts. */ private static File file(File first, String... more) { // not very efficient, but should definitely be correct
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0)