Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for Tstruct (0.12 sec)

  1. 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)
  2. src/encoding/json/decode_test.go

    	type (
    		embed1 struct{ Q int }
    		embed2 struct{ Q int }
    		embed3 struct {
    			Q int64 `json:",string"`
    		}
    		S1 struct {
    			*embed1
    			R int
    		}
    		S2 struct {
    			*embed1
    			Q int
    		}
    		S3 struct {
    			embed1
    			R int
    		}
    		S4 struct {
    			*embed1
    			embed2
    		}
    		S5 struct {
    			*embed3
    			R int
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  3. 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)
  4. src/encoding/xml/marshal_test.go

    }
    
    type Book struct {
    	XMLName struct{} `xml:"book"`
    	Title   string   `xml:",chardata"`
    }
    
    type Event struct {
    	XMLName struct{} `xml:"event"`
    	Year    int      `xml:",chardata"`
    }
    
    type Movie struct {
    	XMLName struct{} `xml:"movie"`
    	Length  uint     `xml:",chardata"`
    }
    
    type Pi struct {
    	XMLName       struct{} `xml:"pi"`
    	Approximation float32  `xml:",chardata"`
    }
    
    type Universe struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/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: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/sync/atomic/atomic_test.go

    // The loop over power-of-two values is meant to
    // ensure that the operations apply to the full word size.
    // The struct fields x.before and x.after check that the
    // operations do not extend past the full word size.
    
    const (
    	magic32 = 0xdedbeef
    	magic64 = 0xdeddeadbeefbeef
    )
    
    func TestSwapInt32(t *testing.T) {
    	var x struct {
    		before int32
    		i      int32
    		after  int32
    	}
    	x.before = magic32
    	x.after = magic32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/telemetry_logging_test.go

    func TestAccessLogJSONFormatters(t *testing.T) {
    	cases := []struct {
    		name     string
    		json     *structpb.Struct
    		expected []*core.TypedExtensionConfig
    	}{
    		{
    			name:     "default",
    			json:     EnvoyJSONLogFormatIstio,
    			expected: []*core.TypedExtensionConfig{},
    		},
    		{
    			name: "with-req-without-query",
    			json: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  10. 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)
Back to top