Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 250 for Listener (0.18 sec)

  1. internal/http/server.go

    		// Handle request using passed handler.
    		handler.ServeHTTP(w, r)
    	})
    
    	srv.listenerMutex.Lock()
    	srv.Handler = wrappedHandler
    	srv.listener = listener
    	srv.listenerMutex.Unlock()
    
    	var l net.Listener = listener
    	if tlsConfig != nil {
    		l = tls.NewListener(listener, tlsConfig)
    	}
    
    	serve = func() error {
    		return srv.Server.Serve(l)
    	}
    
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

        private final ArtifactTransferListener listener;
    
        private final Map<Resource, ArtifactTransferResource> artifacts;
    
        private final Map<Resource, Long> transfers;
    
        public static TransferListener newAdapter(ArtifactTransferListener listener) {
            if (listener == null) {
                return null;
            } else {
                return new TransferListenerAdapter(listener);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

          return delegate;
        }
    
        @Override
        public void addListener(Runnable listener, Executor exec) {
          executionList.add(listener, exec);
    
          // When a listener is first added, we run a task that will wait for the delegate to finish,
          // and when it is done will run the listeners.
          if (hasListeners.compareAndSet(false, true)) {
            if (delegate.isDone()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/analyzer_test.go

    				{
    					Name: "10.102.11.148_15021",
    					ActiveState: &envoy_admin.ListenersConfigDump_DynamicListenerState{
    						VersionInfo: "2023-06-20T09:07:41Z/3",
    						Listener: &anypb.Any{
    							TypeUrl: "type.googleapis.com/envoy.config.listener.v3.Listener",
    						},
    						LastUpdated: timestamppb.Now(),
    					},
    					ClientStatus: 453,
    				},
    			},
    		},
    	}
    	tests := []struct {
    		name  string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/RemovalListener.java

     * shared resources.
     *
     * @param <K> the most general type of keys this listener can listen for; for example {@code Object}
     *     if any key is acceptable
     * @param <V> the most general type of values this listener can listen for; for example {@code
     *     Object} if any key is acceptable
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

        /**
         * Converts a javadoc link into docbook.
         */
        public Node resolve(String link, ClassMetaData classMetaData, GenerationListener listener) {
            Node node = doResolve(link, classMetaData, listener);
            if (node != null) {
                return node;
            }
    
            listener.warning(String.format("Could not convert Javadoc link '%s'", link));
            Element element = document.createElement("UNHANDLED-LINK");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNull(segment.refresh(key, hash, identityLoader(), false));
      }
    
      // Removal listener tests
    
      public void testRemovalListener_explicit() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().removalListener(listener));
        assertTrue(listener.isEmpty());
    
        Object one = new Object();
        Object two = new Object();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNull(segment.refresh(key, hash, identityLoader(), false));
      }
    
      // Removal listener tests
    
      public void testRemovalListener_explicit() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().removalListener(listener));
        assertTrue(listener.isEmpty());
    
        Object one = new Object();
        Object two = new Object();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  9. internal/grid/connection_test.go

    		}
    		t.Logf("host %q should connect to %d hosts", hosts[x], should)
    	}
    }
    
    func startServer(t testing.TB, listener net.Listener, handler http.Handler) (server *httptest.Server) {
    	t.Helper()
    	server = httptest.NewUnstartedServer(handler)
    	server.Config.Addr = listener.Addr().String()
    	server.Listener = listener
    	server.Start()
    	// t.Cleanup(server.Close)
    	t.Log("Started server on", server.Config.Addr, "URL:", server.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/eventbus/Subscriber.java

    @ElementTypesAreNonnullByDefault
    class Subscriber {
    
      /** Creates a {@code Subscriber} for {@code method} on {@code listener}. */
      static Subscriber create(EventBus bus, Object listener, Method method) {
        return isDeclaredThreadSafe(method)
            ? new Subscriber(bus, listener, method)
            : new SynchronizedSubscriber(bus, listener, method);
      }
    
      /** The event bus this subscriber belongs to. */
      @Weak private EventBus bus;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
Back to top