- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for reliable (0.16 sec)
-
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} finally { interruptenator.shutdown(); Thread.interrupted(); } } /** * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of * this test. (And if it isn't, we'd like to know about it first!) */ public void testAwaitFullGc() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} finally { interruptenator.shutdown(); Thread.interrupted(); } } /** * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of * this test. (And if it isn't, we'd like to know about it first!) */ public void testAwaitFullGc() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings * are inherently approximate, routinely affected by periodic clock corrections. Because this class * (by default) uses {@link System#nanoTime}, it is unaffected by these changes.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 9.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* the return type. For this case, we provide a more expensive workaround in {@code * JdkFutureAdapters}. However, when possible, it is more efficient and reliable to create a {@code * ListenableFuture} directly. * * @author Sven Mawson * @author Nishant Thakkar * @since 1.0 */ /* * Some of the annotations below were added after we released our separate
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:13:41 GMT 2023 - 8K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* the return type. For this case, we provide a more expensive workaround in {@code * JdkFutureAdapters}. However, when possible, it is more efficient and reliable to create a {@code * ListenableFuture} directly. * * @author Sven Mawson * @author Nishant Thakkar * @since 1.0 */ /* * Some of the annotations below were added after we released our separate
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:13:41 GMT 2023 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings * are inherently approximate, routinely affected by periodic clock corrections. Because this class * (by default) uses {@link System#nanoTime}, it is unaffected by these changes.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Nov 15 21:38:09 GMT 2022 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* simply switch over to use the JDK implementation wholesale if probable hash flooding is * detected, sacrificing the compactness guarantee in very rare cases in exchange for much * more reliable worst-case behavior. * <li>null, if no entries have yet been added to the map * </ul> */ @CheckForNull private transient Object table; /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* simply switch over to use the JDK implementation wholesale if probable hash flooding is * detected, sacrificing the compactness guarantee in very rare cases in exchange for much * more reliable worst-case behavior. * <li>null, if no entries have yet been added to the map * </ul> */ @CheckForNull private transient Object table; /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 35.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
throws IOException { Readable readable = asReader ? getChunkedReader(input, chunk) : getChunkedReadable(input, chunk); LineReader r = new LineReader(readable); List<String> lines = Lists.newArrayList(); String line; while ((line = r.readLine()) != null) { lines.add(line); } return lines; } // Returns a Readable that is *not* a Reader.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LinearTransformationTest.java
assertThat(transformation.isHorizontal()).isFalse(); assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope); // Note that we cannot test the actual mapping of points, as the results will be unreliable due // to loss of precision with this value of the slope. } public void testMappingWithSlope_maximalSlope() { double x1 = 1.2; double y1 = 3.4; double slope = Double.MAX_VALUE;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.1K bytes - Viewed (0)