- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for isAndroid (0.24 sec)
-
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();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (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();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
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();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/TestPlatform.java
import com.google.common.annotations.GwtCompatible; /** @author Chris Povirk */ @GwtCompatible(emulated = true) class TestPlatform { static boolean intsCanGoOutOfRange() { return false; } static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 10 16:00:00 GMT 2023 - 946 bytes - Viewed (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();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/TestPlatform.java
import com.google.common.annotations.GwtCompatible; /** @author Chris Povirk */ @GwtCompatible(emulated = true) class TestPlatform { static boolean intsCanGoOutOfRange() { return false; } static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed May 10 16:00:00 GMT 2023 - 946 bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/math/super/com/google/common/math/TestPlatform.java
import com.google.common.annotations.GwtCompatible; /** @author Chris Povirk */ @GwtCompatible(emulated = true) class TestPlatform { static boolean intsCanGoOutOfRange() { return true; } static boolean isAndroid() { return false; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 10 21:11:58 GMT 2018 - 887 bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
public void testDivNonZeroExact() { String runtimeName = System.getProperty("java.runtime.name"); boolean isAndroid = runtimeName != null && runtimeName.contains("Android"); for (BigInteger p : NONZERO_BIGINTEGER_CANDIDATES) { for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) { if (isAndroid && p.equals(BAD_FOR_ANDROID_P) && q.equals(BAD_FOR_ANDROID_Q)) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
public void testDivNonZeroExact() { String runtimeName = System.getProperty("java.runtime.name"); boolean isAndroid = runtimeName != null && runtimeName.contains("Android"); for (BigInteger p : NONZERO_BIGINTEGER_CANDIDATES) { for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) { if (isAndroid && p.equals(BAD_FOR_ANDROID_P) && q.equals(BAD_FOR_ANDROID_Q)) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
* not possible to protect against this if the file system doesn't. */ public void testDirectoryDeletion_directorySymlinkRace() throws IOException { int iterations = isAndroid() ? 100 : 5000; for (DirectoryDeleteMethod method : EnumSet.allOf(DirectoryDeleteMethod.class)) { try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) { Path dirToDelete = fs.getPath("dir/b/i");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0)