- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 126 for flag (1.2 sec)
-
src/cmd/go/internal/test/testflag.go
// go test -x math func testFlags(args []string) (packageNames, passToTest []string) { base.SetFromGOFLAGS(&CmdTest.Flag) addFromGOFLAGS := map[string]bool{} CmdTest.Flag.Visit(func(f *flag.Flag) { if short := strings.TrimPrefix(f.Name, "test."); passFlagToTest[short] { addFromGOFLAGS[f.Name] = true } }) // firstUnknownFlag helps us report an error when flags not known to 'go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/edit.go
cmdEdit.Run = runEditwork // break init cycle cmdEdit.Flag.Var(flagFunc(flagEditworkGodebug), "godebug", "") cmdEdit.Flag.Var(flagFunc(flagEditworkDropGodebug), "dropgodebug", "") cmdEdit.Flag.Var(flagFunc(flagEditworkUse), "use", "") cmdEdit.Flag.Var(flagFunc(flagEditworkDropUse), "dropuse", "") cmdEdit.Flag.Var(flagFunc(flagEditworkReplace), "replace", "") cmdEdit.Flag.Var(flagFunc(flagEditworkDropReplace), "dropreplace", "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/go/internal/clean/clean.go
func init() { // break init cycle CmdClean.Run = runClean CmdClean.Flag.BoolVar(&cleanI, "i", false, "") CmdClean.Flag.BoolVar(&cleanR, "r", false, "") CmdClean.Flag.BoolVar(&cleanCache, "cache", false, "") CmdClean.Flag.BoolVar(&cleanFuzzcache, "fuzzcache", false, "") CmdClean.Flag.BoolVar(&cleanModcache, "modcache", false, "") CmdClean.Flag.BoolVar(&cleanTestcache, "testcache", false, "") // -n and -x are important enough to be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
if phase == "intrinsics" { switch flag { case "on": IntrinsicsDisable = val == 0 case "off": IntrinsicsDisable = val != 0 case "debug": IntrinsicsDebug = val default: return fmt.Sprintf("Did not find a flag matching %s in -d=ssa/%s debug option (expected ssa/intrinsics/{on,off,debug})", flag, phase) } return "" } if phase == "build" { switch flag { case "debug":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/compile/internal/noder/noder.go
verb = verb[:i] } flag := pragmaFlag(verb) const runtimePragmas = ir.Systemstack | ir.Nowritebarrier | ir.Nowritebarrierrec | ir.Yeswritebarrierrec if !base.Flag.CompilingRuntime && flag&runtimePragmas != 0 { p.error(syntax.Error{Pos: pos, Msg: fmt.Sprintf("//%s only allowed in runtime", verb)}) } if flag == ir.UintptrKeepAlive && !base.Flag.Std {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:40:57 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/doc/main.go
package main import ( "bytes" "flag" "fmt" "go/build" "go/token" "io" "log" "os" "path" "path/filepath" "strings" "cmd/internal/telemetry" ) var ( unexported bool // -u flag matchCase bool // -c flag chdir string // -C flag showAll bool // -all flag showCmd bool // -cmd flag showSrc bool // -src flag short bool // -short flag )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
) var ( // main operation modes list = flag.Bool("l", false, "list files whose formatting differs from gofmt's") write = flag.Bool("w", false, "write result to (source) file instead of stdout") rewriteRule = flag.String("r", "", "rewrite rule (e.g., 'a[b:len(a)] -> a[b:]')") simplifyAST = flag.Bool("s", false, "simplify code") doDiff = flag.Bool("d", false, "display diffs instead of rewriting files")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/download.go
) func init() { cmdDownload.Run = runDownload // break init cycle // TODO(jayconrod): https://golang.org/issue/35849 Apply -x to other 'go mod' commands. cmdDownload.Flag.BoolVar(&cfg.BuildX, "x", false, "") base.AddChdirFlag(&cmdDownload.Flag) base.AddModCommonFlags(&cmdDownload.Flag) } // A ModuleJSON describes the result of go mod download. type ModuleJSON struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 19:32:39 UTC 2023 - 13.5K bytes - Viewed (0) -
src/archive/tar/writer.go
} // Write the extended header file. var name string var flag byte if isGlobal { name = realName if name == "" { name = "GlobalHead.0.0" } flag = TypeXGlobalHeader } else { dir, file := path.Split(realName) name = path.Join(dir, "PaxHeaders.0", file) flag = TypeXHeader } data := buf.String() if len(data) > maxSpecialFileSize {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
The -changed flag prints only those settings whose effective value differs from the default value that would be obtained in an empty environment with no prior uses of the -w flag. For more about environment variables, see 'go help environment'. `, } func init() { CmdEnv.Run = runEnv // break init cycle base.AddChdirFlag(&CmdEnv.Flag) base.AddBuildFlagsNX(&CmdEnv.Flag) } var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0)