- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for isAndroid (0.16 sec)
-
android/guava-tests/test/com/google/common/math/StatsTesting.java
* * @author Pete Gillin */ class StatsTesting { // TODO(cpovirk): Convince myself that this larger error makes sense. static final double ALLOWED_ERROR = isAndroid() ? .25 : 1e-10; // Inputs and their statistics: static final double ONE_VALUE = 12.34; static final double OTHER_ONE_VALUE = -56.78;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
} assertTrue(builder.build() instanceof SparseImmutableTable); } @J2ktIncompatible @GwtIncompatible // NullPointerTester @Override public void testNullPointerInstance() { if (isAndroid()) { /* * NPT fails under the old versions of Android we test under because it performs reflection on * ImmutableTable, which declares static methods that refer to Collector, which is unavailable
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 20K 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-tests/test/com/google/common/math/LongMathTest.java
} } } } } @AndroidIncompatible // slow public void testCheckedMultiply() { boolean isAndroid = TestPlatform.isAndroid(); for (long a : ALL_LONG_CANDIDATES) { for (long b : ALL_LONG_CANDIDATES) { if (isAndroid && a == -4294967296L && b == 2147483648L) { /* * Bug in older versions of Android we test against, since fixed: -9223372036854775808L /
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java
} assertTrue(builder.build() instanceof SparseImmutableTable); } @J2ktIncompatible @GwtIncompatible // NullPointerTester @Override public void testNullPointerInstance() { if (isAndroid()) { /* * NPT fails under the old versions of Android we test under because it performs reflection on * ImmutableTable, which declares static methods that refer to Collector, which is unavailable
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 19.6K bytes - Viewed (0)