- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for isAtLeast (0.33 sec)
-
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
ImmutableMap<Service, Long> startupTimes = serviceManager.startupTimes(); assertThat(startupTimes).hasSize(2); assertThat(startupTimes.get(a)).isAtLeast(150); assertThat(startupTimes.get(b)).isAtLeast(353); } public void testServiceStartupDurations() { if (isWindows() && isJava8()) { // Flaky there: https://github.com/google/guava/pull/6731#issuecomment-1736298607
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 02 17:20:27 GMT 2023 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
ImmutableMap<Service, Long> startupTimes = serviceManager.startupTimes(); assertThat(startupTimes).hasSize(2); assertThat(startupTimes.get(a)).isAtLeast(150); assertThat(startupTimes.get(b)).isAtLeast(353); } public void testServiceStartupTimes_selfStartingServices() { // This tests to ensure that: // 1. service times are accurate when the service is started by the manager
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 02 17:20:27 GMT 2023 - 23.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
Stopwatch timer = Stopwatch.createStarted(); int drained = drain(q, newArrayList(), 2, 10, MILLISECONDS, interruptibly); assertThat(drained).isAtMost(1); assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L); // If even the first one wasn't there, clean up so that the next test doesn't see an element. producerThread.cancel(true); producer.doneProducing.await(); if (drained == 0) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
Stopwatch timer = Stopwatch.createStarted(); int drained = drain(q, newArrayList(), 2, 10, MILLISECONDS, interruptibly); assertThat(drained).isAtMost(1); assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L); // If even the first one wasn't there, clean up so that the next test doesn't see an element. producerThread.cancel(true); producer.doneProducing.await(); if (drained == 0) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
* value. */ private static void assertApproximateElementCountGuess(BloomFilter<?> bf, int sizeGuess) { assertThat(bf.approximateElementCount()).isAtLeast((long) (sizeGuess * 0.99)); assertThat(bf.approximateElementCount()).isAtMost((long) (sizeGuess * 1.01)); } public void testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() { int numInsertions = 1000000;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
* value. */ private static void assertApproximateElementCountGuess(BloomFilter<?> bf, int sizeGuess) { assertThat(bf.approximateElementCount()).isAtLeast((long) (sizeGuess * 0.99)); assertThat(bf.approximateElementCount()).isAtMost((long) (sizeGuess * 1.01)); } public void testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() { int numInsertions = 1000000;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
int coercedInt = InetAddresses.coerceToInteger( InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2001:4860::1"))); assertThat(coercedInt).isAtLeast(0xe0000000); assertThat(coercedInt).isAtMost(0xfffffffe); } public void testCoerceToInteger() { assertThat(InetAddresses.coerceToInteger(InetAddresses.forString("127.0.0.1")))
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InetAddressesTest.java
int coercedInt = InetAddresses.coerceToInteger( InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2001:4860::1"))); assertThat(coercedInt).isAtLeast(0xe0000000); assertThat(coercedInt).isAtMost(0xfffffffe); } public void testCoerceToInteger() { assertThat(InetAddresses.coerceToInteger(InetAddresses.forString("127.0.0.1")))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
@GwtIncompatible // different overflow behavior; could probably be made to work by using ~~ public void testConcat_overflow_nonNegative() { int dim1 = 1 << 16; int dim2 = 1 << 16; assertThat(dim1 * dim2).isAtLeast(0); testConcat_overflow(dim1, dim2); } private static void testConcat_overflow(int arraysDim1, int arraysDim2) { assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongsTest.java
@GwtIncompatible // different overflow behavior; could probably be made to work by using ~~ public void testConcat_overflow_nonNegative() { int dim1 = 1 << 16; int dim2 = 1 << 16; assertThat(dim1 * dim2).isAtLeast(0); testConcat_overflow(dim1, dim2); } private static void testConcat_overflow(int arraysDim1, int arraysDim2) { assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30K bytes - Viewed (0)