Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 7,334 for struct (0.24 sec)

  1. src/internal/trace/traceviewer/format/format.go

    	Category  string  `json:"cat,omitempty"`
    }
    
    type Frame struct {
    	Name   string `json:"name"`
    	Parent int    `json:"parent,omitempty"`
    }
    
    type NameArg struct {
    	Name string `json:"name"`
    }
    
    type BlockedArg struct {
    	Blocked string `json:"blocked"`
    }
    
    type SortIndexArg struct {
    	Index int `json:"sort_index"`
    }
    
    type HeapCountersArg struct {
    	Allocated uint64
    	NextGC    uint64
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/go/doc/testdata/generics.go

    	string // should not be filtered
    	int16
    	struct{ f int }
    	~struct{ f int }
    	*struct{ f int }
    	struct{ f int } | ~struct{ f int }
    }
    
    // Func has an instantiated constraint.
    func Func[T Constraint[string, Type[int]]]() {}
    
    // AnotherFunc has an implicit constraint interface.
    //
    // Neither type parameters nor regular parameters should be filtered.
    func AnotherFunc[T ~struct{ f int }](_ struct{ f int }) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. test/fixedbugs/issue23912.go

    // A couple of aliases cases that gccgo incorrectly gave errors for.
    
    package p
    
    func F1() {
    	type E = struct{}
    	type X struct{}
    	var x X
    	var y E = x
    	_ = y
    }
    
    func F2() {
    	type E = struct{}
    	type S []E
    	type T []struct{}
    	type X struct{}
    	var x X
    	s := S{E{}}
    	t := T{struct{}{}}
    	_ = append(s, x)
    	_ = append(s, t[0])
    	_ = append(s, t...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 01:57:14 UTC 2018
    - 516 bytes
    - Viewed (0)
  4. test/fixedbugs/issue7405.go

    // Issue 7405: the equality function for struct with many
    // embedded fields became more complex after fixing issue 7366,
    // leading to out of registers on 386.
    
    package p
    
    type T1 struct {
    	T2
    	T3
    	T4
    }
    
    type T2 struct {
    	Conn
    }
    
    type T3 struct {
    	PacketConn
    }
    
    type T4 struct {
    	PacketConn
    	T5
    }
    
    type T5 struct {
    	x int
    	T6
    }
    
    type T6 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 20 21:22:37 UTC 2014
    - 638 bytes
    - Viewed (0)
  5. src/net/http/omithttp2.go

    type http2noDialClientConnPool struct {
    	http2clientConnPool http2clientConnPool
    }
    
    type http2clientConnPool struct {
    	mu    *sync.Mutex
    	conns map[string][]*http2clientConn
    }
    
    type http2clientConn struct{}
    
    type http2clientConnIdleState struct {
    	canTakeNewRequest bool
    }
    
    func (cc *http2clientConn) idleState() http2clientConnIdleState { return http2clientConnIdleState{} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 20:51:27 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/internal/reflectlite/export_test.go

    // license that can be found in the LICENSE file.
    
    package reflectlite
    
    import (
    	"unsafe"
    )
    
    // Field returns the i'th field of the struct v.
    // It panics if v's Kind is not Struct or i is out of range.
    func Field(v Value, i int) Value {
    	if v.kind() != Struct {
    		panic(&ValueError{"reflect.Value.Field", v.kind()})
    	}
    	tt := (*structType)(unsafe.Pointer(v.typ()))
    	if uint(i) >= uint(len(tt.Fields)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/rpc.idl

    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    		uuid_t uuid;
    	} policy_handle;
    
    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    		uuid_t uuid;
    	} policy_handle;
    
    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue51257.go

    // license that can be found in the LICENSE file.
    
    package p
    
    func f[_ comparable]() {}
    
    type S1 struct{ x int }
    type S2 struct{ x any }
    type S3 struct{ x [10]interface{ m() } }
    
    func _[P1 comparable, P2 S2]() {
    	_ = f[S1]
    	_ = f[S2]
    	_ = f[S3]
    
    	type L1 struct { x P1 }
    	type L2 struct { x P2 }
    	_ = f[L1]
    	_ = f[L2 /* ERROR "L2 does not satisfy comparable" */ ]
    }
    
    
    // example from issue
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:56:37 UTC 2023
    - 766 bytes
    - Viewed (0)
  10. src/runtime/defs_darwin_arm64.go

    	uc_mcontext *mcontext64
    }
    
    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    	udata  *byte
    }
    
    type pthread uintptr
    type pthreadattr struct {
    	X__sig    int64
    	X__opaque [56]int8
    }
    type pthreadmutex struct {
    	X__sig    int64
    	X__opaque [56]int8
    }
    type pthreadmutexattr struct {
    	X__sig    int64
    	X__opaque [8]int8
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top