Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for listener2 (0.67 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiStreamingBuildActionIntegrationTest.groovy

            and:
            def streamedModels2 = listener2.models
            streamedModels2.size() == 2
            (streamedModels2[0] as GradleProject).name == "hello-world"
            (streamedModels2[1] as EclipseProject).gradleProject.name == "hello-world"
        }
    
        def "models are streamed on phased build action cache hit"() {
            def listener1 = new TestStreamedValueListener()
            def listener2 = new TestStreamedValueListener()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. internal/grid/debug.go

    			}
    		}
    		addr := l.Addr()
    		hosts = append(hosts, "http://"+addr.String())
    		listeners = append(listeners, l)
    	}
    	return
    }
    
    func startHTTPServer(listener net.Listener, handler http.Handler) (server *httptest.Server) {
    	server = httptest.NewUnstartedServer(handler)
    	server.Config.Addr = listener.Addr().String()
    	server.Listener = listener
    	server.Start()
    	return server
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_builder_test.go

    	type fields struct {
    		GatewayListeners        []*listener.Listener
    		InboundListeners        []*listener.Listener
    		OutboundListeners       []*listener.Listener
    		HTTPProxyListener       *listener.Listener
    		VirtualOutboundListener *listener.Listener
    		VirtualInboundListener  *listener.Listener
    	}
    	tests := []struct {
    		name   string
    		proxy  *model.Proxy
    		fields fields
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_test.go

    		p.DiscoverIPMode()
    		listeners := buildOutboundListeners(t, p, nil, nil, services...)
    		if len(listeners) != 1 {
    			t.Fatalf("expected %d listeners, found %d", 1, len(listeners))
    		}
    		if p.IsDualStack() {
    			if len(listeners[0].AdditionalAddresses) != 1 {
    				t.Fatalf("expected %d additional addresses, found %d", 1, len(listeners[0].AdditionalAddresses))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_inbound.go

    		// Prepend virtual inbound, as long as we are using redirection.
    		listeners = append([]*listener.Listener{lb.inboundVirtualListener(virtualInboundFilterChains)}, listeners...)
    	}
    
    	return listeners
    }
    
    // inboundVirtualListener builds the virtual inbound listener.
    func (lb *ListenerBuilder) inboundVirtualListener(chains []*listener.FilterChain) *listener.Listener {
    	actualWildcards, _ := getWildcardsAndLocalHost(lb.node.GetIPMode())
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        if (!isDone()) {
          Listener oldHead = listeners;
          if (oldHead != Listener.TOMBSTONE) {
            Listener newNode = new Listener(listener, executor);
            do {
              newNode.next = oldHead;
              if (ATOMIC_HELPER.casListeners(this, oldHead, newNode)) {
                return;
              }
              oldHead = listeners; // re-read
            } while (oldHead != Listener.TOMBSTONE);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  7. guava/src/com/google/common/util/concurrent/AbstractFuture.java

        if (!isDone()) {
          Listener oldHead = listeners;
          if (oldHead != Listener.TOMBSTONE) {
            Listener newNode = new Listener(listener, executor);
            do {
              newNode.next = oldHead;
              if (ATOMIC_HELPER.casListeners(this, oldHead, newNode)) {
                return;
              }
              oldHead = listeners; // re-read
            } while (oldHead != Listener.TOMBSTONE);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  8. pilot/pkg/simulation/traffic.go

    	default:
    		return ""
    	}
    }
    
    func matchListener(listeners []*listener.Listener, input Call) *listener.Listener {
    	if input.CallMode == CallModeInbound {
    		return xdstest.ExtractListener(model.VirtualInboundListenerName, listeners)
    	}
    	// First find exact match for the IP/Port, then fallback to wildcard IP/Port
    	// There is no wildcard port
    	for _, l := range listeners {
    		if matchAddress(l.GetAddress(), input.Address, input.Port) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/accesslog_test.go

    			},
    			listener: &listener.Listener{},
    			class:    networking.ListenerClassSidecarInbound,
    			expected: &listener.Listener{},
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			b.setListenerAccessLog(tc.push, tc.proxy, tc.listener, tc.class)
    			assert.Equal(t, tc.expected, tc.listener)
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/EventScope.java

    import java.lang.annotation.Target;
    
    /**
     * Attached to a listener interface to indicate which scope its events are generated in.
     *
     * <p>Events generated in a particular scope are visible to listeners in the same scope and ancestor scopes.
     * Events are not visible to listeners in descendent scopes.
     *
     * <p>This annotation is used primarily to indicate to developers the scopes where this listener are available. There is also
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top