- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Case (1.13 sec)
-
src/cmd/doc/main.go
err = pkgError return } panic(e) }() switch { case symbol == "": pkg.packageDoc() // The package exists, so we got some output. return case method == "": if pkg.symbolDoc(symbol) { return } case pkg.printMethodDoc(symbol, method): return case pkg.printFieldDoc(symbol, method): return } } }
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/asm/main.go
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 // the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST case "all", "ret": ctxt.Retpoline = true } ctxt.Bso = bufio.NewWriter(os.Stdout) defer ctxt.Bso.Flush()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/objdump/main.go
dis, err := f.Disasm() if err != nil { log.Fatalf("disassemble %s: %v", flag.Arg(0), err) } switch flag.NArg() { default: usage() case 1: // disassembly of entire object dis.Print(os.Stdout, symRE, 0, ^uint64(0), *printCode, *gnuAsm) case 3: // disassembly of PC range start, err := strconv.ParseUint(strings.TrimPrefix(flag.Arg(1), "0x"), 16, 64) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/trace/main.go
if err != nil { logAndDie(err) } var f traceviewer.ProfileFunc switch *pprofFlag { case "net": f = pprofByGoroutine(computePprofIO(), parsed) case "sync": f = pprofByGoroutine(computePprofBlock(), parsed) case "syscall": f = pprofByGoroutine(computePprofSyscall(), parsed) case "sched": f = pprofByGoroutine(computePprofSched(), parsed) default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
Exitf("invalid -R value 0x%x", *FlagRound) } checkStrictDups = *FlagStrictDups switch flagW { case ternaryFlagFalse: *FlagW = false case ternaryFlagTrue: *FlagW = true case ternaryFlagUnset: *FlagW = *FlagS // -s implies -w if not explicitly set if ctxt.IsDarwin() && ctxt.BuildMode == BuildModeCShared {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/main.go
num[r] = int8(i) pkg := a.pkg[len("cmd/internal/obj/"):] var objname string // name in cmd/internal/obj/$ARCH switch r { case "SB": // SB isn't a real register. cmd/internal/obj expects 0 in this case. objname = "0" case "SP": objname = pkg + ".REGSP" case "g": objname = pkg + ".REGG" default: objname = pkg + ".REG_" + r } // Assign a GC register map index to registers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 22:42:34 UTC 2023 - 16.9K bytes - Viewed (0) -
src/cmd/dist/main.go
case strings.Contains(out, "mips64"): gohostarch = "mips64" if elfIsLittleEndian(os.Args[0]) { gohostarch = "mips64le" } case strings.Contains(out, "mips"): gohostarch = "mips" if elfIsLittleEndian(os.Args[0]) { gohostarch = "mipsle" } case strings.Contains(out, "loongarch64"): gohostarch = "loong64" case strings.Contains(out, "riscv64"): gohostarch = "riscv64"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:44:52 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/fix/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go
runY := b.Run("y") var broken *Result switch { case runN.Success && !runY.Success: b.Logf("target succeeds with no changes, fails with all changes") b.Logf("searching for minimal set of enabled changes causing failure") broken = runY b.Disable = false case !runN.Success && runY.Success: b.Logf("target fails with no changes, succeeds with all changes")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 18:11:19 UTC 2023 - 23.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue44956/main.go
// In the test below, package base is // // X = &map{...} // // which compiles to // // X = &stmp // static // stmp = makemap(...) // in init function // // plugin1 and plugin2 both import base. plugin1 doesn't use // base.X, so that symbol is deadcoded in plugin1. // // plugin1 is loaded first. base.init runs at that point, which // initialize base.stmp. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.1K bytes - Viewed (0)