Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 961 for printsp (0.11 sec)

  1. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func printuint(uint64)
    func printcomplex(complex128)
    func printstring(string)
    func printpointer(any)
    func printuintptr(uintptr)
    func printiface(any)
    func printeface(any)
    func printslice(any)
    func printnl()
    func printsp()
    func printlock()
    func printunlock()
    
    func concatstring2(*[32]byte, string, string) string
    func concatstring3(*[32]byte, string, string, string) string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/builtin.go

    	{"printstring", funcTag, 29},
    	{"printpointer", funcTag, 30},
    	{"printuintptr", funcTag, 31},
    	{"printiface", funcTag, 30},
    	{"printeface", funcTag, 30},
    	{"printslice", funcTag, 30},
    	{"printnl", funcTag, 9},
    	{"printsp", funcTag, 9},
    	{"printlock", funcTag, 9},
    	{"printunlock", funcTag, 9},
    	{"concatstring2", funcTag, 34},
    	{"concatstring3", funcTag, 35},
    	{"concatstring4", funcTag, 36},
    	{"concatstring5", funcTag, 37},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/builtin.go

    		case types.TSTRING:
    			cs := ""
    			if ir.IsConst(n, constant.String) {
    				cs = ir.StringVal(n)
    			}
    			switch cs {
    			case " ":
    				on = typecheck.LookupRuntime("printsp")
    			case "\n":
    				on = typecheck.LookupRuntime("printnl")
    			default:
    				on = typecheck.LookupRuntime("printstring")
    			}
    		default:
    			badtype(ir.OPRINT, n.Type(), nil)
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/fmt/example_test.go

    	integer := 23
    	// Each of these prints "23" (without the quotes).
    	fmt.Println(integer)
    	fmt.Printf("%v\n", integer)
    	fmt.Printf("%d\n", integer)
    
    	// The special verb %T shows the type of an item rather than its value.
    	fmt.Printf("%T %T\n", integer, &integer)
    	// Result: int *int
    
    	// Println(x) is the same as Printf("%v\n", x) so we will use only Printf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 21:03:10 UTC 2019
    - 11.8K bytes
    - Viewed (0)
Back to top