Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for recursionCallee (0.3 sec)

  1. src/runtime/pprof/pprof_test.go

    			if name := line.Function.Name; name == "runtime/pprof.recursionCaller" || name == "runtime/pprof.recursionCallee" {
    				recursionFunc++
    			}
    		}
    		if recursionFunc > 1 {
    			t.Fatalf("want at most one recursionCaller or recursionCallee in one Location, got a violating Location (index: %d):\n%v", i, p)
    		}
    	}
    }
    
    func recursionCaller(x int) int {
    	y := recursionCallee(3, x)
    	return y
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top