Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 278 for printr (0.13 sec)

  1. src/cmd/compile/internal/syntax/dumper.go

    				if first {
    					p.printf("\n")
    					first = false
    				}
    				p.printf("%s: ", name)
    				p.dump(x.Field(i), nil)
    				p.printf("\n")
    			}
    		}
    
    		p.indent--
    		p.printf("}")
    
    	default:
    		switch x := x.Interface().(type) {
    		case string:
    			// print strings in quotes
    			p.printf("%q", x)
    		default:
    			p.printf("%v", x)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 17:32:14 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/version/version.go

    )
    
    var CmdVersion = &base.Command{
    	UsageLine: "go version [-m] [-v] [file ...]",
    	Short:     "print Go version",
    	Long: `Version prints the build information for Go binary files.
    
    Go version reports the Go version used to build each of the named files.
    
    If no files are named on the command line, go version prints its own
    version information.
    
    If a directory is named, go version walks that directory, recursively,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 19:27:00 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    	}
    	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 {
    			fmt.Fprintf(os.Stderr, "go tool %s: %s\n", toolName, err)
    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/cmd/fix/main.go

    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool fix [-diff] [-r fixname,...] [-force fixname,...] [path ...]\n")
    	flag.PrintDefaults()
    	fmt.Fprintf(os.Stderr, "\nAvailable rewrites are:\n")
    	sort.Sort(byName(fixes))
    	for _, f := range fixes {
    		if f.disabled {
    			fmt.Fprintf(os.Stderr, "\n%s (disabled)\n", f.name)
    		} else {
    			fmt.Fprintf(os.Stderr, "\n%s\n", f.name)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/cmd/asm/main.go

    			break
    		}
    	}
    	if ok && !*flags.SymABIs {
    		ctxt.NumberSyms()
    		obj.WriteObjFile(ctxt, buf)
    	}
    	if !ok || diag {
    		if failedFile != "" {
    			log.Printf("assembly of %s failed", failedFile)
    		} else {
    			log.Print("assembly failed")
    		}
    		buf.Close()
    		os.Remove(*flags.OutputFile)
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. misc/ios/detect.go

    		fail("did not find mobile provision matching device udids %q", udids)
    	}
    
    	fmt.Println("# Available provisioning profiles below.")
    	fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
    	fmt.Println("# will be overwritten when running Go programs.")
    	for _, mp := range mps {
    		fmt.Println()
    		f, err := os.CreateTemp("", "go_ios_detect_")
    		check(err)
    		fname := f.Name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. misc/linkcheck/linkcheck.go

    	}
    	if *verbose {
    		log.Printf("Len of %s: %d", url, len(slurp))
    	}
    	body := string(slurp)
    	for _, ref := range localLinks(body) {
    		if *verbose {
    			log.Printf("  links to %s", ref)
    		}
    		dest := *root + ref
    		linkSources[dest] = append(linkSources[dest], url)
    		crawl(dest, url)
    	}
    	for _, id := range pageIDs(body) {
    		if *verbose {
    			log.Printf(" url %s has #%s", url, id)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/pointer.go

    package types2
    
    // A Pointer represents a pointer type.
    type Pointer struct {
    	base Type // element type
    }
    
    // NewPointer returns a new pointer type for the given element (base) type.
    func NewPointer(elem Type) *Pointer { return &Pointer{base: elem} }
    
    // Elem returns the element type for the given pointer p.
    func (p *Pointer) Elem() Type { return p.base }
    
    func (p *Pointer) Underlying() Type { return p }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 635 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/example_test.go

    		Uses:  make(map[*syntax.Name]types2.Object),
    	}
    	pkg := mustTypecheck(input, nil, &info)
    
    	// Print package-level variables in initialization order.
    	fmt.Printf("InitOrder: %v\n\n", info.InitOrder)
    
    	// For each named object, print the line and
    	// column of its definition and each of its uses.
    	fmt.Println("Defs and Uses of each named object:")
    	usesByObj := make(map[types2.Object][]string)
    	for id, obj := range info.Uses {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue21897.go

    	//fmt.Printf("CFNumberRef: %x\n", uintptr(unsafe.Pointer(xCFNumberRef)))
    }
    
    var xCFNumberRef C.CFNumberRef
    
    func testCFDateRef() {
    	xCFDateRef = C.CFDateCreate(C.kCFAllocatorSystemDefault, 0) // 0 value is 1 Jan 2001 00:00:00 GMT
    	//fmt.Printf("CFDateRef: %x\n", uintptr(unsafe.Pointer(xCFDateRef)))
    }
    
    var xCFDateRef C.CFDateRef
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top