- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for isAtLeast (0.04 sec)
-
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(stats.missRate()).isEqualTo(1.0); assertThat(stats.loadCount()).isEqualTo(1); long totalLoadTime = stats.totalLoadTime(); assertThat(totalLoadTime).isAtLeast(0); assertThat(stats.averageLoadPenalty()).isAtLeast(0.0); assertThat(stats.evictionCount()).isEqualTo(0); cache.getUnchecked(one); stats = cache.stats(); assertThat(stats.requestCount()).isEqualTo(2);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) { BigInteger result = BigIntegerMath.ceilingPowerOfTwo(x); assertTrue(BigIntegerMath.isPowerOfTwo(result)); assertThat(result).isAtLeast(x); assertThat(result).isLessThan(x.add(x)); } } public void testFloorPowerOfTwo() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Nov 19 01:35:24 UTC 2025 - 27.1K 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 testServiceStartupDurations() { if (isWindows() && isJava8()) { // Flaky there: https://github.com/google/guava/pull/6731#issuecomment-1736298607
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
} public void testSizes() { // not bothering testing all variations, since we know they share implementations assertThat(Striped.lock(100).size()).isAtLeast(100); assertTrue(Striped.lock(256).size() == 256); assertThat(Striped.lazyWeakLock(100).size()).isAtLeast(100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
} public void testSizes() { // not bothering testing all variations, since we know they share implementations assertThat(Striped.lock(100).size()).isAtLeast(100); assertTrue(Striped.lock(256).size() == 256); assertThat(Striped.lazyWeakLock(100).size()).isAtLeast(100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
int drained = drain(q, new ArrayList<>(), 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) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertThat(BloomFilter.optimalNumOfBits(n, fpp)).isAtLeast(0); } } // some random values Random random = new Random(0); for (int repeats = 0; repeats < 10000; repeats++) { assertThat(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble())) .isAtLeast(0); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
} @Override protected void process(ByteBuffer bb) { processCalled++; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); assertThat(bb.remaining()).isAtLeast(chunkSize); for (int i = 0; i < chunkSize; i++) { out.write(bb.get()); } } @Override protected void processRemaining(ByteBuffer bb) { assertFalse(remainingCalled);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
for (ReferenceEntry<K, V> e : segment.recencyQueue) { long accessTime = e.getAccessTime(); assertThat(accessTime).isAtLeast(lastAccessTime); lastAccessTime = accessTime; long writeTime = e.getWriteTime(); assertThat(writeTime).isAtLeast(lastWriteTime); lastWriteTime = writeTime; } lastAccessTime = 0; lastWriteTime = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
for (ReferenceEntry<K, V> e : segment.recencyQueue) { long accessTime = e.getAccessTime(); assertThat(accessTime).isAtLeast(lastAccessTime); lastAccessTime = accessTime; long writeTime = e.getWriteTime(); assertThat(writeTime).isAtLeast(lastWriteTime); lastWriteTime = writeTime; } lastAccessTime = 0; lastWriteTime = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0)