- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Matloob (0.25 sec)
-
src/cmd/internal/telemetry/telemetry.go
// and value.String() for the flag's value. func CountFlagValue(prefix string, flagSet flag.FlagSet, flagName string) { // TODO(matloob): Maybe pass in a list of flagNames if we end up counting // values for more than one? // TODO(matloob): Add this to x/telemetry? flagSet.Visit(func(f *flag.Flag) { if f.Name == flagName { counter.New(prefix + f.Name + ":" + f.Value.String()).Inc() } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:47:30 UTC 2024 - 3.6K bytes - Viewed (0) -
src/internal/runtime/atomic/stubs.go
//go:noescape func Storeuintptr(ptr *uintptr, new uintptr) //go:noescape func Loaduintptr(ptr *uintptr) uintptr //go:noescape func Loaduint(ptr *uint) uint // TODO(matloob): Should these functions have the go:noescape annotation? //go:noescape func Loadint32(ptr *int32) int32 //go:noescape func Loadint64(ptr *int64) int64 //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.2K bytes - Viewed (0) -
src/runtime/pprof/label.go
// A label overwrites a prior label with the same key. func WithLabels(ctx context.Context, labels LabelSet) context.Context { parentLabels := labelValue(ctx) childLabels := make(labelMap, len(parentLabels)) // TODO(matloob): replace the map implementation with something // more efficient so creating a child context WithLabels doesn't need // to clone the map. for k, v := range parentLabels { childLabels[k] = v }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
func (rp *IndexPackage) ScanDir(tags map[string]bool) (sortedImports []string, sortedTestImports []string, err error) { // TODO(matloob) dir should eventually be relative to indexed directory // TODO(matloob): skip reading raw package and jump straight to data we need? defer func() { if e := recover(); e != nil { err = fmt.Errorf("error reading module index: %v", e) } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys.go
} func (n *node) isDir() bool { return n.actualFilePath == "" && n.children != nil } func (n *node) isDeleted() bool { return n.actualFilePath == "" && n.children == nil } // TODO(matloob): encapsulate these in an io/fs-like interface var overlay map[string]*node // path -> file or directory node var cwd string // copy of base.Cwd() to avoid dependency
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
type JSONSuggestedFix struct { Message string `json:"message"` Edits []JSONTextEdit `json:"edits"` } // A JSONDiagnostic describes the JSON schema of an analysis.Diagnostic. // // TODO(matloob): include End position if present. type JSONDiagnostic struct { Category string `json:"category,omitempty"` Posn string `json:"posn"` // e.g. "file.go:line:column"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
buildVersion := buildcfg.Version if goexperiment := buildcfg.Experiment.String(); goexperiment != "" { buildVersion += " X:" + goexperiment } addstrdata1(ctxt, "runtime.buildVersion="+buildVersion) // TODO(matloob): define these above and then check flag values here if ctxt.Arch.Family == sys.AMD64 && buildcfg.GOOS == "plan9" { flag.BoolVar(&flag8, "8", false, "use 64-bit addresses in symbol table") }
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/go/internal/work/gc.go
// to the path the disk path would be rewritten to. cgoFiles := make(map[string]bool) for _, f := range a.Package.CgoFiles { cgoFiles[f] = true } // TODO(matloob): Higher up in the stack, when the logic for deciding when to make copies // of c/c++/m/f/hfiles is consolidated, use the same logic that Build uses to determine
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/cache.go
// cache is being served by a GOPROXY HTTP server. This will be corrected // the next time a new version of the module is fetched and the file is rewritten. // TODO(matloob): golang.org/issue/43313 covers adding a go mod verify // command that removes module versions that fail checksums. It should also // remove list files that are detected to be corrupt. f, err := lockedfile.Edit(listFile)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 24.7K bytes - Viewed (0)