Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,870 for printsp (0.2 sec)

  1. 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)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCaptureOutputIntegrationTest.groovy

            }
        }
    
        static String helloWorldWithStandardOutputAndError() {
            """
                task helloWorld {
                    doLast {
                        println '$OUT'
                        System.err.println '$ERR'
                    }
                }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.5K 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. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ParallelStaleOutputIntegrationTest.groovy

                    @Internal
                    Set<File> classpath = project.configurations["myconf"].files
                    BadTask() {
                        println("creating bad task")
                    }
                    @TaskAction
                    void printIt() {
                        def outputFile = getOutputFile().get().asFile
                        outputFile.text = "bad"
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. docs/debugging/healing-bin/main.go

      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

            given:
            buildFile << """
                class LoggingTask extends DefaultTask {
                    LoggingTask() {
                        println("name = " + name)
                        println("path = " + path)
                        println("toString() = " + this)
                    }
                }
    
                task one(type: LoggingTask)
            """
    
            when:
            run("one")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top