- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 133 for separators (0.3 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/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) -
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) -
platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportFixture.groovy
String numberOfClasses = td.text() .replaceAll(NON_BREAKING_WHITESPACE, '') // remove non-breaking whitespace .replaceAll('[^0-9]', '') // remove digit separators return Integer.parseInt(numberOfClasses) } String sourceCode(String pkg, String file) { return htmlDir.file("${pkg}/${file}.html").getText('UTF-8') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:19:29 UTC 2024 - 2.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/SequentialOutputMatcher.groovy
} // Normalise default object toString() values actual = actual.replaceAll('(\\w+(\\.\\w+)*)@\\p{XDigit}+', '$1@12345') // Normalise file separators actual = TextUtil.normaliseFileSeparators(actual) return actual == expected }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
src/os/path_windows.go
"internal/syscall/windows" "syscall" ) const ( PathSeparator = '\\' // OS-specific path separator PathListSeparator = ';' // OS-specific path list separator ) // IsPathSeparator reports whether c is a directory separator character. func IsPathSeparator(c uint8) bool { // NOTE: Windows accepts / as path separator. return c == '\\' || c == '/' } func dirname(path string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 4.7K bytes - Viewed (0)