- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for Nname (0.22 sec)
-
src/cmd/compile/internal/liveness/plive.go
func shouldTrack(n *ir.Name) bool { return (n.Class == ir.PAUTO && n.Esc() != ir.EscHeap || n.Class == ir.PPARAM || n.Class == ir.PPARAMOUT) && n.Type().HasPointers() } // getvariables returns the list of on-stack variables that we need to track // and a map for looking up indices by *Node. func getvariables(fn *ir.Func) ([]*ir.Name, map[*ir.Name]int32) { var vars []*ir.Name for _, n := range fn.Dcl {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
n = nn.X continue } } break } if n.Op() != ir.ONAME { return false } return s.canSSAName(n.(*ir.Name)) && ssa.CanSSA(n.Type()) } func (s *state) canSSAName(name *ir.Name) bool { if name.Addrtaken() || !name.OnStack() { return false } switch name.Class { case ir.PPARAMOUT: if s.hasdefer {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/go/printer/printer_test.go
func init() { const name = "foobar" var buf bytes.Buffer if err := Fprint(&buf, fset, &ast.Ident{Name: name}); err != nil { panic(err) // error in test } // in debug mode, the result contains additional information; // ignore it if s := buf.String(); !debug && s != name { panic("got " + s + ", want " + name) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 20.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go
} else if match[1] > today { u.logger.Printf("Report date for %q is later than today (%s)", filepath.Base(fname), today) return // report is in the future, which shouldn't happen } buf, err := os.ReadFile(fname) if err != nil { u.logger.Printf("%v reading %s", err, fname) return } if u.uploadReportContents(fname, buf) { // anything left to do? } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 3.4K bytes - Viewed (0) -
buildscripts/checkdeps.sh
#!/usr/bin/env bash # _init() { shopt -s extglob ## Minimum required versions for build dependencies GIT_VERSION="1.0" GO_VERSION="1.16" OSX_VERSION="10.8" KNAME=$(uname -s) ARCH=$(uname -m) case "${KNAME}" in SunOS) ARCH=$(isainfo -k) ;; esac } ## FIXME: ## In OSX, 'readlink -f' option does not exist, hence ## we have our own readlink -f behavior here.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/envoy/proxy.go
} var HostIP = os.Getenv("HOST_IP") // readBootstrapToJSON reads a config file, in YAML or JSON, and returns JSON string func readBootstrapToJSON(fname string) (string, error) { b, err := os.ReadFile(fname) if err != nil { return "", fmt.Errorf("failed to read file: %s, %v", fname, err) } // Replace host with HOST_IP env var if it is "$(HOST_IP)".
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/test/kube/dump.go
c.Name(), pod.Namespace, pod.Name, container.Name, restarts, prow.ArtifactsURL(fname)) } l, err := c.PodLogs(context.TODO(), pod.Name, pod.Namespace, container.Name, true /* previousLog */) if err != nil { scopes.Framework.Warnf("Unable to get previous logs for cluster/pod/container: %s/%s/%s/%s: %v", c.Name(), pod.Namespace, pod.Name, container.Name, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
src/os/user/cgo_lookup_unix.go
Username: _C_GoString(_C_pw_name(pwd)), Name: _C_GoString(_C_pw_gecos(pwd)), HomeDir: _C_GoString(_C_pw_dir(pwd)), } // The pw_gecos field isn't quite standardized. Some docs // say: "It is expected to be a comma separated list of // personal data where the first item is the full name of the // user." u.Name, _, _ = strings.Cut(u.Name, ",") return u }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:08:14 UTC 2024 - 5.2K bytes - Viewed (0) -
src/net/lookup_plan9.go
} return 0, &DNSError{Err: "unknown port", Name: errNetwork + "/" + service, IsNotFound: true} } func (r *Resolver) lookupCNAME(ctx context.Context, name string) (cname string, err error) { if order, conf := systemConf().hostLookupOrder(r, name); order != hostLookupCgo { return r.goLookupCNAME(ctx, name, order, conf) } lines, err := queryDNS(ctx, name, "cname") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:08:38 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go
u.deleteFiles(files) continue } fname, err := u.createReport(earliest[expiry], expiry, files, lastWeek) if err != nil { u.logger.Printf("Failed to create report for %s: %v", expiry, err) continue } if fname != "" { u.logger.Printf("Ready to upload: %s", filepath.Base(fname)) todo.readyfiles = append(todo.readyfiles, fname) } } return todo.readyfiles, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.3K bytes - Viewed (0)