Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for onInput (0.17 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy

            connection.queueIncoming(input2)
            connection.queueIncoming(closeInput)
            received.await()
            daemonConnection.stop()
    
            then:
            1 * handler.onInput(input1)
            1 * handler.onInput(input2)
            1 * handler.onEndOfInput() >> { received.countDown() }
            0 * handler._
        }
    
        def "generates end of stdin event when connection disconnects"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdinHandler.java

    import org.gradle.launcher.daemon.protocol.ForwardInput;
    import org.gradle.launcher.daemon.protocol.UserResponse;
    
    public interface StdinHandler {
        void onUserResponse(UserResponse input);
    
        void onInput(ForwardInput input);
    
        void onEndOfInput();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 925 bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/ClientInputForwarder.java

                    eventDispatch.onOutput(event);
                }
            });
            inputReader.startInput();
    
            StdinHandler stdinHandler = new StdinHandler() {
                @Override
                public void onInput(ForwardInput input) {
                    LOGGER.debug("Writing forwarded input on this process' stdin.");
                    stdInStream.received(input.getBytes());
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ForwardStdInToThisProcess.java

                    if (message instanceof UserResponse) {
                        stdinHandler.onUserResponse((UserResponse) message);
                    } else if (message instanceof ForwardInput) {
                        stdinHandler.onInput((ForwardInput) message);
                    } else if (message instanceof CloseInput) {
                        stdinHandler.onEndOfInput();
                    } else {
                        throw new IllegalArgumentException();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                close()
            }
        }
    
        fun onProblem(problem: PropertyProblem) {
            modifyState {
                onDiagnostic(DiagnosticKind.PROBLEM, problem)
            }
        }
    
        fun onInput(input: PropertyProblem) {
            modifyState {
                onDiagnostic(DiagnosticKind.INPUT, input)
            }
        }
    
        /**
         * Writes the report file to [outputDirectory].
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java

                        return true;
                    } else if (command instanceof UserResponse) {
                        handler.onUserResponse((UserResponse) command);
                    } else {
                        handler.onInput((ForwardInput) command);
                    }
                } catch (Exception e) {
                    LOGGER.warn("Could not forward client stdin.", e);
                    return true;
                }
                return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt

                fileCollectionFingerprinter.fingerprint(fileCollection).hash
    
            override fun reportInput(input: PropertyProblem) =
                report.onInput(input)
    
            override fun reportProblem(exception: Throwable?, documentationSection: DocumentationSection?, message: StructuredMessageBuilder) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. cmd/metacache-stream_test.go

    tdata/huffman-zero.dyn.expect-noinput", "src/compress/flate/testdata/huffman-zero.golden", "src/compress/flate/testdata/huffman-zero.in", "src/compress/flate/testdata/huffman-zero.wb.expect", "src/compress/flate/testdata/huffman-zero.wb.expect-noinput", "src/compress/flate/testdata/null-long-match.dyn.expect-noinput", "src/compress/flate/testdata/null-long-match.wb.expect-noinput", "src/compress/flate/token.go", "src/compress/flate/writer_test.go", "src/compress/gzip/", "src/compress/gzip/example_test.go",...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
  9. cmd/metacache-entries_test.go

    tdata/huffman-zero.dyn.expect-noinput", "src/compress/flate/testdata/huffman-zero.golden", "src/compress/flate/testdata/huffman-zero.in", "src/compress/flate/testdata/huffman-zero.wb.expect", "src/compress/flate/testdata/huffman-zero.wb.expect-noinput", "src/compress/flate/testdata/null-long-match.dyn.expect-noinput", "src/compress/flate/testdata/null-long-match.wb.expect-noinput", "src/compress/flate/token.go", "src/compress/flate/writer_test.go", "src/compress/gzip/example_test.go", "src/compr...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc

              return cond_or_body_terminator;
            };
    
        ValueRange opInput = op.getInput();
        TypeRange scf_block_arguments_type = opInput.getType();
    
        // Create the `scf.while` op.
        auto scf_while_op = rewriter.create<scf::WhileOp>(
            op.getLoc(), op.getResultTypes(), opInput);
    
        // Create the `before` block of the `scf.while` op (with an `scf.condition`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 9.4K bytes
    - Viewed (0)
Back to top