- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for million (0.21 sec)
-
android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
private static final Integer I1 = -1; private static final Integer I2 = 3; private static final String S0 = "3"; private static final String S1 = "Ninety five"; private static final String S2 = "44 one million"; private static final String S3 = "Lowly laundry lefties"; private static final String S4 = "89273487U#*&#"; private static final Double D0 = 9.234d; private static final Double D1 = -1.2e55; @Benchmark
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
private static final Integer I1 = -1; private static final Integer I2 = 3; private static final String S0 = "3"; private static final String S1 = "Ninety five"; private static final String S2 = "44 one million"; private static final String S3 = "Lowly laundry lefties"; private static final String S4 = "89273487U#*&#"; private static final Double D0 = 9.234d; private static final Double D1 = -1.2e55; @Benchmark
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
MIN(Long.MIN_VALUE, "-oo"), MINUS_SMALL(-SMALL_TIMEOUT_MILLIS, "-" + SMALL_TIMEOUT_MILLIS + "ms"), ZERO(0L, "0ms"), SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"), LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"), MAX(Long.MAX_VALUE, "+oo"); final long millis; final String label; Timeout(long millis, String label) { this.millis = millis;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 17 14:48:57 GMT 2023 - 26.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
} private static class SleepingRunnable implements Runnable { final int millis; volatile boolean completed; public SleepingRunnable(int millis) { this.millis = millis; } @Override public void run() { try { Thread.sleep(millis); } catch (InterruptedException wontHappen) { throw new AssertionError(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} } private static void assertNotInterrupted() { assertFalse(Thread.interrupted()); } private static void requestInterruptIn(long millis) { InterruptionUtil.requestInterruptIn(millis, MILLISECONDS); } @CanIgnoreReturnValue private static Thread acquireFor(final Lock lock, final long duration, final TimeUnit unit) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 31.7K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
* transformation in which case {@code x} has a constant value for all {@code y}. In the * non-vertical case, {@code m} is the slope of the transformation (and a horizontal transformation * has zero slope). * * @author Pete Gillin * @since 20.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public abstract class LinearTransformation { /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 9.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTesting.java
BigInteger.valueOf(Long.MAX_VALUE) .multiply(BigInteger.valueOf(Long.MAX_VALUE)) .divide(BigInteger.valueOf(16L)) .doubleValue(); /** * Returns a stream of a million primitive doubles. The stream is parallel, which should cause * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the * supplier and accumulator. */
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 23.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
import java.util.List; /** * Inputs, expected outputs, and helper methods for tests of {@link StatsAccumulator}, {@link * Stats}, {@link PairedStatsAccumulator}, and {@link PairedStats}. * * @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:
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} } private static void assertNotInterrupted() { assertFalse(Thread.interrupted()); } private static void requestInterruptIn(long millis) { InterruptionUtil.requestInterruptIn(millis, MILLISECONDS); } @CanIgnoreReturnValue private static Thread acquireFor(final Lock lock, final long duration, final TimeUnit unit) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 30.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* * <p>Basic usage: * * <pre>{@code * Stopwatch stopwatch = Stopwatch.createStarted(); * doSomething(); * stopwatch.stop(); // optional * * long millis = stopwatch.elapsed(MILLISECONDS); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * }</pre> * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Nov 15 21:38:09 GMT 2022 - 8.5K bytes - Viewed (0)