Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 639 for Tstruct (0.18 sec)

  1. src/cmd/compile/internal/liveness/plive.go

    	case types.TSTRING:
    		// struct { byte *str; int len; }
    		clobberPtr(b, v, offset)
    
    	case types.TINTER:
    		// struct { Itab *tab; void *data; }
    		// or, when isnilinter(t)==true:
    		// struct { Type *type; void *data; }
    		clobberPtr(b, v, offset)
    		clobberPtr(b, v, offset+int64(types.PtrSize))
    
    	case types.TSLICE:
    		// struct { byte *array; int len; int cap; }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. pkg/kube/inject/webhook.go

    		if err != nil {
    			return nil, err
    		}
    		ret[k] = p
    	}
    	return ret, nil
    }
    
    type ValuesConfig struct {
    	raw      string
    	asStruct *opconfig.Values
    	asMap    map[string]any
    }
    
    func (v ValuesConfig) Struct() *opconfig.Values {
    	return v.asStruct
    }
    
    func (v ValuesConfig) Map() map[string]any {
    	return v.asMap
    }
    
    func NewValuesConfig(v string) (ValuesConfig, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *Binding) APILifecycleIntroduced() (major, minor int) {
    	return 1, 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/issues_test.go

    	// The src strings (without prefix) are constructed such that the number of semicolons
    	// plus one corresponds to the number of fields expected in the respective struct.
    	for _, src := range []string{
    		`struct { x Missing }`,
    		`struct { Missing }`,
    		`struct { *Missing }`,
    		`struct { unsafe.Pointer }`,
    		`struct { P }`,
    		`struct { *I }`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. src/go/types/issues_test.go

    	// The src strings (without prefix) are constructed such that the number of semicolons
    	// plus one corresponds to the number of fields expected in the respective struct.
    	for _, src := range []string{
    		`struct { x Missing }`,
    		`struct { Missing }`,
    		`struct { *Missing }`,
    		`struct { unsafe.Pointer }`,
    		`struct { P }`,
    		`struct { *I }`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/encoding/json/encode_test.go

    		{Name(""), struct{ M Marshaler }{(*nilJSONMarshaler)(nil)}, `{"M":"0zenil0"}`},
    		{Name(""), struct{ M any }{(*nilJSONMarshaler)(nil)}, `{"M":null}`},
    		{Name(""), struct{ M encoding.TextMarshaler }{}, `{"M":null}`},
    		{Name(""), struct{ M encoding.TextMarshaler }{(*nilTextMarshaler)(nil)}, `{"M":"0zenil0"}`},
    		{Name(""), struct{ M any }{(*nilTextMarshaler)(nil)}, `{"M":null}`},
    	}
    	for _, tt := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/test.go

    void setvoidptr(void *x) {
    	*(int*)x = 1;
    }
    
    typedef struct Struct Struct;
    struct Struct {
    	int *P;
    };
    
    void setstruct(Struct s) {
    	*s.P = 1;
    }
    
    // issue 11925
    // Structs with zero-length trailing fields are now padded by the Go compiler.
    
    struct a11925 {
    	int i;
    	char a[0];
    	char b[0];
    };
    
    struct b11925 {
    	int i;
    	char a[0];
    	char b[];
    };
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  8. pilot/pkg/networking/util/util_test.go

    				Domain:           "svc.cluster.local",
    				GroupVersionKind: gvk.DestinationRule,
    			},
    			&core.Metadata{
    				FilterMetadata: map[string]*structpb.Struct{},
    			},
    			&core.Metadata{
    				FilterMetadata: map[string]*structpb.Struct{
    					IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"config": {
    								Kind: &structpb.Value_StringValue{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    )
    
    // CheckPartsResp is a response of the storage CheckParts and VerifyFile APIs
    type CheckPartsResp struct {
    	Results []int
    }
    
    // LocalDiskIDs - GetLocalIDs response.
    type LocalDiskIDs struct {
    	IDs []string
    }
    
    // ListDirResult - ListDir()'s response.
    type ListDirResult struct {
    	Entries []string `msg:"e"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/encoding/binary/binary_test.go

    		return delta
    	}
    
    	type foo struct {
    		A uint32
    	}
    
    	type bar struct {
    		A Struct
    		B foo
    		C Struct
    	}
    
    	testcases := []struct {
    		val  any
    		want int
    	}{
    		{new(foo), 1},
    		{new([1]foo), 0},
    		{make([]foo, 1), 0},
    		{new(bar), 1},
    		{new(bar), 0},
    		{new(struct{ A Struct }), 1},
    		{new(struct{ A Struct }), 0},
    		{new([1]struct{ A Struct }), 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top