Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStopCPUProfilingWithProfilerOff (0.35 sec)

  1. src/runtime/runtime_test.go

    	}
    }
    
    func defer3() {
    	defer func(x, y, z int) {
    		if recover() == nil {
    			panic("failed recover")
    		}
    	}(1, 2, 3)
    	panic("hi")
    }
    
    // golang.org/issue/7063
    func TestStopCPUProfilingWithProfilerOff(t *testing.T) {
    	SetCPUProfileRate(0)
    }
    
    // Addresses to test for faulting behavior.
    // This is less a test of SetPanicOnFault and more a check that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top