Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for defaults (1.06 sec)

  1. src/cmd/asm/main.go

    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    	ctxt.Debugpcln = flags.DebugFlags.PCTab
    	ctxt.IsAsm = true
    	ctxt.Pkgpath = *flags.Importpath
    	switch *flags.Spectre {
    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    		// known to compiler; ignore here so people can use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/fix/main.go

    		os.Exit(exitCode)
    	}
    
    	for i := 0; i < flag.NArg(); i++ {
    		path := flag.Arg(i)
    		switch dir, err := os.Stat(path); {
    		case err != nil:
    			report(err)
    		case dir.IsDir():
    			walkDir(path)
    		default:
    			if err := processFile(path, false); err != nil {
    				report(err)
    			}
    		}
    	}
    
    	os.Exit(exitCode)
    }
    
    const parserMode = parser.ParseComments
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/dist/main.go

    			gohostarch = "amd64"
    		}
    		if strings.Contains(out, "i386") {
    			gohostarch = "386"
    		}
    	case "windows":
    		exe = ".exe"
    	}
    
    	sysinit()
    
    	if gohostarch == "" {
    		// Default Unix system.
    		out := run("", CheckExit, "uname", "-m")
    		outAll := run("", CheckExit, "uname", "-a")
    		switch {
    		case strings.Contains(outAll, "RELEASE_ARM64"):
    			// MacOS prints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/swig/testdata/callback/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    	println("OK")
    }
    
    func fatal(f string, args ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top