Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for fmt (0.18 sec)

  1. src/cmd/compile/internal/types/fmt.go

    //	%S	Short syntax: Name only, no matter what.
    func (s *Sym) Format(f fmt.State, verb rune) {
    	mode := fmtGo
    	switch verb {
    	case 'v', 'S':
    		if verb == 'v' && f.Flag('+') {
    			mode = fmtDebug
    		}
    		fmt.Fprint(f, sconv(s, verb, mode))
    
    	default:
    		fmt.Fprintf(f, "%%!%c(*types.Sym=%p)", verb, s)
    	}
    }
    
    func (s *Sym) String() string {
    	return sconv(s, 0, fmtGo)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/fmt.go

    		fmt.Fprint(s, "[")
    		if n.Low != nil {
    			fmt.Fprint(s, n.Low)
    		}
    		fmt.Fprint(s, ":")
    		if n.High != nil {
    			fmt.Fprint(s, n.High)
    		}
    		if n.Op().IsSlice3() {
    			fmt.Fprint(s, ":")
    			if n.Max != nil {
    				fmt.Fprint(s, n.Max)
    			}
    		}
    		fmt.Fprint(s, "]")
    
    	case OSLICEHEADER:
    		n := n.(*SliceHeaderExpr)
    		fmt.Fprintf(s, "sliceheader{%v,%v,%v}", n.Ptr, n.Len, n.Cap)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/main.go

    	}
    }
    
    func genOp() {
    	w := new(bytes.Buffer)
    	fmt.Fprintf(w, "// Code generated from _gen/*Ops.go using 'go generate'; DO NOT EDIT.\n")
    	fmt.Fprintln(w)
    	fmt.Fprintln(w, "package ssa")
    
    	fmt.Fprintln(w, "import (")
    	fmt.Fprintln(w, "\"cmd/internal/obj\"")
    	for _, a := range archs {
    		if a.pkg != "" {
    			fmt.Fprintf(w, "%q\n", a.pkg)
    		}
    	}
    	fmt.Fprintln(w, ")")
    
    	// generate Block* declarations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. src/cmd/covdata/dump.go

    		fmt.Fprintf(os.Stderr, "  \tmerges data from input directories dir1+dir2\n")
    		fmt.Fprintf(os.Stderr, "  \tand emits percentage of statements covered\n\n")
    	case funcMode:
    		fmt.Fprintf(os.Stderr, "  go tool covdata func -i=dir1,dir2\n\n")
    		fmt.Fprintf(os.Stderr, "  \treads coverage data files from dir1+dirs2\n")
    		fmt.Fprintf(os.Stderr, "  \tand writes out coverage profile data for\n")
    		fmt.Fprintf(os.Stderr, "  \teach function.\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/initorder.go

    					}
    				} else {
    					fmt.Printf("\t%s has no dependencies\n", obj.Name())
    				}
    			}
    		}
    		fmt.Println()
    
    		fmt.Println("Transposed object dependency graph (functions eliminated):")
    		for _, n := range pq {
    			fmt.Printf("\t%s depends on %d nodes\n", n.obj.Name(), n.ndeps)
    			for p := range n.pred {
    				fmt.Printf("\t\t%s is dependent\n", p.obj.Name())
    			}
    		}
    		fmt.Println()
    
    		fmt.Println("Processing nodes:")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/testflag.go

    	case strings.Contains(value, "="):
    		return fmt.Errorf("-vet argument cannot contain equal signs")
    	case strings.Contains(value, " "):
    		return fmt.Errorf("-vet argument is comma-separated list, cannot contain spaces")
    	}
    
    	*f = vetFlag{explicit: true}
    	var single string
    	for _, arg := range strings.Split(value, ",") {
    		switch arg {
    		case "":
    			return fmt.Errorf("-vet argument contains empty list element")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/cover/cover.go

    	// Declare the coverage struct as a package-level variable.
    	fmt.Fprintf(w, "\nvar %s = struct {\n", *varVar)
    	fmt.Fprintf(w, "\tCount     [%d]uint32\n", len(f.blocks))
    	fmt.Fprintf(w, "\tPos       [3 * %d]uint32\n", len(f.blocks))
    	fmt.Fprintf(w, "\tNumStmt   [%d]uint16\n", len(f.blocks))
    	fmt.Fprintf(w, "} {\n")
    
    	// Initialize the position array field.
    	fmt.Fprintf(w, "\tPos: [3 * %d]uint32{\n", len(f.blocks))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/html.go

    	err = cmd.Start()
    	if err != nil {
    		d.broken = true
    		fmt.Println(err)
    		return
    	}
    	fmt.Fprint(pipe, `digraph "" { margin=0; ranksep=.2; `)
    	id := strings.Replace(phase, " ", "-", -1)
    	fmt.Fprintf(pipe, `id="g_graph_%s";`, id)
    	fmt.Fprintf(pipe, `node [style=filled,fillcolor=white,fontsize=16,fontname="Menlo,Times,serif",margin="0.01,0.03"];`)
    	fmt.Fprintf(pipe, `edge [fontsize=16,fontname="Menlo,Times,serif"];`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/stackalloc.go

    				live.add(v.ID)
    			}
    		}
    	}
    	if f.pass.debug > stackDebug {
    		for vid, i := range s.interfere {
    			if len(i) > 0 {
    				fmt.Printf("v%d interferes with", vid)
    				for _, x := range i {
    					fmt.Printf(" v%d", x)
    				}
    				fmt.Println()
    			}
    		}
    	}
    }
    
    func hasAnyArgOp(v *Value) bool {
    	return v.Op == OpArg || v.Op == OpArgIntReg || v.Op == OpArgFloatReg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/init.go

    		return
    	}
    	if cfg.BuildRace && cfg.BuildMSan {
    		fmt.Fprintf(os.Stderr, "go: may not use -race and -msan simultaneously\n")
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    	if cfg.BuildRace && cfg.BuildASan {
    		fmt.Fprintf(os.Stderr, "go: may not use -race and -asan simultaneously\n")
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    	if cfg.BuildMSan && cfg.BuildASan {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top