Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,860 for printsp (0.14 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskExecutionIntegrationTest.groovy

                tasks.register('doSomething') {
                    description = "Prints the message 'do something'"
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            expect:
            succeeds(":other-build:tasks", "--all")
            outputContains("doSomething - Prints the message 'do something'")
        }
    
        def "can run help from included build"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskServiceInjectionIntegrationTest.groovy

                    @Inject
                    CustomTask(WorkerExecutor executor) {
                        this.executor = executor
                    }
    
                    @TaskAction
                    void printIt() {
                        println(executor != null ? "got it" : "NOT IT")
                    }
                }
    
                task myTask(type: CustomTask)
            """
    
            when:
            run 'myTask'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 7.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    		signal.Stop(c)
    		close(c)
    	}
    	if err != nil {
    		// Only print about the exit status if the command
    		// didn't even run (not an ExitError) or it didn't exit cleanly
    		// or we're printing command lines too (-x mode).
    		// Assume if command exited cleanly (even with non-zero status)
    		// it printed any messages it wanted to print.
    		if e, ok := err.(*exec.ExitError); !ok || !e.Exited() || cfg.BuildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/go/doc/comment/markdown.go

    type mdPrinter struct {
    	*Printer
    	headingPrefix string
    	raw           bytes.Buffer
    }
    
    // Markdown returns a Markdown formatting of the Doc.
    // See the [Printer] documentation for ways to customize the Markdown output.
    func (p *Printer) Markdown(d *Doc) []byte {
    	mp := &mdPrinter{
    		Printer:       p,
    		headingPrefix: strings.Repeat("#", p.headingLevel()) + " ",
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:48 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/fmtcmd/fmt.go

    	Long: `
    Fmt runs the command 'gofmt -l -w' on the packages named
    by the import paths. It prints the names of the files that are modified.
    
    For more about gofmt, see 'go doc cmd/gofmt'.
    For more about specifying packages, see 'go help packages'.
    
    The -n flag prints commands that would be executed.
    The -x flag prints commands as they are executed.
    
    The -mod flag's value sets which module download mode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. test/fixedbugs/issue21808.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure println() prints a blank line.
    
    package main
    
    import "fmt"
    
    func main() {
    	fmt.Println("A")
    	println()
    	fmt.Println("B")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 20:10:48 UTC 2017
    - 304 bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

            System.setOut(new ThreadBoundPrintStream(this.originalSystemOUtStream));
            printer = new ConsolePrinter(segmentChunks);
            new Thread(printer).start();
            printer.waitUntilRunning(true);
        }
    
        public void close() {
            printer.waitUntilRunning(false);
            System.setOut(this.originalSystemOUtStream);
        }
    
        private void setNext() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. src/go/doc/comment/html.go

    type htmlPrinter struct {
    	*Printer
    	tight bool
    }
    
    // HTML returns an HTML formatting of the [Doc].
    // See the [Printer] documentation for ways to customize the HTML output.
    func (p *Printer) HTML(d *Doc) []byte {
    	hp := &htmlPrinter{Printer: p}
    	var out bytes.Buffer
    	for _, x := range d.Content {
    		hp.block(&out, x)
    	}
    	return out.Bytes()
    }
    
    // block prints the block x to out.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go

    				switch val := cell.(type) {
    				case string:
    					print := val
    					truncated := false
    					// Truncate at the first newline, carriage return or formfeed
    					// (treated as a newline by tabwriter).
    					breakchar := strings.IndexAny(print, "\f\n\r")
    					if breakchar >= 0 {
    						truncated = true
    						print = print[:breakchar]
    					}
    					WriteEscaped(output, print)
    					if truncated {
    						fmt.Fprint(output, "...")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 16.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

                    description = "Prints the message 'do something'"
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            executeTaskViaTAPI(":other-build:tasks", "--all")
    
            then:
            assertHasBuildSuccessfulLogging()
            outputContains("doSomething - Prints the message 'do something'")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top