Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 904 for printIt (0.28 sec)

  1. 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)
  2. src/go/printer/printer.go

    	commentNewline bool              // true if the comment group contains newlines
    }
    
    type printer struct {
    	// Configuration (does not change after initialization)
    	Config
    	fset *token.FileSet
    
    	// Current state
    	output       []byte       // raw printer result
    	indent       int          // current indentation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/printer.go

    		p.print(newline)
    		for i, c := range list {
    			p.printCommClause(c, i+1 == len(list))
    			p.print(newline)
    		}
    	}
    	p.print(_Rbrace)
    }
    
    func (p *printer) printCaseClause(c *CaseClause, braces bool) {
    	if c.Cases != nil {
    		p.print(_Case, blank, c.Cases)
    	} else {
    		p.print(_Default)
    	}
    	p.print(_Colon)
    	if len(c.Body) > 0 {
    		p.print(newline, indent)
    		p.printStmtList(c.Body, braces)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. test/live.go

    			printnl()
    		}
    		printnl()
    	}
    	printnl()
    }
    
    // issue 8097: mishandling of x = x during return.
    
    func f39() (x []int) {
    	x = []int{1}
    	printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+$"
    	return x
    }
    
    func f39a() (x []int) {
    	x = []int{1}
    	printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+$"
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. src/cmd/vet/testdata/print/print.go

    	fmt.Printf("%v", &stringerv)
    	fmt.Printf("%T", &stringerv)
    	fmt.Printf("%s", &embeddedStringerv)
    	fmt.Printf("%v", &embeddedStringerv)
    	fmt.Printf("%T", &embeddedStringerv)
    	fmt.Printf("%v", notstringerv)
    	fmt.Printf("%T", notstringerv)
    	fmt.Printf("%q", stringerarrayv)
    	fmt.Printf("%v", stringerarrayv)
    	fmt.Printf("%s", stringerarrayv)
    	fmt.Printf("%v", notstringerarrayv)
    	fmt.Printf("%T", notstringerarrayv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  6. test/live_regabi.go

    			printnl()
    		}
    		printnl()
    	}
    	printnl()
    }
    
    // issue 8097: mishandling of x = x during return.
    
    func f39() (x []int) {
    	x = []int{1}
    	printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+$"
    	return x
    }
    
    func f39a() (x []int) {
    	x = []int{1}
    	printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+$"
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. src/fmt/print.go

    // The String method is used to print values passed as an operand
    // to any format that accepts a string or to an unformatted printer
    // such as [Print].
    type Stringer interface {
    	String() string
    }
    
    // GoStringer is implemented by any value that has a GoString method,
    // which defines the Go syntax for that value.
    // The GoString method is used to print values passed as an operand
    // to a %#v format.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	"fmt.Fprint":   true,
    	"fmt.Fprintf":  true,
    	"fmt.Fprintln": true,
    	"fmt.Print":    true,
    	"fmt.Printf":   true,
    	"fmt.Println":  true,
    	"fmt.Sprint":   true,
    	"fmt.Sprintf":  true,
    	"fmt.Sprintln": true,
    
    	"runtime/trace.Logf": true,
    
    	"log.Print":             true,
    	"log.Printf":            true,
    	"log.Println":           true,
    	"log.Fatal":             true,
    	"log.Fatalf":            true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    		table := &metav1.Table{
    			ColumnDefinitions: test.columns,
    			Rows:              test.rows,
    		}
    		// Print the table
    		out := bytes.NewBuffer([]byte{})
    		printer := NewTablePrinter(test.options)
    		printer.PrintObj(table, out)
    
    		// Validate the printed table is empty.
    		if len(out.String()) > 0 {
    			t.Errorf("Error Printing Table. Should be empty; got (%s)", out.String())
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
Back to top