Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,227 for printIt (0.18 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonOutputConsumer.java

            try (Scanner scanner = new Scanner(processStdOutput)) {
                PrintWriter printer = new PrintWriter(output);
                while (scanner.hasNext()) {
                    String line = scanner.nextLine();
                    LOGGER.debug("daemon out: {}", line);
                    printer.println(line);
                    if (startupCommunication.containsGreeting(line)) {
                        break;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm/src/crossVersionTest/groovy/org/gradle/jvm/toolchain/internal/install/ProvisionedJdkReuseCrossVersionIntegrationTest.groovy

                application.mainClass = 'printer.JavaHomePrinter'
            """
            file('src/main/java/printer/JavaHomePrinter.java').text = """
                package printer;
                public class JavaHomePrinter {
                    public static void main(String[] args) {
                        System.out.println("${JAVA_HOME_PREFIX}" + System.getProperty("java.home"));
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/shared.go

    	controllruntimelog.SetLogger(log.NewLogrAdapter(scope))
    }
    
    type Printer interface {
    	Printf(format string, a ...any)
    	Println(string)
    }
    
    func NewPrinterForWriter(w io.Writer) Printer {
    	return &writerPrinter{writer: w}
    }
    
    type writerPrinter struct {
    	writer io.Writer
    }
    
    func (w *writerPrinter) Printf(format string, a ...any) {
    	_, _ = fmt.Fprintf(w.writer, format, a...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

                return
            }
            // TODO remove debug log
            if (lastRegistryState == State.Stopped && lastLogState == State.Idle) {
                println("The daemon probably disappeared before it could've printed the stop message. Daemon log content:")
                println(logFile.text)
            }
    
            throw new AssertionError("""Timeout waiting for daemon with pid ${context.pid} to reach state ${state}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

        def setup() {
            blockingHttpServer.start()
            if (OperatingSystem.current().windows) {
                // The killed worker on Windows will cause a broken pipe error to be printed to the console,
                // so we disable stack trace checks to avoid the test failing.
                executer.withStackTraceChecksDisabled()
            }
    
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/go/ast/example_test.go

    	// src.go:4:9:	f
    	// src.go:4:11:	3.14
    	// src.go:4:17:	2
    	// src.go:4:21:	c
    }
    
    // This example shows what an AST looks like when printed for debugging.
    func ExamplePrint() {
    	// src is the input for which we want to print the AST.
    	src := `
    package main
    func main() {
    	println("Hello, World!")
    }
    `
    
    	// Create the AST by parsing src.
    	fset := token.NewFileSet() // positions are relative to fset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/go/printer/printer_test.go

    	if mode&export != 0 {
    		ast.FileExports(f) // ignore result
    		f.Comments = nil   // don't print comments that are not in AST
    	}
    
    	// determine printer configuration
    	cfg := Config{Tabwidth: tabwidth}
    	if mode&rawFormat != 0 {
    		cfg.Mode |= RawFormat
    	}
    	if mode&normNumber != 0 {
    		cfg.Mode |= normalizeNumbers
    	}
    
    	// print AST
    	var buf bytes.Buffer
    	if err := cfg.Fprint(&buf, fset, f); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy

                        this.shouldFail = shouldFail
                    }
    
                    @Override
                    boolean load(BuildCacheKey key, BuildCacheEntryReader reader) throws BuildCacheException {
                        println "> Attempting load for \$key"
                        if (shouldFail == "load") {
                            shouldFail = null
                            throw new BuildCacheException("Unable to read " + key)
                        } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

      PrintTo(ImplicitCast_<const void*>(s), os);
    }
    inline void PrintTo(signed char* s, ::std::ostream* os) {
      PrintTo(ImplicitCast_<const void*>(s), os);
    }
    inline void PrintTo(const unsigned char* s, ::std::ostream* os) {
      PrintTo(ImplicitCast_<const void*>(s), os);
    }
    inline void PrintTo(unsigned char* s, ::std::ostream* os) {
      PrintTo(ImplicitCast_<const void*>(s), os);
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinter.java

    import java.io.IOException;
    import java.util.List;
    
    /**
     * Utility to print {@link Failure}s in the format matching that of {@link Throwable#printStackTrace()}.
     * <p>
     * Failures with multiple causes are printed similarly to {@link org.gradle.internal.exceptions.MultiCauseException}.
     * <p>
     * The printer additionally allows reacting to each frame to be printed via a {@link FailurePrinterListener}.
     */
    public class FailurePrinter {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top