- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for union_ (0.18 sec)
-
src/cmd/cgo/doc.go
A few special C types which would normally be represented by a pointer type in Go are instead represented by a uintptr. See the Special cases section below. To access a struct, union, or enum type directly, prefix it with struct_, union_, or enum_, as in C.struct_stat. The size of any C type T is available as C.sizeof_T, as in C.sizeof_struct_stat. A C function may be declared in the Go file with a parameter type of
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// struct_foo becomes "struct foo", and similarly for // union and enum. func cname(s string) string { if t, ok := nameToC[s]; ok { return t } if strings.HasPrefix(s, "struct_") { return "struct " + s[len("struct_"):] } if strings.HasPrefix(s, "union_") { return "union " + s[len("union_"):] } if strings.HasPrefix(s, "enum_") { return "enum " + s[len("enum_"):] }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
doc/go1.17_spec.html
name <code>E</code> in place of a method specification. This is called <i>embedding</i> interface <code>E</code> in <code>T</code>. The <a href="#Method_sets">method set</a> of <code>T</code> is the <i>union</i> of the method sets of <code>T</code>’s explicitly declared methods and of <code>T</code>’s embedded interfaces. </p> <pre> type Reader interface { Read(p []byte) (n int, err error)
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
api/go1.18.txt
pkg go/types, method (*TypeParamList) At(int) *TypeParam pkg go/types, method (*TypeParamList) Len() int pkg go/types, method (*Union) Len() int pkg go/types, method (*Union) String() string pkg go/types, method (*Union) Term(int) *Term pkg go/types, method (*Union) Underlying() Type pkg go/types, type ArgumentError struct pkg go/types, type ArgumentError struct, Err error pkg go/types, type ArgumentError struct, Index int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Viewed (0) -
src/cmd/cgo/godefs.go
// into the file, so we can't warn here. // // The most common case is union types, which begin with // _Ctype_union and for which typedef[name] is a Go byte // array of the appropriate size (such as [4]byte). // Substitute those union types with byte arrays. for name, id := range goIdent { if id.Name == name && strings.Contains(name, "_Ctype_union") { if def := typedef[name]; def != nil { id.Name = gofmt(def) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 08 14:33:35 GMT 2022 - 4.5K bytes - Viewed (0) -
src/archive/tar/common.go
if wantFormat := h.Format; wantFormat != FormatUnknown { if wantFormat.has(FormatPAX) && !preferPAX { wantFormat.mayBe(FormatUSTAR) // PAX implies USTAR allowed too } format.mayOnlyBe(wantFormat) // Set union of formats allowed and format wanted } if format == FormatUnknown { switch h.Format { case FormatUSTAR: err = headerError{"Format specifies USTAR", whyNoUSTAR, whyOnlyPAX, whyOnlyGNU} case FormatPAX:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
api/go1.txt
pkg image, method (Rectangle) Overlaps(Rectangle) bool pkg image, method (Rectangle) Size() Point pkg image, method (Rectangle) String() string pkg image, method (Rectangle) Sub(Point) Rectangle pkg image, method (Rectangle) Union(Rectangle) Rectangle pkg image, method (YCbCrSubsampleRatio) String() string pkg image, type Alpha struct pkg image, type Alpha struct, Pix []uint8 pkg image, type Alpha struct, Rect Rectangle
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (2) -
doc/go_spec.html
interface { ~[]byte // the underlying type of []byte is itself ~MyInt // illegal: the underlying type of MyInt is not MyInt ~error // illegal: error is an interface } </pre> <p> Union elements denote unions of type sets: </p> <pre> // The Float interface represents all floating-point types // (including any named types whose underlying types are // either float32 or float64).
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue26213/jni.h
typedef jarray jlongArray; typedef jarray jfloatArray; typedef jarray jdoubleArray; typedef jarray jobjectArray; typedef jobject jweak;
C - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 874 bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
a Go translation. C arithmetic types translate to precisely-sized Go arithmetic types. A C struct translates to a Go struct, field by field; unrepresentable fields are replaced with opaque byte arrays. A C union translates into a struct containing the first union member and perhaps additional padding. C arrays become Go arrays. C pointers become Go pointers. C function pointers become Go's uintptr. C void pointers become Go's unsafe.Pointer.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0)