- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 37 for SliceType (0.12 sec)
-
src/cmd/compile/internal/syntax/walk.go
w.node(n.Fun) w.exprList(n.ArgList) case *ListExpr: w.exprList(n.ElemList) // types case *ArrayType: if n.Len != nil { w.node(n.Len) } w.node(n.Elem) case *SliceType: w.node(n.Elem) case *DotsType: w.node(n.Elem) case *StructType: w.fieldList(n.FieldList) for _, t := range n.TagList { if t != nil { w.node(t) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:55:04 UTC 2023 - 5.7K bytes - Viewed (0) -
src/encoding/gob/doc.go
pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireType description, constructed from these types: type wireType struct { ArrayT *ArrayType SliceT *SliceType StructT *StructType MapT *MapType GobEncoderT *gobEncoderType BinaryMarshalerT *gobEncoderType TextMarshalerT *gobEncoderType } type arrayType struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 17.1K bytes - Viewed (0) -
src/internal/abi/type.go
} return &(*u)(unsafe.Pointer(t)).u case Func: type u struct { FuncType u UncommonType } return &(*u)(unsafe.Pointer(t)).u case Slice: type u struct { SliceType u UncommonType } return &(*u)(unsafe.Pointer(t)).u case Array: type u struct { ArrayType u UncommonType } return &(*u)(unsafe.Pointer(t)).u case Chan: type u struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/nodes.go
// [Len]Elem ArrayType struct { // TODO(gri) consider using Name{"..."} instead of nil (permits attaching of comments) Len Expr // nil means Len is ... Elem Expr expr } // []Elem SliceType struct { Elem Expr expr } // ...Elem DotsType struct { Elem Expr expr } // struct { FieldList[0] TagList[0]; FieldList[1] TagList[1]; ... } StructType struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 9K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
) type ident struct { pkg *types.Package name string } const predeclReserved = 32 type itag uint64 const ( // Types definedType itag = iota pointerType sliceType arrayType chanType mapType signatureType structType interfaceType typeParamType instanceType unionType ) // iImportData imports a package from the serialized package data
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/encoding/asn1/marshal.go
if err != nil { return nil, err } } return multiEncoder(m), nil } case reflect.Slice: sliceType := v.Type() if sliceType.Elem().Kind() == reflect.Uint8 { return bytesEncoder(v.Bytes()), nil } var fp fieldParameters switch l := v.Len(); l { case 0: return bytesEncoder(nil), nil case 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 17.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/nodes_test.go
// ListExpr: tested via multi-value const/var declarations } var types = []test{ {"Operation", `@*T`}, {"Operation", `@*struct{}`}, {"ArrayType", `@[10]T`}, {"ArrayType", `@[...]T`}, {"SliceType", `@[]T`}, {"DotsType", `@...T`}, {"StructType", `@struct{}`}, {"InterfaceType", `@interface{}`}, {"FuncType", `func@()`}, {"MapType", `@map[T]T`}, {"ChanType", `@chan T`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 18:45:06 UTC 2023 - 8.7K bytes - Viewed (0) -
src/runtime/iface.go
uint16Type *_type = efaceOf(&uint16Eface)._type uint32Type *_type = efaceOf(&uint32Eface)._type uint64Type *_type = efaceOf(&uint64Eface)._type stringType *_type = efaceOf(&stringEface)._type sliceType *_type = efaceOf(&sliceEface)._type ) // The conv and assert functions below do very similar things. // The convXXX functions are guaranteed by the compiler to succeed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
src/encoding/gob/decode.go
case reflect.Slice: // Is it an array of bytes? if t.Elem().Kind() == reflect.Uint8 { return fw == tBytes } // Extract and compare element types. var sw *sliceType if tt := builtinIdToType(fw); tt != nil { sw, _ = tt.(*sliceType) } else if wire != nil { sw = wire.SliceT } elem := userType(t.Elem()).base return sw != nil && dec.compatibleType(elem, sw.Elem, inProgress)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:10:23 UTC 2023 - 40.1K bytes - Viewed (0) -
src/reflect/value.go
} tt := (*arrayType)(unsafe.Pointer(v.typ())) cap = int(tt.Len) typ = (*sliceType)(unsafe.Pointer(tt.Slice)) base = v.ptr case Slice: typ = (*sliceType)(unsafe.Pointer(v.typ())) s := (*unsafeheader.Slice)(v.ptr) base = s.Data cap = s.Cap case String: s := (*unsafeheader.String)(v.ptr) if i < 0 || j < i || j > s.Len {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0)