- Sort Score
- Result 10 results
- Languages All
Results 2091 - 2100 of 3,662 for Void (0.02 sec)
-
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
@Override public LoadingCache<Key, String> apply(CacheBuilder<Object, Object> builder) { return builder.build(KEY_TO_STRING_LOADER); } }); } public void testContainsKeyAndValue() { for (LoadingCache<Key, String> cache : caches()) { // maintain strong refs so these won't be collected, regardless of cache's key/value strength Key key = new Key(1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 5.1K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
public Crawler(OkHttpClient client, int queueLimit, int hostLimit) { this.client = client; this.queue = new LinkedBlockingQueue<>(queueLimit); this.hostLimit = hostLimit; } private void parallelDrainQueue(int threadCount) { ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int i = 0; i < threadCount; i++) { executor.execute(() -> { try { drainQueue();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
*/ @Test @DisplayName("NbtException constructor should correctly set error class, error code, and message") void testConstructor() { int errorClass = NbtException.ERR_NAM_SRVC; int errorCode = NbtException.FMT_ERR; NbtException exception = new NbtException(errorClass, errorCode);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
} @Override public synchronized void insert(final StopwordsItem item) { try (StopwordsUpdater updater = new StopwordsUpdater(item)) { reload(updater); } } @Override public synchronized void update(final StopwordsItem item) { try (StopwordsUpdater updater = new StopwordsUpdater(item)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
* @param timeout the timeout in milliseconds */ public void setTimeout(final long timeout) { this.timeout = timeout; } /** * Sets whether the extraction thread should be a daemon thread. * @param isDaemonThread true to make it a daemon thread, false otherwise. */ public void setDaemonThread(final boolean isDaemonThread) { this.isDaemonThread = isDaemonThread;
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java
*/ package org.codelibs.fess.dict.kuromoji; import org.codelibs.fess.unit.UnitFessTestCase; public class KuromojiItemTest extends UnitFessTestCase { public void test_new1() { final KuromojiItem kuromojiItem = new KuromojiItem(1, "t1", "s1", "r1", "p1"); assertEquals(1, kuromojiItem.getId()); assertEquals("t1", kuromojiItem.getToken());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
interface RuntimeWrapper { void exit(int status); } @VisibleForTesting static final class Exiter implements UncaughtExceptionHandler { private static final LazyLogger logger = new LazyLogger(Exiter.class); private final RuntimeWrapper runtime; Exiter(RuntimeWrapper runtime) { this.runtime = runtime; } @Override public void uncaughtException(Thread t, Throwable e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
@MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutDuplicateValuePreservesSize() { assertFalse(multimap().put(k0(), v0())); assertEquals(getNumElements(), multimap().size()); } @MapFeature.Require(SUPPORTS_PUT) public void testPutDuplicateValue() { List<Entry<K, V>> entries = copyToList(multimap().entries());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRemove_empty() { assertThrows(NoSuchElementException.class, () -> getQueue().remove()); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testRemove_size1() { assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java
*/ public void setRuleId(final String ruleId) { this.ruleId = ruleId; } @Override public ResponseProcessor getResponseProcessor() { return responseProcessor; } /** * Sets the response processor for this rule. * * @param responseProcessor the response processor to set */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 2.8K bytes - Viewed (0)