Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for dispatchTo (0.15 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

    import org.gradle.internal.dispatch.AsyncDispatch;
    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.dispatch.DispatchException;
    import org.gradle.internal.dispatch.ExceptionTrackingFailureHandler;
    import org.gradle.internal.dispatch.FailureHandlingDispatch;
    import org.gradle.internal.dispatch.MethodInvocation;
    import org.gradle.internal.dispatch.ProxyDispatchAdapter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            // If caller wants only a classpath, JUnit shall move there.
            dispatched = session.resolveDependencies(coord, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES));
            classes = dispatched.get(JavaPathType.CLASSES);
            modules = dispatched.get(JavaPathType.MODULES);
            unresolved = dispatched.get(PathType.UNRESOLVED);
            assertEquals(2, dispatched.size());
            assertEquals(1, unresolved.size());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/AbstractBroadcastDispatch.java

                case 1:
                    dispatch(invocation, dispatchers.get(0));
                    break;
                default:
                    dispatch(invocation, dispatchers.iterator());
                    break;
            }
        }
    
        /**
         * Dispatch an invocation to multiple handlers.
         */
        private void dispatch(MethodInvocation invocation, Iterator<? extends Dispatch<MethodInvocation>> handlers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ProxyDispatchAdapter.java

                    return otherHandler.type.equals(type) && otherHandler.dispatch == dispatch;
                }
    
                if (method.getName().equals("hashCode")) {
                    return dispatch.hashCode();
                }
                if (method.getName().equals("toString")) {
                    return type.getSimpleName() + " broadcast";
                }
                dispatch.dispatch(new MethodInvocation(method, parameters));
                return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy

            }
    
            then:
            1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested1 }
            1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested2 }
        }
    
        def "read bytes returns when stream is closed"() {
            def dispatch = Mock(OutputEventListener)
            def stream = new StdInStream(dispatch)
    
            when:
            async {
                start {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy

                return false
            }
    
            1 * connection.dispatch({ it instanceof Build })
            2 * connection.receive() >>> [Stub(BuildStarted), new Failure(new DaemonStoppedException())]
            1 * connection.dispatch({ it instanceof Cancel })
            1 * connection.dispatch({ it instanceof CloseInput })
            1 * connection.dispatch({ it instanceof Finished })
            1 * cancellationToken.cancellationRequested >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/listener/ClosureBackedMethodInvocationDispatch.java

     * limitations under the License.
     */
    
    package org.gradle.listener;
    
    import groovy.lang.Closure;
    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.dispatch.MethodInvocation;
    
    import java.util.Arrays;
    
    public class ClosureBackedMethodInvocationDispatch implements Dispatch<MethodInvocation> {
        private final String methodName;
        private final Closure closure;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 12:43:02 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientConnection.java

            return daemon;
        }
    
        @Override
        public void dispatch(Message message) throws DaemonConnectionException {
            LOG.debug("thread {}: dispatching {}", Thread.currentThread().getId(), message.getClass());
            try {
                dispatchLock.lock();
                try {
                    connection.dispatch(message);
                    connection.flush();
                } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 06:43:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                }
    
                /**
                 * Returns correct importable name for implicitly dispatched callable - that is, a callable
                 * which has a dispatch receiver, but whose dispatch receiver is present implicitly. The most
                 * important case for that is the following:
                 *
                 * ```kt
                 * import MyObject.bar
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

            throwWhen(new IOException("Could not dispatch a message to the daemon.", new IOException("An existing connection was forcibly closed by the remote host")), iteration == 1)
    
            then:
            IOException ioe = thrown()
            ioe.message == "Could not dispatch a message to the daemon."
        }
    
        private static void throwWhen(Throwable throwable, boolean condition) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top