- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for PInt4 (0.09 sec)
-
test/convert4.go
) // Test with named types type Slice []int type Int4 [4]int type PInt4 *[4]int ii := make(Slice, 4) if p := (*Int4)(ii); &p[0] != &ii[0] { panic("*Int4 conversion failed") } if p := PInt4(ii); &p[0] != &ii[0] { panic("PInt4 conversion failed") } } // test static variable conversion var ( ss = make([]string, 10) s5 = (*[5]string)(ss)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 19 18:58:26 UTC 2022 - 2.1K bytes - Viewed (0)