Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for caller (1.21 sec)

  1. src/cmd/compile/internal/ssagen/nowb.go

    	}
    	for !q.Empty() {
    		fn := q.PopLeft().Func
    
    		// Check fn.
    		if fn.WBPos.IsKnown() {
    			var err strings.Builder
    			call := funcs[fn]
    			for call.target != nil {
    				fmt.Fprintf(&err, "\n\t%v: called by %v", base.FmtPos(call.lineno), call.target.Nname)
    				call = funcs[call.target]
    			}
    			// Seeing this error in a failed CI run? It indicates that
    			// a function in the runtime package marked nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/dcl.go

    //
    // Before returning, it sets CurFunc to fn. When the caller is done
    // constructing fn, it must call FinishFuncBody to restore CurFunc.
    func DeclFunc(fn *ir.Func) {
    	fn.DeclareParams(true)
    	fn.Nname.Defn = fn
    	Target.Funcs = append(Target.Funcs, fn)
    
    	funcStack = append(funcStack, ir.CurFunc)
    	ir.CurFunc = fn
    }
    
    // FinishFuncBody restores ir.CurFunc to its state before the last
    // call to DeclFunc.
    func FinishFuncBody() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/internal/pgo/pprof.go

    	}
    
    	return &Profile{
    		TotalWeight:  totalWeight,
    		NamedEdgeMap: namedEdgeMap,
    	}, nil
    }
    
    // createNamedEdgeMap builds a map of callsite-callee edge weights from the
    // profile-graph.
    //
    // Caller should ignore the profile if totalWeight == 0.
    func createNamedEdgeMap(g *profile.Graph) (edgeMap NamedEdgeMap, totalWeight int64, err error) {
    	seenStartLine := false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/cmd/internal/pgo/serialize_test.go

    	}
    
    	d := emptyProfile()
    
    	for {
    		caller, ok := consumeString()
    		if !ok {
    			break
    		}
    		if strings.ContainsAny(caller, " \r\n") {
    			t.Skip("caller contains space or newline")
    		}
    
    		callee, ok := consumeString()
    		if !ok {
    			break
    		}
    		if strings.ContainsAny(callee, " \r\n") {
    			t.Skip("callee contains space or newline")
    		}
    
    		line, ok := consumeInt64()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/deadcode.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/internal/src"
    )
    
    // findlive returns the reachable blocks and live values in f.
    // The caller should call f.Cache.freeBoolSlice(live) when it is done with it.
    func findlive(f *Func) (reachable []bool, live []bool) {
    	reachable = ReachableBlocks(f)
    	var order []*Value
    	live, order = liveValues(f, reachable)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    	Sources []int // Indices in StackSet.Sources (callers before callees).
    }
    
    // StackSource holds function/location info for a stack entry.
    type StackSource struct {
    	FullName   string
    	FileName   string
    	UniqueName string // Disambiguates functions with same names
    	Inlined    bool   // If true this source was inlined into its caller
    
    	// Alternative names to display (with decreasing lengths) to make text fit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/action.go

    // It is up to the caller to call b.Mkdir on the result at an appropriate time.
    // The result ends in a slash, so that file names in that directory
    // can be constructed with direct string addition.
    //
    // NewObjdir must be called only from a single goroutine at a time,
    // so it is safe to call during action graph construction, but it must not
    // be called during action graph execution.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/buildlist.go

    // The dependencies of the roots will be loaded lazily at the first call to the
    // Graph method.
    //
    // The rootModules slice must be sorted according to gover.ModSort.
    // The caller must not modify the rootModules slice or direct map after passing
    // them to newRequirements.
    //
    // If vendoring is in effect, the caller must invoke initVendor on the returned
    // *Requirements before any other method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/inline/inlheur/scoring.go

    	callee := cs.Callee
    	csflags := cs.Flags
    	call := cs.Call
    
    	// Start with the size-based score for the callee.
    	score := int(callee.Inl.Cost)
    	var tmask scoreAdjustTyp
    
    	if debugTrace&debugTraceScoring != 0 {
    		fmt.Fprintf(os.Stderr, "=-= scoring call to %s at %s , initial=%d\n",
    			callee.Sym().Name, fmtFullPos(call.Pos()), score)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/buildid.go

    // the caller will build the target and then call updateBuildID to finish the
    // build ID computation.
    // When useCache returns false, it may have initiated buffering of output
    // during a's work. The caller should defer b.flushOutput(a), to make sure
    // that flushOutput is eventually called regardless of whether the action
    // succeeds. The flushOutput call must happen after updateBuildID.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top