- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for isWindow (0.06 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
case FAMILY_WINDOWS -> isWindows; case FAMILY_WIN9X -> isWindows && is9x; case FAMILY_NT -> isWindows && isNT; case FAMILY_OS2 -> actualOsName.contains(FAMILY_OS2); case FAMILY_NETWARE -> actualOsName.contains(FAMILY_NETWARE); case FAMILY_DOS -> File.pathSeparatorChar == ';' && !isFamily(FAMILY_NETWARE, actualOsName) && !isWindows;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-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
file = out.getFile(); assertEquals(dataSize, file.length()); assertTrue(file.exists()); assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class) .readAttributes();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
} finally { notJar.delete(); } } public void testGetClassPathEntry() throws MalformedURLException, URISyntaxException { if (isWindows()) { return; // TODO: b/136041958 - We need to account for drive letters in the path. } assertEquals( new File("/usr/test/dep.jar").toURI(),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 23.1K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
CODEQL_ENVIRONMENT_VARIABLES.any { it in System.getenv() } } val jvm = org.gradle.internal.jvm.Jvm.current() val javaVersion = JavaVersion.current() val isWindows = OperatingSystem.current().isWindows val isLinux = OperatingSystem.current().isLinux val isMacOsX = OperatingSystem.current().isMacOsX val isIntel: Boolean = architecture == "x86_64" || architecture == "x86"Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.9K bytes - Click Count (1) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
} finally { jarFile.delete(); } } @AndroidIncompatible // Path (for symlink creation) public void testScanDirectory_symlinkCycle() throws IOException { if (isWindows()) { return; // TODO: b/136041958 - Can we detect cycles under Windows? } ClassLoader loader = ClassPathTest.class.getClassLoader(); // directory with a cycle, // /root // /leftCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
assertThat(temp.listFiles()).isEmpty(); File child = new File(temp, "child"); assertThat(child.createNewFile()).isTrue(); assertThat(child.delete()).isTrue(); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class) .readAttributes(); assertThat(attributes.permissions())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 19:16:54 GMT 2025 - 4.1K bytes - Click Count (0) -
build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt
val execOutput = providers.exec { workingDir = projectDir isIgnoreExitValue = true commandLine = listOf("git", *args) if (OperatingSystem.current().isWindows) { commandLine = listOf("cmd.exe", "/d", "/c") + commandLine } } return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// Make file unreadable on Unix-like systems boolean isWindows = System.getProperty("os.name").toLowerCase().contains("windows"); if (!isWindows) { assertTrue(lmhostsFile.setReadable(false)); } when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); if (!isWindows) { // Should handle IOException gracefully and return nullCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
@Override protected void doStop() { notifyFailed(new IllegalStateException("stop failure")); } } public void testServiceStartupTimes() { if (isWindows() && isJava8()) { // Flaky there: https://github.com/google/guava/pull/6731#issuecomment-1736298607 return; } Service a = new NoOpDelayedService(150); Service b = new NoOpDelayedService(353);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0)