- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 368 for poll (0.01 sec)
-
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
Object nextLabel; synchronized (PerListenerQueue.this) { Preconditions.checkState(isThreadScheduled); nextToRun = waitQueue.poll(); nextLabel = labelQueue.poll(); if (nextToRun == null) { isThreadScheduled = false; stillRunning = false; break; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
@CanIgnoreReturnValue @Override public @Nullable E poll() { Monitor monitor = this.monitor; if (monitor.enterIf(notEmpty)) { try { return extract(); } finally { monitor.leave(); } } else { return null; } } @CanIgnoreReturnValue @Override public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java
public boolean offer(T o) { return standardOffer(o); } @Override public @Nullable T peek() { return standardPeek(); } @Override public @Nullable T poll() { return standardPoll(); } } @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
} private fun drainCancelQueue(eventSource: EventSource) { if (cancel) { cancel = false eventSource.cancel() } } private fun nextEvent(): Any = events.poll(10, TimeUnit.SECONDS) ?: throw AssertionError("Timed out waiting for event.") fun assertExhausted() { assertThat(events).isEmpty() } fun assertEvent( id: String?, type: String?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:32:52 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
* @throws IllegalStateException if buffer size exceeds maximum allowed */ static public byte[] getBuffer() { // Try to get from cache first - O(1) operation byte[] buf = bufferQueue.poll(); if (buf != null) { queueSize.decrementAndGet(); return buf; } // Validate buffer size to prevent overflow
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
UrlQueue urlQueue; while ((urlQueue = urlQueueService.poll(sessionId1)) != null) { assertTrue(urlQueue.getUrl().startsWith(url1)); } while ((urlQueue = urlQueueService.poll(sessionId2)) != null) { assertTrue(urlQueue.getUrl().startsWith(url2)); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
return path.replaceAll("\\\\+", "/"); } // Object pooling methods for performance optimization private AuditEntry getAuditEntry() { AuditEntry entry = auditEntryPool.poll(); if (entry == null) { entry = new AuditEntry(); } else { // Reset the entry entry.context = null; entry.message = null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0)