Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Matloob (0.68 sec)

  1. src/cmd/compile/internal/ssa/func_test.go

    //
    // and the Blocks or Values used in the Func can be accessed
    // like this:
    //   fun.blocks["entry"] or fun.values["deadval"]
    
    package ssa
    
    // TODO(matloob): Choose better names for Fun, Bloc, Goto, etc.
    // TODO(matloob): Write a parser for the Func disassembly. Maybe
    // the parser can be used instead of Fun.
    
    import (
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top