Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for callersInlined (0.15 sec)

  1. src/runtime/callers_test.go

    }
    
    func callersInlined(b *testing.B, n int) int {
    	if n <= 0 {
    		pcs := make([]uintptr, 32)
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    			runtime.Callers(0, pcs)
    		}
    		b.StopTimer()
    		return 0
    	}
    	return 1 + callersInlined1(b, n-1)
    }
    func callersInlined1(b *testing.B, n int) int { return callersInlined2(b, n) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top