Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for dispatchTo (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/initialization/BuildEventConsumer.java

    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A consumer for build events provided by the build requester. This can be used to forward events to the build requester.
     */
    @ServiceScope(Scope.BuildSession.class)
    public interface BuildEventConsumer extends Dispatch<Object> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:55:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/process/internal/AbstractWorkerProcessIntegrationSpec.groovy

            Throwable ex
            final TestListenerInterface dispatch
    
            public RemoteExceptionListener(TestListenerInterface dispatch) {
                this.dispatch = dispatch
            }
    
            void send(String message, int count) {
                try {
                    dispatch.send(message, count)
                } catch (Throwable e) {
                    ex = e
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientProvidedPhasedActionRunnerTest.groovy

            1 * buildFinishedAction.execute(_) >> result2
            1 * buildEventConsumer.dispatch({
                it instanceof PhasedBuildActionResult &&
                    it.phase == PhasedActionResult.Phase.PROJECTS_LOADED &&
                    it.result == serializedResult1
            })
            1 * buildEventConsumer.dispatch({
                it instanceof PhasedBuildActionResult &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:14 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/runtime/asm_loong64.s

    	DISPATCH(runtime·call512, 512)
    	DISPATCH(runtime·call1024, 1024)
    	DISPATCH(runtime·call2048, 2048)
    	DISPATCH(runtime·call4096, 4096)
    	DISPATCH(runtime·call8192, 8192)
    	DISPATCH(runtime·call16384, 16384)
    	DISPATCH(runtime·call32768, 32768)
    	DISPATCH(runtime·call65536, 65536)
    	DISPATCH(runtime·call131072, 131072)
    	DISPATCH(runtime·call262144, 262144)
    	DISPATCH(runtime·call524288, 524288)
    	DISPATCH(runtime·call1048576, 1048576)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

                    }
                    dispatch(connection, new InvalidateVirtualFileSystemAfterChange(changedPaths, idGenerator.generateId(), connection.getDaemon().getToken()));
                }
            }
        }
    
        private static void dispatch(Connection<Message> connection, Command command) {
            Throwable failure = null;
            try {
                connection.dispatch(command);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarderTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.daemon.client.clientinput
    
    import org.gradle.internal.dispatch.Dispatch
    import org.gradle.internal.logging.console.DefaultUserInputReceiver
    import org.gradle.internal.logging.events.OutputEventListener
    import org.gradle.internal.logging.events.PromptOutputEvent
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top