Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for formalized (0.42 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    			// them.
    			return Merge([]*Profile{p})
    		}
    	}
    
    	return p, nil
    }
    
    // Normalize normalizes the source profile by multiplying each value in profile by the
    // ratio of the sum of the base profile's values of that sample type to the sum of the
    // source profile's value of that sample type.
    func (p *Profile) Normalize(pb *Profile) error {
    
    	if err := p.compatible(pb); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/obj6_test.go

    			input_insns = append(input_insns, input_insn)
    			r.marker_to_input[marker] = append(r.marker_to_input[marker], normalize(input_insn))
    		}
    		for _, expected_insn := range strings.Split(parts[1], ";") {
    			r.marker_to_expected[marker] = append(r.marker_to_expected[marker], normalize(expected_insn))
    		}
    		marker++
    	}
    	r.input = "TEXT ·foo(SB),$0\n" + strings.Join(input_insns, "\n") + "\n"
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:30 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    	}
    
    	if err := source.addBaseProfiles(*flagBase, *flagDiffBase); err != nil {
    		return nil, nil, err
    	}
    
    	normalize := cfg.Normalize
    	if normalize && len(source.Base) == 0 {
    		return nil, nil, errors.New("must have base profile to normalize by")
    	}
    	source.Normalize = normalize
    
    	if bu, ok := o.Obj.(*binutils.Binutils); ok {
    		bu.SetTools(*flagTools)
    	}
    
    	setCurrentConfig(cfg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/path/filepath/63703.md

    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Previous versions default to `winsymlink=0`.
    
    On Windows, [EvalSymlinks] no longer tries to normalize
    volumes to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    For Go 1.23, it defaults to `winreadlinkvolume=1`.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 545 bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    	IntelSyntax         bool    `json:"intel_syntax,omitempty"`
    	Mean                bool    `json:"mean,omitempty"`
    	SampleIndex         string  `json:"-"`
    	DivideBy            float64 `json:"-"`
    	Normalize           bool    `json:"normalize,omitempty"`
    	Sort                string  `json:"sort,omitempty"`
    
    	// Label pseudo stack frame generation options
    	TagRoot string `json:"tagroot,omitempty"`
    	TagLeaf string `json:"tagleaf,omitempty"`
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_cwd_newline.txt

    [GOOS:windows] skip 'filesystem normalizes / to \'
    [GOOS:plan9] skip 'filesystem disallows \n in paths'
    
    # If the directory path containing a package to be built includes a newline,
    # the go command should refuse to even try to build the package.
    
    env DIR=$WORK${/}${newline}'package main'${newline}'func main() { panic("uh-oh")'${newline}'/*'
    
    mkdir $DIR
    cd $DIR
    exec pwd
    cp $WORK/go.mod ./go.mod
    cp $WORK/main.go ./main.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/stmt.go

    		}
    	}
    	n.Post = Stmt(n.Post)
    	Stmts(n.Body)
    	return n
    }
    
    // tcGoDefer typechecks (normalizes) an OGO/ODEFER statement.
    func tcGoDefer(n *ir.GoDeferStmt) {
    	call := normalizeGoDeferCall(n.Pos(), n.Op(), n.Call, n.PtrInit())
    	call.GoDefer = true
    	n.Call = call
    }
    
    // normalizeGoDeferCall normalizes call into a normal function call
    // with no arguments and no results, suitable for use in an OGO/ODEFER
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_overlay.txt

    	"path/filepath"
    	"runtime"
    )
    
    func main() {
    	_, file, _, _ := runtime.Caller(0)
    
    	// Since https://golang.org/cl/214286, the runtime's debug paths are
    	// slash-separated regardless of platform, so normalize them to system file
    	// paths.
    	fmt.Println(filepath.FromSlash(file))
    }
    -- m/overlay2/printpath2.go --
    package main
    
    import (
    	"fmt"
    	"path/filepath"
    	"runtime"
    )
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	if err != nil {
    		return nil, err
    	}
    
    	if pbase != nil {
    		if s.DiffBase {
    			pbase.SetLabel("pprof::base", []string{"true"})
    		}
    		if s.Normalize {
    			err := p.Normalize(pbase)
    			if err != nil {
    				return nil, err
    			}
    		}
    		pbase.Scale(-1)
    		p, m, err = combineProfiles([]*profile.Profile{p, pbase}, []plugin.MappingSources{m, mbase})
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/archive/tar/writer.go

    	return fw.nb
    }
    
    // sparseFileWriter is a fileWriter for writing data to a sparse file entry.
    type sparseFileWriter struct {
    	fw  fileWriter  // Underlying fileWriter
    	sp  sparseDatas // Normalized list of data fragments
    	pos int64       // Current position in sparse file
    }
    
    func (sw *sparseFileWriter) Write(b []byte) (n int, err error) {
    	overwrite := int64(len(b)) > sw.logicalRemaining()
    	if overwrite {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top