- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HasProgram (0.11 sec)
-
src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go
} } for _, s := range p.Stacks { ucfg.pgstack[pgkey{p.Name, s.Name}] = true ucfg.rate[pgkey{p.Name, s.Name}] = s.Rate } } return &ucfg } func (r *Config) HasProgram(s string) bool { return r.program[s] } func (r *Config) HasGOOS(s string) bool { return r.goos[s] } func (r *Config) HasGOARCH(s string) bool { return r.goarch[s] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go
} for _, p := range report.Programs { // does the uploadConfig want this program? // if so, copy over the Stacks and Counters // that the uploadConfig mentions. if !cfg.HasGoVersion(p.GoVersion) || !cfg.HasProgram(p.Program) || !cfg.HasVersion(p.Program, p.Version) { continue } x := &telemetry.ProgramReport{ Program: p.Program, Version: p.Version, GOOS: p.GOOS, GOARCH: p.GOARCH,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.3K bytes - Viewed (0)