Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,860 for printsp (0.13 sec)

  1. test/print.go

    	println("one", "two")       // printsp
    
    	// test goprintf
    	defer println((interface{})(nil))
    	defer println((interface {
    		f()
    	})(nil))
    	defer println((map[int]int)(nil))
    	defer println(([]int)(nil))
    	defer println(int64(-11))
    	defer println(uint64(12))
    	defer println(uint32(12))
    	defer println(uint16(12))
    	defer println(uint8(12))
    	defer println(uint(12))
    	defer println(uintptr(12))
    	defer println(13.0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  2. src/runtime/print.go

    	sp := (*slice)(unsafe.Pointer(&s))
    	print("[", len(s), "/", cap(s), "]")
    	printpointer(sp.array)
    }
    
    func printeface(e eface) {
    	print("(", e._type, ",", e.data, ")")
    }
    
    func printiface(i iface) {
    	print("(", i.tab, ",", i.data, ")")
    }
    
    // hexdumpWords prints a word-oriented hex dump of [p, end).
    //
    // If mark != nil, it will be called with each printed word's address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.printstring", 1},
    	{"runtime.printpointer", 1},
    	{"runtime.printuintptr", 1},
    	{"runtime.printiface", 1},
    	{"runtime.printeface", 1},
    	{"runtime.printslice", 1},
    	{"runtime.printnl", 1},
    	{"runtime.printsp", 1},
    	{"runtime.printlock", 1},
    	{"runtime.printunlock", 1},
    	{"runtime.concatstring2", 1},
    	{"runtime.concatstring3", 1},
    	{"runtime.concatstring4", 1},
    	{"runtime.concatstring5", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/go/ast/print.go

    				p.print(x.MapIndex(key))
    				p.printf("\n")
    			}
    			p.indent--
    		}
    		p.printf("}")
    
    	case reflect.Pointer:
    		p.printf("*")
    		// type-checked ASTs may contain cycles - use ptrmap
    		// to keep track of objects that have been printed
    		// already and print the respective line number instead
    		ptr := x.Interface()
    		if line, exists := p.ptrmap[ptr]; exists {
    			p.printf("(obj @ %d)", line)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. 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)
  10. src/go/doc/comment/print.go

    	// measured in Unicode code points,
    	// excluding TextPrefix and the newline character.
    	// If TextWidth is zero, it defaults to 80 minus the number of code points in TextPrefix.
    	// If TextWidth is negative, there is no limit.
    	TextWidth int
    }
    
    func (p *Printer) headingLevel() int {
    	if p.HeadingLevel <= 0 {
    		return 3
    	}
    	return p.HeadingLevel
    }
    
    func (p *Printer) headingID(h *Heading) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top