- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 42 for listenErrs (0.1 seconds)
-
internal/http/listener_test.go
listener, listenErrs := newHTTPListener(t.Context(), testCase.serverAddrs, TCPOptions{}, ) for i, expectedListenErr := range testCase.expectedListenErrs { if !expectedListenErr { if listenErrs[i] != nil { t.Fatalf("Test %d:, listenErrs[%d] error: expected = <nil>, got = %v", testIdx+1, i, listenErrs[i]) } } else if listenErrs[i] == nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* suggested that listeners are added before the service starts. * * <p>{@code addListener} guarantees execution ordering across calls to a given listener but not * across calls to multiple listeners. Specifically, a given listener will have its callbacks * invoked in the same order as the underlying service enters those states. Additionally, at mostCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* across calls to multiple listeners. Specifically, a given listener will have its callbacks * invoked in the same order as the underlying service enters those states. Additionally, at most * one of the listener's callbacks will execute at once. However, multiple listeners' callbacks * may execute concurrently, and listeners may execute in an order different from the one in which * they were registered.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
return updateScope; } private void fireEvent(int event, List<ResolutionListener> listeners, ResolutionNode node) { fireEvent(event, listeners, node, null); } private void fireEvent(int event, List<ResolutionListener> listeners, ResolutionNode node, Artifact replacement) { fireEvent(event, listeners, node, replacement, null); } private void fireEvent( int event,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 36.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
if (!monitor.isOccupiedByCurrentThread()) { listeners.dispatch(); } } private void enqueueStartingEvent() { listeners.enqueue(STARTING_EVENT); } private void enqueueRunningEvent() { listeners.enqueue(RUNNING_EVENT); } private void enqueueStoppingEvent(State from) { if (from == State.STARTING) { listeners.enqueue(STOPPING_FROM_STARTING_EVENT);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
// Checking isDone and listeners != TOMBSTONE may seem redundant, but our contract for // addListener says that listeners execute 'immediate' if the future isDone(). However, our // protocol for completing a future is to assign the value field (which sets isDone to true) and // then to release waiters, followed by executing afterDone(), followed by releasing listeners.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
private final AtomicLong totalTimeInOpen = new AtomicLong(0); private final AtomicLong openStateStartTime = new AtomicLong(0); // Event listeners private final List<CircuitBreakerListener> listeners = new CopyOnWriteArrayList<>(); // Configuration private volatile int failureThreshold; private final int successThreshold; private final long resetTimeoutMillis;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
// won't happen } } if (listeners == null) { listeners = new ArrayList<>(); if (logger.isDebugEnabled()) { listeners.add(new DebugResolutionListener(logger)); } listeners.add(new WarningResolutionListener(logger)); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 25K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
} latch.await(5, TimeUnit.SECONDS); executor.shutdown(); // Verify all listeners were added assertEquals(numThreads, fesenClient.onConnectListenerList.size()); } /** * Test: Thread-safe listener invocation during connection * Verifies that listeners can be added while connect() is executing */ @TestCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
private final int port; private final CIFSContext context; private final ConcurrentHashMap<String, WitnessRegistration> registrations; private final ConcurrentHashMap<String, WitnessNotificationListener> listeners; private final ConcurrentHashMap<String, CompletableFuture<Void>> asyncNotifyTasks; private final ScheduledExecutorService scheduler; private final WitnessRpcClient rpcClient; // Witness service endpointCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (0)