Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 7,334 for struct (0.29 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go

    	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
    }
    
    type Iovec struct {
    	Base *byte
    	Len  uint64
    }
    
    type IPMreq struct {
    	Multiaddr [4]byte /* in_addr */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/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: Thu Apr 04 07:21:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/go/doc/testdata/e.1.golden

    	func (*U3) N()
    
    	// 
    	type U4 struct {
    		*u5
    	}
    
    	// U4.M should appear as method of U4. 
    	func (*U4) M()
    
    	// 
    	type V1 struct {
    		*V2
    		*V5
    	}
    
    	// 
    	type V2 struct {
    		*V3
    	}
    
    	// 
    	type V3 struct {
    		*V4
    	}
    
    	// 
    	type V4 struct {
    		*V5
    	}
    
    	// V4.M should appear as method of V2 and V3 if AllMethods is set. 
    	func (*V4) M()
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.8K bytes
    - Viewed (0)
  4. src/go/printer/testdata/generics.golden

    type _[P *T, _ any] struct{}
    type _[P *T,] struct{}
    type _[P *T, _ any] struct{}
    type _[P T] struct{}
    type _[P T, _ any] struct{}
    
    type _[P *struct{}] struct{}
    type _ [P(*struct{})]struct{}
    type _[P []int] struct{}
    
    // a type literal in an |-expression indicates a type parameter list (blank after type parameter list and type)
    type _[P *[]int] struct{}
    type _[P *T | T, Q T] struct{}
    type _[P *[]T | T] struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 16:18:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/gofmt/testdata/composites.input

    package P
    
    type T struct {
    	x, y int
    }
    
    type T2 struct {
    	w, z int
    }
    
    var _ = [42]T{
    	T{},
    	T{1, 2},
    	T{3, 4},
    }
    
    var _ = [...]T{
    	T{},
    	T{1, 2},
    	T{3, 4},
    }
    
    var _ = []T{
    	T{},
    	T{1, 2},
    	T{3, 4},
    }
    
    var _ = []T{
    	T{},
    	10: T{1, 2},
    	20: T{3, 4},
    }
    
    var _ = []struct {
    	x, y int
    }{
    	struct{ x, y int }{},
    	10: struct{ x, y int }{1, 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 03:55:43 UTC 2016
    - 3.2K bytes
    - Viewed (0)
  6. test/nilcheck.go

    package p
    
    type Struct struct {
    	X int
    	Y float64
    }
    
    type BigStruct struct {
    	X int
    	Y float64
    	A [1 << 20]int
    	Z string
    }
    
    type Empty struct {
    }
    
    type Empty1 struct {
    	Empty
    }
    
    var (
    	intp       *int
    	arrayp     *[10]int
    	array0p    *[0]int
    	bigarrayp  *[1 << 26]int
    	structp    *Struct
    	bigstructp *BigStruct
    	emptyp     *Empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. test/fixedbugs/issue19482.go

    )
    
    func bad() {
    	var z = T{_: "verse"} // ERROR "invalid field name _ in struct initializer|expected struct field name|unknown field _ in struct literal of type T"
    	_ = z
    	_ = T{_: "itinerary"} // ERROR "invalid field name _ in struct initializer|expected struct field name|unknown field _ in struct literal of type T"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:59:09 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_riscv64.go

    	t5  uint64
    	t6  uint64
    }
    
    type user_fpregs_struct struct {
    	f [528]byte
    }
    
    type usigset struct {
    	us_x__val [16]uint64
    }
    
    type sigcontext struct {
    	sc_regs   user_regs_struct
    	sc_fpregs user_fpregs_struct
    }
    
    type stackt struct {
    	ss_sp    *byte
    	ss_flags int32
    	ss_size  uintptr
    }
    
    type ucontext struct {
    	uc_flags     uint64
    	uc_link      *ucontext
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/go/doc/testdata/c.2.golden

    TYPES
    	// A (should see this) 
    	type A struct{}
    
    	// B (should see this) 
    	type B struct{}
    
    	// C (should see this) 
    	type C struct{}
    
    	// D (should see this) 
    	type D struct{}
    
    	// E1 (should see this) 
    	type E1 struct{}
    
    	// E (should see this for E2 and E3) 
    	type E2 struct{}
    
    	// E (should see this for E2 and E3) 
    	type E3 struct{}
    
    	// E4 (should see this) 
    	type E4 struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 620 bytes
    - Viewed (0)
  10. src/runtime/defs_linux_arm64.go

    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint64
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    type itimerspec struct {
    	it_interval timespec
    	it_value    timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top