Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Matloob (0.27 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/cmd/go/testdata/script/test_match_benchmark_labels.txt

    # Benchmark labels, file outside gopath
    # TODO(matloob): This test was called TestBenchmarkLabelsOutsideGOPATH
    # why "OutsideGOPATH"? Does the go command need to be run outside GOPATH?
    # Do the files need to exist outside GOPATH?
    cp $GOPATH/src/standalone_benchmark_test.go $WORK/tmp/standalone_benchmark_test.go
    go test -run '^$' -bench . $WORK/tmp/standalone_benchmark_test.go
    stdout '^goos: '$GOOS
    stdout '^goarch: '$GOARCH
    ! stdout '^pkg:'
    ! stderr '^pkg:'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 20:48:08 UTC 2020
    - 577 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_cgo_consistent_results.txt

    [GOOS:solaris] skip "skipping on Solaris; see golang.org/issue/13247"
    [GOOS:illumos] skip "skipping on Solaris; see golang.org/issue/13247"
    
    go build -o $WORK/exe1$GOEXE cgotest
    go build -x -o $WORK/exe2$GOEXE cgotest
    
    # TODO(matloob): skip if stderr does not contain '-fdebug-prefix-map=\$WORK'
    
    cmp $WORK/exe1$GOEXE $WORK/exe2$GOEXE
    
    -- go.mod --
    module cgotest
    
    go 1.16
    -- m.go --
    package cgotest
    
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 451 bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/testdata/script/build_overlay.txt

    ! stdout .
    
    
    -- m/go.mod --
    // TODO(matloob): how do overlays work with go.mod (especially if mod=readonly)
    module m
    
    go 1.16
    
    -- m/dir2/h.go --
    package dir2
    
    func PrintMessage() {
    	printMessage()
    }
    -- m/dir/foo.txt --
    The build action code currently expects the package directory
    to exist, so it can run the compiler in that directory.
    TODO(matloob): Remove this requirement.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/internal/trace/trace.go

    		Phase:    phaseFlowStart,
    		TID:      from.tid,
    	})
    	tc.t.writeEvent(&format.Event{
    		Name:      from.name + " -> " + to.name,
    		Category:  "flow", // TODO(matloob): Add Category to Flow?
    		ID:        id,
    		Time:      float64(to.start.UnixNano()) / float64(time.Microsecond),
    		Phase:     phaseFlowEnd,
    		TID:       to.tid,
    		BindPoint: bindEnclosingSlice,
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. 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