- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,432 for StructI (0.41 sec)
-
src/reflect/all_test.go
{struct{ x int32 }{}, "int32"}, {struct{ x int64 }{}, "int64"}, {struct{ x uint }{}, "uint"}, {struct{ x uint8 }{}, "uint8"}, {struct{ x uint16 }{}, "uint16"}, {struct{ x uint32 }{}, "uint32"}, {struct{ x uint64 }{}, "uint64"}, {struct{ x float32 }{}, "float32"}, {struct{ x float64 }{}, "float64"}, {struct{ x int8 }{}, "int8"}, {struct{ x (**int8) }{}, "**int8"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
doc/next/6-stdlib/3-structs.md
### New structs package The new [structs] package provides types for struct fields that modify properties of the containing struct type such as memory layout. In this release, the only such type is [`HostLayout`](/pkg/structs#HostLayout) which indicates that a structure with a field of that type has a layout that conforms to host platform
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:06:02 UTC 2024 - 356 bytes - Viewed (0) -
src/cmd/compile/internal/types2/struct.go
) // ---------------------------------------------------------------------------- // API // A Struct represents a struct type. type Struct struct { fields []*Var // fields != nil indicates the struct is set up (possibly with len(fields) == 0) tags []string // field tags; nil if there are no tags } // NewStruct returns a new struct with the given fields and corresponding field tags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/go/types/struct.go
) // ---------------------------------------------------------------------------- // API // A Struct represents a struct type. type Struct struct { fields []*Var // fields != nil indicates the struct is set up (possibly with len(fields) == 0) tags []string // field tags; nil if there are no tags } // NewStruct returns a new struct with the given fields and corresponding field tags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.1K bytes - Viewed (0) -
test/typeparam/struct.go
// license that can be found in the LICENSE file. package main import ( "fmt" ) type E[T any] struct { v T } type S1 struct { E[int] v string } type Eint = E[int] type Ebool = E[bool] type Eint2 = Eint type S2 struct { Eint Ebool v string } type S3 struct { *E[int] } func main() { s1 := S1{Eint{2}, "foo"} if got, want := s1.E.v, 2; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 16:29:58 UTC 2024 - 801 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/structs/66408.md
<!-- This is a new package; covered in 6-stdlib/3-structs.md. -->...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 66 bytes - Viewed (0) -
src/unique/clone.go
type cloneSeq struct { stringOffsets []uintptr } // makeCloneSeq creates a cloneSeq for a type. func makeCloneSeq(typ *abi.Type) cloneSeq { if typ == nil { return cloneSeq{} } if typ.Kind() == abi.String { return singleStringClone } var seq cloneSeq switch typ.Kind() { case abi.Struct: buildStructCloneSeq(typ, &seq, 0) case abi.Array:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:21 UTC 2024 - 2.6K bytes - Viewed (0) -
src/structs/hostlayout.go
package structs // HostLayout marks a struct as using host memory layout. A struct with a // field of type HostLayout will be laid out in memory according to host // expectations, generally following the host's C ABI. // // HostLayout does not affect layout within any other struct-typed fields // of the containing struct, nor does it affect layout of structs // containing the struct marked as host layout. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 1.2K bytes - Viewed (0) -
hack/verify-description.sh
# See the License for the specific language governing permissions and # limitations under the License. # This script checks API-related files for missing descriptions and outputs a # list of structs and fields that are missing descriptions. # Usage: `hack/verify-description.sh`. set -o errexit set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:32 UTC 2024 - 3.3K bytes - Viewed (0) -
src/structs/doc.go
// license that can be found in the LICENSE file. // Package structs defines marker types that can be used as struct fields // to modify the properties of a struct. // // By convention, a marker type should be used as the type of a field // named "_", placed at the beginning of a struct type definition.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 431 bytes - Viewed (0)