- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 254 for StructI (0.24 sec)
-
src/cmd/compile/internal/types/type.go
} // StructType contains Type fields specific to struct types. type Struct struct { fields fields // Maps have three associated internal structs (see struct MapType). // Map links such structs back to their map type. Map *Type ParamTuple bool // whether this struct is actually a tuple of signature parameters } // StructType returns t's extra struct-specific fields. func (t *Type) StructType() *Struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// cname returns the C name to use for C.s. // The expansions are listed in nameToC and also // struct_foo becomes "struct foo", and similarly for // union and enum. func cname(s string) string { if t, ok := nameToC[s]; ok { return t } if strings.HasPrefix(s, "struct_") { return "struct " + s[len("struct_"):] } if strings.HasPrefix(s, "union_") { return "union " + s[len("union_"):] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/reflect/type.go
// mapType represents a map type. type mapType struct { abi.MapType } // ptrType represents a pointer type. type ptrType struct { abi.PtrType } // sliceType represents a slice type. type sliceType struct { abi.SliceType } // Struct field type structField = abi.StructField // structType represents a struct type. type structType struct { abi.StructType }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/cgo/out.go
typedef unsigned char byte; typedef intptr_t intgo; struct __go_string { const unsigned char *__data; intgo __length; }; typedef struct __go_open_array { void* __values; intgo __count; intgo __capacity; } Slice; struct __go_string __go_byte_array_to_string(const void* p, intgo len); struct __go_open_array __go_string_to_byte_array (struct __go_string str);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/zero_test.go
if a != want { t.Errorf("zero1025 got=%v, want %v\n", a, want) } } type Z8u1 struct { b bool val [8]byte } type Z8u2 struct { i uint16 val [8]byte } //go:noinline func zero8u1_ssa(t *Z8u1) { t.val = [8]byte{} } //go:noinline func zero8u2_ssa(t *Z8u2) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 49.6K bytes - Viewed (0) -
src/text/template/exec_test.go
// T has lots of interesting pieces to use to test execution. type T struct { // Basics True bool I int U16 uint16 X, S string FloatZero float64 ComplexZero complex128 // Nested structs. U *U // Struct with String method. V0 V V1, V2 *V // Struct with Error method. W0 W W1, W2 *W // Slices SI []int SICap []int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
src/html/template/exec_test.go
// T has lots of interesting pieces to use to test execution. type T struct { // Basics True bool I int U16 uint16 X, S string FloatZero float64 ComplexZero complex128 // Nested structs. U *U // Struct with String method. V0 V V1, V2 *V // Struct with Error method. W0 W W1, W2 *W // Slices SI []int SICap []int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
pkg/controller/history/controller_history_test.go
}, } for i := range tests { testFn(&tests[i], t) } } func TestRealHistory_CreateControllerRevision(t *testing.T) { type testcase struct { name string parent metav1.Object revision *apps.ControllerRevision existing []struct { parent metav1.Object revision *apps.ControllerRevision } rename bool } testFn := func(test *testcase, t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 49.1K bytes - Viewed (0) -
tests/migrate_test.go
type UserStat struct { GroundDestroyCount int } type GameUser struct { gorm.Model StatAb UserStat `gorm:"embedded;embeddedPrefix:stat_ab_"` } type UserStat1 struct { GroundDestroyCount string } type GroundRate struct { GroundDestroyCount int } type GameUser1 struct { gorm.Model
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
src/go/types/api_test.go
// collisions {"type ( E1 struct{ f int }; E2 struct{ f int }; x struct{ E1; *E2 })", false, []int{1, 0}, false}, {"type ( E1 struct{ f int }; E2 struct{}; x struct{ E1; *E2 }); func (E2) f() {}", false, []int{1, 0}, false}, // collisions on a generic type {"type ( E1[P any] struct{ f P }; E2[P any] struct{ f P }; x struct{ E1[int]; *E2[int] })", false, []int{1, 0}, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)