- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for t16 (0.02 sec)
-
src/cmd/compile/internal/test/memcombine_test.go
t.Errorf("T32.littleEndianStore got %x want %x\n", got, want) } t16.bigEndianStore(1<<16 + 2) if got, want := t16, (T16{1, 2}); got != want { t.Errorf("T16.bigEndianStore got %x want %x\n", got, want) } t16.littleEndianStore(1<<16 + 2) if got, want := t16, (T16{2, 1}); got != want { t.Errorf("T16.littleEndianStore got %x want %x\n", got, want) } t8.bigEndianStore(1<<8 + 2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 30 18:35:50 UTC 2023 - 4.5K bytes - Viewed (0) -
test/codegen/switch.go
// amd64:`CALL\truntime.typeAssert`,`MOVL\t16\(AX\)`,`MOVQ\t8\(.*\)(.*\*1)` // arm64:`CALL\truntime.typeAssert`,`LDAR`,`MOVWU\t16\(R0\)`,`MOVD\t\(R.*\)\(R.*\)` if _, ok := x.(I); ok { return 3 } return 5 } func interfaceConv(x IJ) I { // amd64:`CALL\truntime.typeAssert`,`MOVL\t16\(AX\)`,`MOVQ\t8\(.*\)(.*\*1)` // arm64:`CALL\truntime.typeAssert`,`LDAR`,`MOVWU\t16\(R0\)`,`MOVD\t\(R.*\)\(R.*\)` return x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 18:39:50 UTC 2023 - 3.6K bytes - Viewed (0) -
test/fixedbugs/bug336.go
type T12 struct { F1 *T15 F2 *T13 F3 *T16 } type T13 T14 type T14 T15 type T15 T16 type T16 T17 type T17 T12 // issue 1672 type T18 *[10]T19 type T19 T18 func main() { _ = &T1{&T2{}} _ = &T2{&T2{}} _ = &T3{&T4{}} _ = &T4{&T4{}} _ = &T5{&T4{}} _ = &T6{&T4{}} _ = &T7{&T4{}} _ = &T8{&T4{}} _ = &T9{&T4{}} _ = &T12{&T15{}, &T13{}, &T16{}} var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.2K bytes - Viewed (0) -
src/internal/types/testdata/check/cycles5.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 3.2K bytes - Viewed (0) -
src/internal/types/testdata/check/unions.go
// Disallow them for now. package p type t int type ( t00 t; t01 t; t02 t; t03 t; t04 t; t05 t; t06 t; t07 t; t08 t; t09 t t10 t; t11 t; t12 t; t13 t; t14 t; t15 t; t16 t; t17 t; t18 t; t19 t t20 t; t21 t; t22 t; t23 t; t24 t; t25 t; t26 t; t27 t; t28 t; t29 t t30 t; t31 t; t32 t; t33 t; t34 t; t35 t; t36 t; t37 t; t38 t; t39 t t40 t; t41 t; t42 t; t43 t; t44 t; t45 t; t46 t; t47 t; t48 t; t49 t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 2.2K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue6977.go
// T12 interface { T11; T11 } // T13 interface { T12; T12 } // T14 interface { T13; T13 } // T15 interface { T14; T14 } // T16 interface { T15; T15 } // T17 interface { T16; T16 } // T18 interface { T17; T17 } // T19 interface { T18; T18 } // T20 interface { T19; T19 } // T21 interface { T20; T20 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:04:33 UTC 2024 - 2.6K bytes - Viewed (0) -
src/internal/types/testdata/check/cycles5a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 3.1K bytes - Viewed (0) -
test/codegen/ifaces.go
} func NopConvertGeneric[T any](x T) T { // amd64:-`.*runtime.convI2I` return T(x) } var NopConvertGenericIface = NopConvertGeneric[I] func ConvToM(x any) I { // amd64:`CALL\truntime.typeAssert`,`MOVL\t16\(.*\)`,`MOVQ\t8\(.*\)(.*\*1)` // arm64:`CALL\truntime.typeAssert`,`LDAR`,`MOVWU`,`MOVD\t\(R.*\)\(R.*\)` return x.(I)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 17:02:53 UTC 2023 - 621 bytes - Viewed (0) -
test/const3.go
func (t T) String() string { return fmt.Sprintf("T%d", int(t)) } const ( A T = 1 << (1 << iota) B C D E ) func main() { s := fmt.Sprintf("%v %v %v %v %v", A, B, C, D, E) if s != "T2 T4 T16 T256 T65536" { println("type info didn't propagate in const: got", s) panic("fail") } x := uint(5) y := float64(uint64(1)<<x) // used to fail to compile if y != 32 { println("wrong y", y) panic("fail")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 02:19:43 UTC 2012 - 659 bytes - Viewed (0) -
src/internal/types/testdata/check/cycles0.go
// (type cycle detection when non-type expressions are involved) type ( T14 [len(T14 /* ERROR "invalid recursive type" */ {})]int T15 [][len(T15 /* ERROR "invalid recursive type" */ {})]int T16 map[[len(T16 /* ERROR "invalid recursive type" */ {1:2})]int]int T17 map[int][len(T17 /* ERROR "invalid recursive type" */ {1:2})]int ) // Test case for types depending on function literals (see also #22992).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 3.6K bytes - Viewed (0)