Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for fStruct (0.35 sec)

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

    }
    
    func TestStructType(t *testing.T) {
    	sstruct := getTypeUnlocked("Foo", reflect.TypeFor[Foo]())
    	str := sstruct.string()
    	// If we can print it correctly, we built it correctly.
    	expected := "Foo = struct { A int; B int; C string; D bytes; E float; F float; G Bar = struct { X string; }; H Bar; I Foo; }"
    	if str != expected {
    		t.Errorf("struct printed as %q; expected %q", str, expected)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/internal/types/testdata/spec/assignability.go

    	Defined   _Struct
    )
    
    func (Defined) m() int
    
    // proto-variables for tests
    
    var (
    	b _Basic
    	a _Array
    	l _Slice
    	s _Struct
    	p _Pointer
    	f _Func
    	i _Interface
    	m _Map
    	c _Chan
    	d _Struct
    
    	B Basic
    	A Array
    	L Slice
    	S Struct
    	P Pointer
    	F Func
    	I Interface
    	M Map
    	C Chan
    	D Defined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/identity.go

    // for struct identity.
    func IdenticalIgnoreTags(t1, t2 *Type) bool {
    	return identical(t1, t2, identIgnoreTags, nil)
    }
    
    // IdenticalStrict is like Identical, but matches types exactly, without the
    // exception for shapes.
    func IdenticalStrict(t1, t2 *Type) bool {
    	return identical(t1, t2, identStrict, nil)
    }
    
    type typePair struct {
    	t1 *Type
    	t2 *Type
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typebits/typebits.go

    	case types.TSTRING:
    		// struct { byte *str; intgo len; }
    		if off&int64(types.PtrSize-1) != 0 {
    			base.Fatalf("typebits.Set: invalid alignment, %v", t)
    		}
    		bv.Set(int32(off / int64(types.PtrSize))) //pointer in first slot
    
    	case types.TINTER:
    		// struct { Itab *tab;	void *data; }
    		// or, when isnilinter(t)==true:
    		// struct { Type *type; void *data; }
    		if off&int64(types.PtrSize-1) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. pkg/bootstrap/option/convert.go

    	"istio.io/istio/pkg/wellknown"
    )
    
    // TransportSocket wraps UpstreamTLSContext
    type TransportSocket struct {
    	Name        string          `json:"name,omitempty"`
    	TypedConfig *pstruct.Struct `json:"typed_config,omitempty"`
    }
    
    // TCPKeepalive wraps is a thin JSON for xDS proto
    type TCPKeepalive struct {
    	KeepaliveProbes   *wrappers.UInt32Value `json:"keepalive_probes,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/kind_string.go

    	_ = x[TCOMPLEX64-12]
    	_ = x[TCOMPLEX128-13]
    	_ = x[TFLOAT32-14]
    	_ = x[TFLOAT64-15]
    	_ = x[TBOOL-16]
    	_ = x[TPTR-17]
    	_ = x[TFUNC-18]
    	_ = x[TSLICE-19]
    	_ = x[TARRAY-20]
    	_ = x[TSTRUCT-21]
    	_ = x[TCHAN-22]
    	_ = x[TMAP-23]
    	_ = x[TINTER-24]
    	_ = x[TFORW-25]
    	_ = x[TANY-26]
    	_ = x[TSTRING-27]
    	_ = x[TUNSAFEPTR-28]
    	_ = x[TIDEAL-29]
    	_ = x[TNIL-30]
    	_ = x[TBLANK-31]
    	_ = x[TFUNCARGS-32]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/token_string.go

    	_ = x[_Go-33]
    	_ = x[_Goto-34]
    	_ = x[_If-35]
    	_ = x[_Import-36]
    	_ = x[_Interface-37]
    	_ = x[_Map-38]
    	_ = x[_Package-39]
    	_ = x[_Range-40]
    	_ = x[_Return-41]
    	_ = x[_Select-42]
    	_ = x[_Struct-43]
    	_ = x[_Switch-44]
    	_ = x[_Type-45]
    	_ = x[_Var-46]
    	_ = x[tokenCount-47]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 02:28:24 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  9. test/live.go

    var pstructarr [10]pstruct
    
    // Struct size chosen to make pointer to element in pstructarr
    // not computable by strength reduction.
    type pstruct struct {
    	intp *int
    	_    [8]byte
    }
    
    func f30(b bool) {
    	// live temp during printintpointer(p):
    	// the internal iterator pointer if a pointer to pstruct in pstructarr
    	// can not be easily computed by strength reduction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. test/live_regabi.go

    var pstructarr [10]pstruct
    
    // Struct size chosen to make pointer to element in pstructarr
    // not computable by strength reduction.
    type pstruct struct {
    	intp *int
    	_    [8]byte
    }
    
    func f30(b bool) {
    	// live temp during printintpointer(p):
    	// the internal iterator pointer if a pointer to pstruct in pstructarr
    	// can not be easily computed by strength reduction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top