- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for return (0.14 sec)
-
doc/go1.17_spec.html
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
//export goReturnVal func goReturnVal() (r C.int) { // Force a stack copy. var f func(int) int f = func(i int) int { var buf [256]byte use(buf[:]) if i == 0 { return 0 } return i + f(i-1) } r = C.int(f(128)) return } // Test that C can pass in a Go string from a string constant. func testCallGoWithString(t *testing.T) { C.callGoWithString() want := "string passed from C to Go"
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)