- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 184 for narg (0.05 sec)
-
src/cmd/trace/main.go
// Go 1.7 traces embed symbol info and does not require the binary. // But we optionally accept binary as first arg for Go 1.5 traces. switch flag.NArg() { case 1: traceFile = flag.Arg(0) case 2: programBinary = flag.Arg(0) traceFile = flag.Arg(1) default: flag.Usage() } tracef, err := os.Open(traceFile) if err != nil {
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/runtime/mklockrank.go
"deadlock": true, } func main() { flagO := flag.String("o", "", "write to `file` instead of stdout") flagDot := flag.Bool("dot", false, "emit graphviz output instead of Go") flag.Parse() if flag.NArg() != 0 { fmt.Fprintf(os.Stderr, "too many arguments") os.Exit(2) } g, err := dag.Parse(ranks) if err != nil { log.Fatal(err) } var out []byte if *flagDot {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/distpack/pack.go
func main() { log.SetPrefix("distpack: ") log.SetFlags(0) telemetry.Start() flag.Usage = usage flag.Parse() telemetry.Inc("distpack/invocations") telemetry.CountFlags("distpack/flag:", *flag.CommandLine) if flag.NArg() != 0 { usage() } // Load context. goroot = runtime.GOROOT() if goroot == "" { log.Fatalf("missing $GOROOT") } gohostos = runtime.GOOS gohostarch = runtime.GOARCH goos = os.Getenv("GOOS")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/dist/util.go
} return nil } func (c *count) IsBoolFlag() bool { return true } func xflagparse(maxargs int) { flag.Var((*count)(&vflag), "v", "verbosity") flag.Parse() if maxargs >= 0 && flag.NArg() > maxargs { flag.Usage() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 17:50:29 UTC 2023 - 11.2K bytes - Viewed (0) -
src/runtime/mkpreempt.go
"ppc64x": genPPC64, "riscv64": genRISCV64, "s390x": genS390X, "wasm": genWasm, } var beLe = map[string]bool{"mips64x": true, "mipsx": true, "ppc64x": true} func main() { flag.Parse() if flag.NArg() > 0 { out = os.Stdout for _, arch := range flag.Args() { gen, ok := arches[arch] if !ok { log.Fatalf("unknown arch %s", arch) } header(arch) gen() } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/dist/build.go
// Start final link command line. // Note: code below knows that link.p[targ] is the target. var ( link []string targ int ispackcmd bool ) if ispkg { // Go library (package). ispackcmd = true link = []string{"pack", packagefile(pkg)} targ = len(link) - 1 xmkdirall(filepath.Dir(link[targ])) } else { // Go command. elem := name if elem == "go" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/dist/test.go
if nlines := len(parts) - 1; nlines < 1 { fatalf("Error running %s: output contains <1 lines\n%s", cmd, cmd.Stderr) } t.cgoEnabled, _ = strconv.ParseBool(parts[0]) if flag.NArg() > 0 && t.runRxStr != "" { fatalf("the -run regular expression flag is mutually exclusive with test name arguments") } t.runNames = flag.Args()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-retval-attrs.pbtxt
node { name: "arg0" op: "_Arg" attr { key: "T" value { type: DT_FLOAT } } attr { key: "index" value { i: 0 } } } node { name: "arg1" op: "_Arg" attr { key: "T" value { type: DT_INT32 } } attr { key: "_arg1_attr0"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 24 00:18:34 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/device-arg-retval-attr.mlir
} } // CHECK: node { // CHECK-NEXT: name: "args_0" // CHECK-NEXT: op: "_Arg" // CHECK: device: "/CPU:0" // CHECK: attr { // CHECK: key: "index" // CHECK-NEXT: value { // CHECK-NEXT: i: 0 // // CHECK: node { // CHECK-NEXT: name: "args_1" // CHECK-NEXT: op: "_Arg" // CHECK-NOT: device // CHECK: attr { // CHECK: key: "index"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 25 12:28:56 UTC 2022 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt
# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s --mlir-print-debuginfo --print-after-all -tf-input-arrays=arg -tf-input-data-types=DT_INT32 -tf-input-shapes=8 -tf-output-arrays=arg -o - | FileCheck %s node { name: "arg" op: "_Arg" attr { key: "T" value { type: DT_INT32 } } attr { key: "index" value { i: 0 } } } versions { producer: 27
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 25 01:00:57 UTC 2021 - 775 bytes - Viewed (0)