- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 94 for StructType (0.28 sec)
-
src/cmd/compile/internal/types2/struct.go
// Implementation func (s *Struct) markComplete() { if s.fields == nil { s.fields = make([]*Var, 0) } } func (check *Checker) structType(styp *Struct, e *syntax.StructType) { if e.FieldList == nil { styp.markComplete() return } // struct fields and tags var fields []*Var var tags []string // for double-declaration checks var fset objset
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/cmd/compile/internal/syntax/positions.go
case *ListExpr: if len(n.ElemList) > 0 { m = n.ElemList[0] continue } return n.Pos() // types // case *ArrayType: // case *SliceType: // case *DotsType: // case *StructType: // case *Field: // case *InterfaceType: // case *FuncType: // case *MapType: // case *ChanType: // statements // case *EmptyStmt: // case *LabeledStmt: // case *BlockStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/api/rbac/v1/generated.proto
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of Roles repeated Role items = 2; } // RoleRef contains information that points to the role being used // +structType=atomic message RoleRef { // APIGroup is the group for the resource being referenced optional string apiGroup = 1; // Kind is the type of resource being referenced optional string kind = 2;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 7.9K bytes - Viewed (0) -
src/unique/clone.go
} return seq } // buildStructCloneSeq populates a cloneSeq for an abi.Type that has Kind abi.Struct. func buildStructCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) { styp := typ.StructType() for i := range styp.Fields { f := &styp.Fields[i] switch f.Typ.Kind() { case abi.String: seq.stringOffsets = append(seq.stringOffsets, baseOffset+f.Offset) case abi.Struct:
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/encoding/asn1/asn1.go
// TODO(dfc) Add support for the remaining integer types case reflect.Struct: structType := fieldType for i := 0; i < structType.NumField(); i++ { if !structType.Field(i).IsExported() { err = StructuralError{"struct contains unexported fields"} return } } if structType.NumField() > 0 && structType.Field(0).Type == rawContentsType { bytes := bytes[initOffset:offset]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 31.8K bytes - Viewed (0) -
src/debug/dwarf/type.go
// A PtrType represents a pointer type. type PtrType struct { CommonType Type Type } func (t *PtrType) String() string { return "*" + t.Type.String() } // A StructType represents a struct, union, or C++ class type. type StructType struct { CommonType StructName string Kind string // "struct", "union", or "class". Field []*StructField
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 21.9K bytes - Viewed (0) -
common-protos/k8s.io/api/rbac/v1/generated.proto
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of Roles repeated Role items = 2; } // RoleRef contains information that points to the role being used // +structType=atomic message RoleRef { // APIGroup is the group for the resource being referenced optional string apiGroup = 1; // Kind is the type of resource being referenced optional string kind = 2;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
// by the general code after the switch. case TSTRUCT: if t.StructType().Map == nil { if x.StructType().Map != nil { return CMPlt // nil < non-nil } // to the fallthrough } else if x.StructType().Map == nil { return CMPgt // nil > non-nil } else if t.StructType().Map.MapType().Bucket == t { // Both have non-nil Map
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/go/types/struct.go
// Implementation func (s *Struct) markComplete() { if s.fields == nil { s.fields = make([]*Var, 0) } } func (check *Checker) structType(styp *Struct, e *ast.StructType) { list := e.Fields if list == nil { styp.markComplete() return } // struct fields and tags var fields []*Var var tags []string // for double-declaration checks
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.1K bytes - Viewed (0) -
src/net/http/httptrace/trace.go
func (t *ClientTrace) compose(old *ClientTrace) { if old == nil { return } tv := reflect.ValueOf(t).Elem() ov := reflect.ValueOf(old).Elem() structType := tv.Type() for i := 0; i < structType.NumField(); i++ { tf := tv.Field(i) hookType := tf.Type() if hookType.Kind() != reflect.Func { continue } of := ov.Field(i) if of.IsNil() { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 8.1K bytes - Viewed (0)