- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for from (0.15 sec)
-
doc/go1.17_spec.html
</p> <h3 id="Slice_expressions">Slice expressions</h3> <p> Slice expressions construct a substring or slice from a string, array, pointer to array, or slice. There are two variants: a simple form that specifies a low and high bound, and a full form that also specifies a bound on the capacity. </p> <h4>Simple slice expressions</h4> <p>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
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" if stringFromGo != want { t.Errorf("string passed through C is %s, want %s", stringFromGo, want) } } var stringFromGo string
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)