- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tB2 (0.01 sec)
-
test/escape_struct_return.go
func tA3() { s := "cat" sp := &s spp := &sp u := A(sp, spp) println(**u._spp) } func tB1() { s := "cat" sp := &s spp := &sp u := B(spp) _ = u println(s) } func tB2() { s := "cat" sp := &s spp := &sp u := B(spp) println(*u._sp) } func tB3() { s := "cat" sp := &s spp := &sp u := B(spp) println(**u._spp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:32 UTC 2021 - 1K bytes - Viewed (0) -
src/internal/types/testdata/check/const0.go
) type ( mybool bool myint int myfloat float64 mycomplex complex128 ) // typed constants const ( // boolean values tb0 bool = false tb1 bool = true tb2 mybool = 2 < 1 tb3 mybool = ti1 == tf1 /* ERROR "mismatched types" */ // integer values ti0 int8 = ui0 ti1 int32 = ui1 ti2 int64 = ui2 ti3 myint = ui3 /* ERROR "overflows" */ ti4 myint = ui4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 9.2K bytes - Viewed (0)