Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tryAdd (0.12 sec)

  1. 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)
  2. 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