- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 389 for separators (0.16 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java
} /** * Converts all line separators in the specified string to the platform's line separator. */ public static String toPlatformLineSeparators(String str) { logDeprecation(); return str == null ? null : replaceLineSeparatorsInternalOf(str, getPlatformLineSeparatorInternal()); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HierarchicalNameSerializer.java
private void writeFirstOccurrenceOfName(String name, Encoder encoder) throws IOException { int separator = SEPARATOR_MATCHER.lastIndexIn(name); if (separator > 0) { String parent = name.substring(0, separator); String child = name.substring(separator + 1); encoder.writeByte((byte) name.charAt(separator)); writeName(parent, encoder); writeName(child, encoder); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/VersionNumber.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java
} /** * Converts all line separators in the specified string to the specified line separator. */ @Nullable public static String convertLineSeparators(@Nullable String str, String sep) { return str == null ? null : replaceLineSeparatorsOf(str, sep); } /** * Converts all line separators in the specified non-null string to the Unix line separator {@code \n}. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 12.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/process/ArgWriter.java
this.quotablePattern = quotablePattern; } /** * Double quotes around args containing whitespace, backslash chars are escaped using double backslash, platform line separators. */ public static ArgWriter unixStyle(PrintWriter writer) { return new ArgWriter(writer, true, WHITESPACE); } public static InternalTransformer<ArgWriter, PrintWriter> unixStyleFactory() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:14:33 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/VersionNumber.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 8.9K bytes - Viewed (0) -
src/path/filepath/path.go
} slices.Sort(names) return names, nil } // Base returns the last element of path. // Trailing path separators are removed before extracting the last element. // If the path is empty, Base returns ".". // If the path consists entirely of separators, Base returns a single separator. func Base(path string) string { return filepathlite.Base(path) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/utils_test.go
}, // Test case 5 object has many trailing separators. { path: "/bucket/object/1///", bucket: "bucket", object: "object/1///", }, // Test case 6 object has only trailing separators. { path: "/bucket/object///////", bucket: "bucket", object: "object///////", }, // Test case 7 object has preceding separators. { path: "/bucket////object////",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h
// it is called in CreateDirectoriesRecursively() assuming that it will change // a pathname from directory syntax (trailing separator) to filename syntax. // // On Windows this method also replaces the alternate path separator '/' with // the primary path separator '\\', so that for example "bar\\/\\foo" becomes // "bar\\foo". void Normalize();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.4K bytes - Viewed (0) -
src/io/fs/glob_test.go
} } } func TestCVE202230630(t *testing.T) { // Prior to CVE-2022-30630, a stack exhaustion would occur given a large // number of separators. There is now a limit of 10,000. _, err := Glob(os.DirFS("."), "/*"+strings.Repeat("/", 10001)) if err != path.ErrBadPattern { t.Fatalf("Glob returned err=%v, want %v", err, path.ErrBadPattern) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:36:52 UTC 2024 - 2.3K bytes - Viewed (0)