- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 353 for sleeps (0.03 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code * fromElement}. However, this method doesn't throw an exception in that situation, but instead * keeps the original {@code fromElement}. Similarly, this method keeps the original {@code * toElement}, instead of throwing an exception, if passed a {@code toElement} greater than an * earlier {@code toElement}. */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
filtered.put("chicken", 7); assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered); assertThrows( IllegalArgumentException.class, () -> filtered.putAll(ImmutableMap.of("sheep", 5, "cow", 7))); assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered); } public void testFilteredEntriesObjectPredicate() { Map<String, Integer> unfiltered = createUnfiltered();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
NullPointerException.class, () -> multimap().putAll(k3(), newArrayList(null, v3()))); /* * In principle, a Multimap implementation could add e3 first before failing on the null. But * that seems unlikely enough to be worth complicating the test over, especially if there's any * chance that a permissive test could mask a bug. */ expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
MockReference(FinalizableReferenceQueue frq) { super(new Object(), frq); } @Override public void finalizeReferent() { finalizeReferentCalled = true; } } /** * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we * know that the background thread has stopped and released its strong reference. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
MockReference(FinalizableReferenceQueue frq) { super(new Object(), frq); } @Override public void finalizeReferent() { finalizeReferentCalled = true; } } /** * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we * know that the background thread has stopped and released its strong reference. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * <h3>Derived steps</h3> * * A {@code ClosingFuture} step can be derived from one or more input {@code ClosingFuture} steps in * ways similar to {@link FluentFuture}s: * * <ul> * <li>by transforming the value from a successful input step, * <li>by catching the exception from a failed input step, or * <li>by combining the results of several input steps. * </ul> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
/* * I assume that this check can't fail because JELLY_BEAN will be present only if we're * running under Jelly Bean or higher. But it seems safest to check. */ if (version < jellyBean) { return new ThrowingCreator(); } // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
setValueToObject(ComponentUtil.getLabelTypeHelper(), "labelTypePatternList", new ArrayList<LabelTypePattern>()); System.gc(); Thread.sleep(1000L); long current = MemoryUtil.getUsedMemory(); for (int i = 0; i < 10000; i++) { if (i % 1000 == 0) { logger.info("count:" + i + ", " + MemoryUtil.getMemoryUsageLog());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 41.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
} @Test @DisplayName("Should handle empty extensions safely") void testEmptyExtensions() throws IOException { // Empty extension seems to match first entry in mime.map String result = mimeMap.getMimeType(""); assertNotNull(result); // With custom default, empty still returns the first match
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// First read NbtAddress result = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result); // Modify file with a delay to ensure different lastModified time Thread.sleep(100); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168.1.200 NEWHOST\n"); } // Should reload file and find new host
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0)