Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 7,334 for struct (0.1 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go

    		}
    
    		for _, typ := range structuralTypes {
    			strct, ok := typeparams.Deref(typ).Underlying().(*types.Struct)
    			if !ok {
    				// skip non-struct composite literals
    				continue
    			}
    			if isLocalType(pass, typ) {
    				// allow unkeyed locally defined composite literal
    				continue
    			}
    
    			// check if the struct contains an unkeyed field
    			allKeyValue := true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/syscall/ztypes_openbsd_386.go

    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  3. src/syscall/ztypes_openbsd_arm64.go

    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 6.7K bytes
    - Viewed (0)
  4. src/syscall/ztypes_openbsd_mips64.go

    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 08:08:26 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    // and etc), which C++ doesn't support directly.
    template <typename T>
    struct NoneT {};
    
    // The following family of struct and struct templates are used to
    // represent template lists.  In particular, TemplatesN<T1, T2, ...,
    // TN> represents a list of N templates (T1, T2, ..., and TN).  Except
    // for Templates0, every struct in the family has two member types:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. src/go/parser/testdata/issue49482.go2

            _ [P * *T]struct{}
            _ [P * T]struct{}
            _ [P(*T)]struct{}
            _ [P(**T)]struct{}
            _ [P * T - T]struct{}
            _ [P*T-T, /* ERROR "unexpected comma" */ ]struct{}
            _ [10, /* ERROR "unexpected comma" */ ]struct{}
    
            _[P *struct{}|int] struct{}
            _[P *struct{}|int|string] struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 04 20:20:27 UTC 2022
    - 965 bytes
    - Viewed (0)
  7. src/go/types/methodset_test.go

    		"var a struct{ E[int] }; type E[P any] struct{}; func (*E[P]) f() {}":  {},
    		"var a struct{ *E[int] }; type E[P any] struct{}; func (*E[P]) f() {}": {{"f", []int{0, 0}, true}},
    
    		// collisions
    		"var a struct{ E1; *E2 }; type ( E1 interface{ f() }; E2 struct{ f int })":            {},
    		"var a struct{ E1; *E2 }; type ( E1 struct{ f int }; E2 struct{} ); func (E2) f() {}": {},
    
    		// recursive generic types; see go.dev/issue/52715
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 08 15:27:57 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go

    type RawSockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [12]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Linger struct {
    	Onoff  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tfe_monitoring_internal.h

    };
    
    struct TFE_MonitoringCounter0 : TFE_MonitoringCounter<0> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    struct TFE_MonitoringCounter1 : TFE_MonitoringCounter<1> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    struct TFE_MonitoringCounter2 : TFE_MonitoringCounter<2> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    
    struct TFE_MonitoringIntGaugeCell {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_386.go

    	_O_CLOEXEC  = 0x80000
    
    	_AF_UNIX    = 0x1
    	_SOCK_DGRAM = 0x2
    )
    
    type fpreg struct {
    	significand [4]uint16
    	exponent    uint16
    }
    
    type fpxreg struct {
    	significand [4]uint16
    	exponent    uint16
    	padding     [3]uint16
    }
    
    type xmmreg struct {
    	element [4]uint32
    }
    
    type fpstate struct {
    	cw        uint32
    	sw        uint32
    	tag       uint32
    	ipoff     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top