- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for isFamily (0.06 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
OS_FAMILY = getOsFamily(); IS_WINDOWS = isFamily(FAMILY_WINDOWS); } private Os() {} /** * Determines if the OS on which Maven is executing matches the * given OS family. * * @param family the family to check for * @return true if the OS matches * */ public static boolean isFamily(String family) { return isFamily(family, OS_NAME);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 7.2K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/EclipseConventionPlugin.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 01 09:43:51 GMT 2021 - 6.4K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
// We need to choose which executable we are using. In shell mode, or when we // are spawning and thus using the wrapper script, the executable is the shell. if (useShell || spawn) { if (Os.isFamily(Os.FAMILY_WINDOWS)) { realExecutable = 'cmd' realArgs.add('/C') realArgs.add('"') // quote the entire command } else { realExecutable = 'sh'Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntFixtureStop.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java
assertTrue(instance.equals(new FileModelSource(tempFile))); } @Test void testWindowsPaths() throws Exception { assumeTrue(Os.isFamily("Windows")); File upperCaseFile = createTempFile("TESTE"); String absolutePath = upperCaseFile.getAbsolutePath(); File lowerCaseFile = new File(absolutePath.toLowerCase());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java
.reduce(FileTree::plus) .orElse(projectLayout.files().getAsFileTree()); } @TaskAction public void checkInvalidPermissions() throws IOException { if (Os.isFamily(Os.FAMILY_WINDOWS)) { throw new StopExecutionException(); } List<String> failures = getFiles().getFiles() .stream() .filter(FilePermissionsTask::isExecutableFile)
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
boolean reverse = false; if (test.startsWith("!")) { reverse = true; test = test.substring(1); } boolean result = Os.isFamily(test, actualName); return reverse ? !result : result; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
String test = family; boolean reverse = false; if (test.startsWith("!")) { reverse = true; test = test.substring(1); } boolean result = Os.isFamily(test); if (reverse) { return !result; } else { return result; } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcSetupExtension.java
loggedExec.environment("JAVA_HOME", getJavaHome(Integer.parseInt(minimumCompilerVersion))); } }); if (Os.isFamily(Os.FAMILY_WINDOWS)) { loggedExec.executable("cmd"); loggedExec.args("/C", "call", new File(checkoutDir.get(), "gradlew").toString()); } else {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Aug 18 09:11:28 GMT 2021 - 6.8K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
items = operands[:cap(operands)][len(operands)][:0] } else { items = make([]lex.Token, 0, 3) } for { tok = p.nextToken() if len(operands) == 0 && len(items) == 0 { if p.arch.InFamily(sys.ARM, sys.ARM64, sys.AMD64, sys.I386, sys.Loong64, sys.RISCV64) && tok == '.' { // Suffixes: ARM conditionals, Loong64 vector instructions, RISCV rounding mode or x86 modifiers. tok = p.nextToken()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 17 19:57:47 GMT 2026 - 37.3K bytes - Click Count (0)