Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Matloob (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/go/internal/modindex/scan.go

    			// return an error to make the module hash invalid.
    			// Symlink directories in modules are tricky, so we won't index
    			// modules that contain them.
    			// TODO(matloob): perhaps don't return this error if the symlink leads to
    			// a directory with a go.mod file.
    			return ErrNotIndexed
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top