- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 204 for Revert (0.03 sec)
-
guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
} /** * Enqueues an event to be run on currently known listeners. * * <p>The {@code toString} method of the Event itself will be used to describe the event in the * case of an error. * * @param event the callback to execute on {@link #dispatch} */ public void enqueue(Event<L> event) { enqueueHelper(event, event); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/Event.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.sse.internal internal data class Event( val id: String?, val type: String?, val data: String,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 720 bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
} /** * Enqueues an event to be run on currently known listeners. * * <p>The {@code toString} method of the Event itself will be used to describe the event in the * case of an error. * * @param event the callback to execute on {@link #dispatch} */ public void enqueue(Event<L> event) { enqueueHelper(event, event); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
docs/contribute/concurrency.md
So we have a dedicated thread for every socket that just reads frames and dispatches them. The reader thread must never run application-layer code. Otherwise one slow stream can hold up the entire connection.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt
*/ package okhttp3 /** * A special [EventListener] for testing the mechanics of event listeners. * * Each instance processes a single event on [call], and then adds a successor [EventListenerRelay] * on the same [call] to process the next event. * * By forcing the list of listeners to change after every event, we can detect if buggy code caches * a stale [EventListener] in a field or local variable. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java
// We post the event, but our Executor will not deliver it until instructed. bus.post(EVENT); List<String> events = catcher.getEvents(); assertTrue("No events should be delivered synchronously.", events.isEmpty()); // Now we find the task in our Executor and explicitly activate it. List<Runnable> tasks = executor.getTasks(); assertEquals("One event dispatch task should be queued.", 1, tasks.size());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
} private ListenerCallQueue.Event<Object> incrementingEvent( Multiset<Object> counters, Object expectedListener, int expectedCount) { return incrementingEvent(counters, multiset(expectedListener, expectedCount)); } private ListenerCallQueue.Event<Object> incrementingEvent( Multiset<Object> counters, Multiset<Object> expected) { return new ListenerCallQueue.Event<Object>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
} private ListenerCallQueue.Event<Object> incrementingEvent( Multiset<Object> counters, Object expectedListener, int expectedCount) { return incrementingEvent(counters, multiset(expectedListener, expectedCount)); } private ListenerCallQueue.Event<Object> incrementingEvent( Multiset<Object> counters, Multiset<Object> expected) { return new ListenerCallQueue.Event<Object>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
// Log after all static init is finished; if an installed logger uses any Futures methods, it // shouldn't break in cases where reflection is missing/broken. if (thrownReflectionFailure != null) { log.get().log(Level.SEVERE, "SafeAtomicHelper is broken!", thrownReflectionFailure); } } AggregateFutureState(int remainingFutures) { this.remainingField = remainingFutures; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
*/ public class SmbFileFilterTest { /** * A minimal implementation that accepts every {@link SmbFile}. */ private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException { // Never inspect the file – simply accept. return true; } }; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)