- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 200 for Map (0.14 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go
} m := &argMatcher{t: t, seen: make(map[types.Type]bool)} ok = m.match(typ, true) return m.reason, ok } // argMatcher recursively matches types against the printfArgType t. // // To short-circuit recursion, it keeps track of types that have already been // matched (or are in the process of being matched) via the seen map. Recursion // arises from the compound types {map,chan,slice} which may be printed with %d
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/internal/objabi/pkgspecial.go
} var ( pkgSpecials map[string]PkgSpecial pkgSpecialsOnce sync.Once ) // LookupPkgSpecial returns special build properties for the given package path. func LookupPkgSpecial(pkgPath string) PkgSpecial { pkgSpecialsOnce.Do(func() { // Construct pkgSpecials from various package lists. This lets us use // more flexible logic, while keeping the final map simple, and avoids // the init-time cost of a map.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 02:32:19 UTC 2024 - 3.8K bytes - Viewed (0) -
src/internal/trace/event/event.go
"stack", // stack ID "value", // uint64 "task", // trace.TaskID } // Names is a helper that produces a mapping of event names to event types. func Names(specs []Spec) map[string]Type { nameToType := make(map[string]Type) for i, spec := range specs { nameToType[spec.Name] = Type(byte(i)) } return nameToType } // Experiment is an experiment ID that events may be associated with.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.4K bytes - Viewed (0) -
src/internal/trace/testdata/mktests.go
log.Fatal(err) } if err := ctx.runTestProg("./testprog/annotations-stress.go"); err != nil { log.Fatal(err) } } type context struct { testNames map[string]struct{} filter *regexp.Regexp } func newContext() (*context, error) { var filter *regexp.Regexp var err error if pattern := os.Getenv("GOTRACETEST"); pattern != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/cgo/godefs.go
fmt.Fprintf(&buf, "\n") override := make(map[string]string) // Allow source file to specify override mappings. // For example, the socket data structures refer // to in_addr and in_addr6 structs but we want to be // able to treat them as byte arrays, so the godefs // inputs in package syscall say // // // +godefs map struct_in_addr [4]byte // // +godefs map struct_in_addr6 [16]byte //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/internal/pgo/serialize.go
// license that can be found in the LICENSE file. package pgo import ( "bufio" "fmt" "io" ) // Serialization of a Profile allows go tool preprofile to construct the edge // map only once (rather than once per compile process). The compiler processes // then parse the pre-processed data directly from the serialized format. // // The format of the serialized output is as follows. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.8K bytes - Viewed (0) -
src/crypto/purego_test.go
cmd = exec.Command(testenv.GoToolPath(t), "tool", "dist", "list") cmd.Stderr = os.Stderr out, err = cmd.Output() if err != nil { log.Fatalf("loading architecture list: %v\n%s", err, out) } allGOARCH := make(map[string]bool) for _, pair := range strings.Split(strings.TrimSpace(string(out)), "\n") { GOARCH := strings.Split(pair, "/")[1] allGOARCH[GOARCH] = true } for _, pkgName := range pkgs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/mono.go
// // For example, given: // // func f[A, B any]() { // type T int // f[T, map[A]B]() // } // // we construct vertices representing types A, B, and T. Because of // declaration "type T int", we construct edges T<-A and T<-B with // weight 1; and because of instantiation "f[T, map[A]B]" we construct // edges A<-T with weight 0, and B<-A and B<-B with weight 1. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 00:05:29 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/pprof/pprof.go
if start != 0 { if load, err := of.LoadAddress(); err == nil { f.offset = start - load } } return f, nil } func (*objTool) Demangle(names []string) (map[string]string, error) { // No C++, nothing to demangle. return make(map[string]string), nil } func (t *objTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]driver.Inst, error) { if intelSyntax {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/driver/driver.go
type Symbolizer interface { Symbolize(mode string, srcs MappingSources, prof *profile.Profile) error } // MappingSources map each profile.Mapping to the source of the profile. // The key is either Mapping.File or Mapping.BuildId. type MappingSources map[string][]struct { Source string // URL of the source the mapping was collected from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 9.8K bytes - Viewed (0)