Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,668 for accept4 (0.47 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/DirectInstantiatorTest.groovy

            e.cause.message == "Could not find any public constructor for ${SomeType} which accepts parameters [java.lang.Object]."
    
            when:
            instantiator.newInstance(SomeType, "a", "b")
    
            then:
            e = thrown()
            e.cause.message == "Could not find any public constructor for ${SomeType} which accepts parameters [java.lang.String, java.lang.String]."
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper_test.go

    	testCases := []struct {
    		accept   string
    		expected string
    	}{
    		{
    			// Misconstructed/incorrect accept headers should be passed to the unaggregated handler to return an error
    			accept:   "application/json;foo=bar",
    			expected: "unaggregated",
    		}, {
    			// Empty accept headers are valid and should be handled by the unaggregated handler
    			accept:   "",
    			expected: "unaggregated",
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubBackedServerTest.groovy

            ConnectionAcceptor acceptor = Mock()
            Action<ObjectConnection> connectAction = Mock()
            RemoteConnection<InterHubMessage> backingConnection = Mock()
            ManagedExecutor executor = Mock()
            ConnectCompletion completion = Mock()
            Action<ConnectCompletion> acceptAction
            def connection
    
            when:
            server.accept(connectAction)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. testing/internal-testing/src/test/groovy/org/gradle/test/precondition/PredicateFileTest.groovy

            ["value2"] as Set,
            ["value2", "value3"] as Set,
        ] as Set
    
        def "accept single values"() {
            when:
            checkValidCombinations([value])
    
            then:
            noExceptionThrown()
    
            where:
            value << ["value1", "value2"]
        }
    
        def "accept multiple values"() {
            when:
            checkValidCombinations(combination)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/net/unixsock.go

    }
    
    // AcceptUnix accepts the next incoming call and returns the new
    // connection.
    func (l *UnixListener) AcceptUnix() (*UnixConn, error) {
    	if !l.ok() {
    		return nil, syscall.EINVAL
    	}
    	c, err := l.accept()
    	if err != nil {
    		return nil, &OpError{Op: "accept", Net: l.fd.net, Source: nil, Addr: l.fd.laddr, Err: err}
    	}
    	return c, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/internal/PluginResolution.java

     */
    public interface PluginResolution {
    
        /**
         * The ID of the resolved plugin.
         */
        PluginId getPluginId();
    
        /**
         * Accepts a visitor and visits the resolved plugin.
         */
        default void accept(PluginResolutionVisitor visitor) { }
    
        /**
         * Apply the plugin to the provided plugin manager.
         */
        void applyTo(PluginManagerInternal pluginManager);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 03:54:58 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolverTest.groovy

            @Override
            void resolve(DependencyMetadata dependency, VersionSelector acceptor, VersionSelector rejector, BuildableComponentIdResolveResult result) {
                if (!acceptor.isDynamic()) {
                    def id = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId(moduleId.group, moduleId.name), acceptor.selector)
                    resolvedOrRejected(id, rejector, result)
                    return
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:34 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/crypto/tls/tls_test.go

    		t.Skip("skipping in short mode")
    	}
    
    	timeout := 100 * time.Microsecond
    	for !t.Failed() {
    		acceptc := make(chan net.Conn)
    		listener := newLocalListener(t)
    		go func() {
    			for {
    				conn, err := listener.Accept()
    				if err != nil {
    					close(acceptc)
    					return
    				}
    				acceptc <- conn
    			}
    		}()
    
    		addr := listener.Addr().String()
    		dialer := &net.Dialer{
    			Timeout: timeout,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  9. tests/integration/pilot/testdata/gateway-api-crd.yaml

    
                      Implementations MAY choose to accept a Gateway with some Conflicted
                      Listeners only if they only accept the partial Listener set that contains
                      no Conflicted Listeners. To put this another way, implementations may
                      accept a partial Listener set only if they throw out *all* the conflicting
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 02:01:51 UTC 2024
    - 912.2K bytes
    - Viewed (0)
  10. src/net/net_fake_test.go

    	}
    
    	ln := newLocalListener(t, "tcp")
    	done := make(chan struct{})
    	go func() {
    		var accepted []Conn
    		defer func() {
    			for _, c := range accepted {
    				c.Close()
    			}
    			close(done)
    		}()
    
    		for {
    			c, err := ln.Accept()
    			if err != nil {
    				return
    			}
    			accepted = append(accepted, c)
    		}
    	}()
    
    	var dialed []Conn
    	defer func() {
    		ln.Close()
    		for _, c := range dialed {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top