- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 550 for spill (0.02 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
assertThrows(UncheckedTimeoutException.class, () -> proxy.sleepThenReturnInput("x")); assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); // Is it still computing away anyway? assertThat(target.finished).isFalse(); MILLISECONDS.sleep(ENOUGH_MS); assertThat(target.finished).isFalse(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] data = "Hello, World!".getBytes(); ContentCache cache = new ContentCache(data); // Memory-based cache close should not throw exception cache.close(); // Should still be able to get input stream after close for memory cache try (InputStream stream = cache.getInputStream()) { assertNotNull(stream); } } @Test
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java
// Test init method with null values AccessResultImpl<Long> result = new AccessResultImpl<>(); result.init(null, null); // CreateTime should still be set assertNotNull(result.getCreateTime()); // AccessResultData should be created assertNotNull(result.getAccessResultData()); } public void test_toString() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
DirectoryCacheEntry entry = directoryCache.get(directoryPath); // Check if cache entry is valid if (entry != null && entry.needsRefresh()) { // Check if lease is still valid LeaseManager.LeaseEntry leaseEntry = baseLeaseManager.getLease(entry.getLeaseKey()); if (leaseEntry == null || !leaseEntry.hasReadCache()) { // Lease lost, remove cache entry
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
// notifications for all of them. for (int i = 0; i < nSeededEntries; i++) { assertThat(removalNotifications.get("b" + i)).isEqualTo("b" + i); } // Each of the values added to the map should either still be there, or have seen a removal // notification. assertThat(Sets.union(cache.asMap().keySet(), removalNotifications.keySet())) .isEqualTo(expectedKeys);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
* timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is * important for other reasons: run() can still be invoked concurrently in different threads, * even with the above null checks.) */ timeoutFutureRef = null; if (delegate.isDone()) { timeoutFuture.setFuture(delegate);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
// For convenience, testing only with big endianness, to match DataOutputStream. // I regard highly unlikely that both the little endianness tests above and this one // passes, and there is still a little endianness bug lurking around. } } Control control = new Control(); Hasher controlSink = control.newHasher(1024); Iterable<Hasher> sinksAndControl =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
@CsvSource({ "0, 0, 1024", "1024, 2048, 4096", "9223372036854775807, 9223372036854775807, 2147483647", // Max long values "-1, -1, -1", // Negative values (should still create instance) "0, 9223372036854775807, 0" // Edge cases }) void testConstructorWithVariousValues(long sourceOffset, long targetOffset, int length) { // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
boolean secondInit = client.isInit.compareAndSet(false, true); assertFalse("Second initialization should not occur", secondInit); assertTrue("Client should still be initialized", client.isInit.get()); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:59:28 UTC 2025 - 11.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java
// Collect keys in iteration order List<String> keys = new ArrayList<>(); modelProps.keySet().forEach(k -> keys.add(k.toString())); // Verify order is preserved (first should still be first since it was modified, not re-added) assertEquals(3, keys.size()); assertEquals("first", keys.get(0)); assertEquals("second", keys.get(1));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 12 07:26:53 UTC 2025 - 10.5K bytes - Viewed (0)