Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 677 for accept4 (0.7 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/ExactVersionSelectorTest.groovy

        }
    
        def "accepts candidate version iff it literally matches the selector"() {
            expect:
            accept("", "")
            accept("1.0", "1.0")
            accept("2.0", "2.0")
            accept("!@#%", "!@#%")
            accept("hey joe", "hey joe")
            !accept("1.0", "1.1")
            !accept("2.0", "3.0")
            !accept("!@#%", "%#@!")
            !accept("hey joe", "hoe hey")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/TcpIncomingConnector.java

                                LOGGER.error("Cannot accept connection from remote address {}.", remoteInetAddress);
                                socket.close();
                                continue;
                            }
                            LOGGER.debug("Accepted connection from {} to {}.", socket.socket().getRemoteSocketAddress(), socket.socket().getLocalSocketAddress());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildScanUserInputFixture.groovy

        public static final String QUESTION = "Accept license?"
        public static final String YES = 'yes'
        public static final String NO = 'no'
        public static final byte EOF = 4
        public static final String PROMPT = "$QUESTION [$YES, $NO]"
        private static final String ANSWER_PREFIX = 'License accepted:'
    
        private BuildScanUserInputFixture() {}
    
        static String buildScanPlugin() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/InvalidActionClosureException.java

            return String.format(
                    "The closure '%s' is not valid as an action for argument '%s'. It should accept no parameters, or one compatible with type '%s'. It accepts (%s).",
                    closure, argument, argument.getClass().getName(), CollectionUtils.join(", ", classNames)
            );
        }
    
        /**
         * The closure being used as an action.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top