Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Testing (1.53 sec)

  1. src/cmd/cgo/internal/test/callback.go

    	if f == nil {
    		panic("missing callback function")
    	}
    	f()
    }
    
    func testCallback(t *testing.T) {
    	var x = false
    	nestedCall(func() { x = true })
    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    func testCallbackGC(t *testing.T) {
    	nestedCall(runtime.GC)
    }
    
    func testCallbackPanic(t *testing.T) {
    	// Make sure panic during callback unwinds properly.
    	if lockedOSThread() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  2. api/go1.3.txt

    pkg syscall (windows-amd64), type TCPKeepalive struct, OnOff uint32
    pkg syscall (windows-amd64), type TCPKeepalive struct, Time uint32
    pkg testing, method (*B) RunParallel(func(*PB))
    pkg testing, method (*B) SetParallelism(int)
    pkg testing, method (*PB) Next() bool
    pkg testing, type PB struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
Back to top