Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tryAdd (0.09 sec)

  1. src/runtime/pprof/proto.go

    // location at 0x4553ee, with file/line/function symbolization info representing
    // the three layers of calls. It does that via sequential calls to pcDeck.tryAdd
    // starting with the leaf-most address. The fourth call to pcDeck.tryAdd will be
    // for the caller of main.main. Because main.main was not inlined in its caller,
    // the deck will reject the addition, and the fourth PC on the stack will get
    // its own location.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    			{Value: []int64{50, 50 * period}, Location: []*profile.Location{{ID: 1}}},
    		},
    	}, {
    		name: "bug35538",
    		input: []uint64{
    			3, 0, 500, // hz = 500. Must match the period.
    			// Fake frame: tryAdd will have inlinedCallerDump
    			// (stack[1]) on the deck when it encounters the next
    			// inline function. It should accept this.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/load.go

    )
    
    // pathInModuleCache returns the import path of the directory dir,
    // if dir is in the module cache copy of a module in our build list.
    func pathInModuleCache(ctx context.Context, dir string, rs *Requirements) string {
    	tryMod := func(m module.Version) (string, bool) {
    		if gover.IsToolchain(m.Path) {
    			return "", false
    		}
    		var root string
    		var err error
    		if repl := Replacement(m); repl.Path != "" && repl.Version == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top