- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 330 for separators (0.15 sec)
-
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) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FilePathUtil.java
import java.util.StringTokenizer; public class FilePathUtil { private static final String[] EMPTY_STRING_ARRAY = {}; // On Windows, / and \ are separators, on Unix only / is a separator. private static final String FILE_PATH_SEPARATORS = File.separatorChar != '/' ? ("/" + File.separator) : File.separator; private FilePathUtil() { } public static String[] getPathSegments(String path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy
"hey joe" | "hey joe" } def "versions that differ only in separators are equal"() { expect: compare("1.0", "1_0") == 0 compare("1_0", "1-0") == 0 compare("1-0", "1+0") == 0 compare("1.a.2", "1a2") == 0 // number-word and word-number boundaries are considered separators } def "leading zeros in numeric parts are ignored"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/documentation/docs-asciidoctor-extensions-base/src/main/java/org/gradle/docs/asciidoctor/IdGenerator.java
result = ID_PATTERN.matcher(result).replaceAll(""); // normalize separators result = SEPARATOR_PATTERN.matcher(result).replaceAll(PART_SEPARATOR); // strip separator from the end if (result.endsWith(PART_SEPARATOR)) { result = result.substring(0, result.length() - 1); } // string separator from the start if (result.startsWith(PART_SEPARATOR)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2K 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/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/precompile/PrecompiledScriptDependenciesResolver.kt
fun hashOfNormalisedString(charSequence: CharSequence) = Hashing.hashString(charSequence).toString() /** * **Optimisation note**: assumes [scriptText] contains only `\n` line separators as any script text * coming from the Kotlin compiler already should. */ fun implicitImportsForScript(scriptText: CharSequence, environment: Environment?) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.2K 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) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/StaticVersionComparator.java
import java.util.Locale; import java.util.Map; /** * Allows for comparison of Version instances. * Note that this comparator only considers the 'parts' of a version, and does not consider the part 'separators'. * This means that it considers `1.1.1 == 1-1-1 == 1.1-1`, and should not be used in cases where this is important. * One example where this comparator is inappropriate is if versions should be retained in a TreeMap/TreeSet. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.8K bytes - Viewed (0)