Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCallbackStack (1.69 sec)

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

    func TestCallbackPanicLocked(t *testing.T)   { testCallbackPanicLocked(t) }
    func TestCallbackPanicLoop(t *testing.T)     { testCallbackPanicLoop(t) }
    func TestCallbackStack(t *testing.T)         { testCallbackStack(t) }
    func TestCflags(t *testing.T)                { testCflags(t) }
    func TestCheckConst(t *testing.T)            { testCheckConst(t) }
    func TestConst(t *testing.T)                 { testConst(t) }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback.go

    		t.Errorf("string passed through C is %s, want %s", stringFromGo, want)
    	}
    }
    
    var stringFromGo string
    
    //export goWithString
    func goWithString(s string) {
    	stringFromGo = s
    }
    
    func testCallbackStack(t *testing.T) {
    	// Make cgo call and callback with different amount of stack available.
    	// We do not do any explicit checks, just ensure that it does not crash.
    	for _, f := range splitTests {
    		f()
    	}
    }
    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)
Back to top