internal/abi.Type.Kind (method)
148 uses
internal/abi (current package)
type.go#L196: func (t *Type) Kind() Kind { return t.Kind_ }
type.go#L278: if t.Kind() == Array {
type.go#L311: if t.Kind() == Chan {
type.go#L323: switch t.Kind() {
type.go#L379: switch t.Kind() {
type.go#L401: if t.Kind() != Struct {
type.go#L409: if t.Kind() != Map {
type.go#L417: if t.Kind() != Array {
type.go#L425: if t.Kind() != Func {
type.go#L433: if t.Kind() != Interface {
type.go#L462: if t.Kind() == Interface {
type.go#L473: if t.Kind() == Map {
internal/reflectlite
swapper.go#L44: if typ.Kind() == String {
type.go#L437: if V.Kind() == Interface {
type.go#L513: if T.HasName() && V.HasName() || T.Kind() != V.Kind() {
type.go#L526: if toRType(T).Name() != toRType(V).Name() || T.Kind() != V.Kind() {
type.go#L538: kind := T.Kind()
type.go#L539: if kind != V.Kind() {
value.go#L157: f := flag(t.Kind())
value.go#L259: fl |= flag(typ.Kind())
value.go#L424: fl |= flag(dst.Kind())
internal/runtime/maps
map.go#L832: switch t.Kind() {
reflect
abi.go#L199: switch Kind(t.Kind()) {
abi.go#L246: print("t.Kind == ", t.Kind(), "\n")
makefunc.go#L104: fl |= flag(v.typ().Kind())
map.go#L170: fl |= flag(typ.Kind())
map.go#L208: fl := v.flag.ro() | flag(keyType.Kind())
map.go#L256: return copyVal(ktype, iter.m.flag.ro()|flag(ktype.Kind()), iterkey)
map.go#L283: key := Value{ktype, iterkey, iter.m.flag | flag(ktype.Kind()) | flagIndir}
map.go#L300: return copyVal(vtype, iter.m.flag.ro()|flag(vtype.Kind()), iterelem)
map.go#L327: elem := Value{vtype, iterelem, iter.m.flag | flag(vtype.Kind()) | flagIndir}
swapper.go#L45: if typ.Kind() == abi.String {
type.go#L626: func (t *rtype) Kind() Kind { return Kind(t.t.Kind()) }
type.go#L917: if t.Kind() != abi.Func {
type.go#L925: if y.Kind() != abi.Func {
type.go#L929: return yield.InCount == 1 && yield.OutCount == 1 && yield.Out(0).Kind() == abi.Bool
type.go#L945: if t.Kind() != abi.Func {
type.go#L953: if y.Kind() != abi.Func {
type.go#L957: return yield.InCount == 2 && yield.OutCount == 1 && yield.Out(0).Kind() == abi.Bool
type.go#L1308: if ntyp.Kind() == abi.Pointer {
type.go#L1331: if ok || ntyp == nil || ntyp.Kind() != abi.Struct {
type.go#L1505: if T.Kind() != abi.Interface {
type.go#L1525: if V.Kind() == abi.Interface {
type.go#L1613: if T.HasName() && V.HasName() || T.Kind() != V.Kind() {
type.go#L1617: if T.Kind() == abi.Chan && specialChannelAssignability(T, V) {
type.go#L1630: if nameFor(T) != nameFor(V) || T.Kind() != V.Kind() || pkgPathFor(T) != pkgPathFor(V) {
type.go#L1642: kind := Kind(T.Kind())
type.go#L1643: if kind != Kind(V.Kind()) {
type.go#L2061: switch Kind(t.Kind()) {
type.go#L2085: switch Kind(t.Kind()) {
type.go#L2112: switch Kind(t.Kind()) {
type.go#L2317: if f.Typ.Kind() == abi.Pointer {
type.go#L2320: if k := elem.Kind(); k == abi.Pointer || k == abi.Interface {
type.go#L2325: switch Kind(f.Typ.Kind()) {
type.go#L2643: switch t.Kind() {
type.go#L2833: if t.Kind() != abi.Func {
type.go#L2836: if rcvr != nil && rcvr.Kind() == abi.Interface {
type.go#L2908: switch Kind(t.Kind()) {
value.go#L164: f := flag(t.Kind())
value.go#L309: if v.typ().Elem().Kind() != abi.Uint8 {
value.go#L315: if v.typ().Elem().Kind() != abi.Uint8 {
value.go#L332: if v.typ().Elem().Kind() != abi.Int32 {
value.go#L622: fl := flagIndir | flag(tv.Kind())
value.go#L639: ret[i] = Value{tv, regArgs.Ptrs[steps[0].ireg], flag(tv.Kind())}
value.go#L670: ret[i] = Value{tv, s, flagIndir | flag(tv.Kind())}
value.go#L719: v := Value{typ, nil, flag(typ.Kind())}
value.go#L879: if v.typ().Kind() == abi.Interface {
value.go#L918: if t.Kind() == abi.Interface {
value.go#L1171: if v.typ().Elem().Kind() == abi.Array {
value.go#L1256: fl |= flag(typ.Kind())
value.go#L1276: fl := v.flag&(flagStickyRO|flagIndir|flagAddr) | flag(typ.Kind())
value.go#L1316: if v.Kind() == Pointer && v.typ().Elem().Kind() == abi.Struct {
value.go#L1339: if v.Kind() == Ptr && v.typ().Elem().Kind() == abi.Struct {
value.go#L1416: fl := v.flag&(flagIndir|flagAddr) | v.flag.ro() | flag(typ.Kind()) // bits same as overall array
value.go#L1429: fl := flagAddr | flagIndir | v.flag.ro() | flag(typ.Kind())
value.go#L1563: if typ.Kind() == abi.Interface {
value.go#L1871: if v.typ().Elem().Kind() == abi.Array {
value.go#L1906: if v.typ().Kind() == abi.Interface && v.IsNil() {
value.go#L2104: val = Value{t, nil, flag(t.Kind())}
value.go#L2196: if v.typ().Elem().Kind() != abi.Int32 {
value.go#L2512: if v.typ().Kind() == abi.Interface {
value.go#L2833: stringCopy = sk == String && dst.typ().Elem().Kind() == abi.Uint8
value.go#L3023: fl := flag(t.Kind())
value.go#L3136: fl := flag(t.Kind())
value.go#L3192: fl |= flag(dst.Kind())
value.go#L3370: switch Kind(src.Kind()) {
value.go#L3372: switch Kind(dst.Kind()) {
value.go#L3382: switch Kind(dst.Kind()) {
value.go#L3392: switch Kind(dst.Kind()) {
value.go#L3402: switch Kind(dst.Kind()) {
value.go#L3408: if dst.Kind() == abi.Slice && pkgPathFor(dst.Elem()) == "" {
value.go#L3409: switch Kind(dst.Elem().Kind()) {
value.go#L3418: if dst.Kind() == abi.String && pkgPathFor(src.Elem()) == "" {
value.go#L3419: switch Kind(src.Elem().Kind()) {
value.go#L3428: if dst.Kind() == abi.Pointer && dst.Elem().Kind() == abi.Array && src.Elem() == dst.Elem().Elem() {
value.go#L3433: if dst.Kind() == abi.Array && src.Elem() == dst.Elem() {
value.go#L3438: if dst.Kind() == abi.Chan && specialChannelAssignability(dst, src) {
value.go#L3449: if dst.Kind() == abi.Pointer && nameFor(dst) == "" &&
value.go#L3450: src.Kind() == abi.Pointer && nameFor(src) == "" &&
value.go#L3456: if src.Kind() == abi.Interface {
value.go#L3480: return Value{typ, ptr, f | flagIndir | flag(typ.Kind())}
value.go#L3494: return Value{typ, ptr, f | flagIndir | flag(typ.Kind())}
value.go#L3502: return Value{typ, ptr, f | flagIndir | flag(typ.Kind())}
value.go#L3516: return Value{typ, ptr, f | flagIndir | flag(typ.Kind())}
runtime
alg.go#L227: switch t.Kind() {
arena.go#L114: if t.Kind() != abi.Pointer {
arena.go#L148: switch t.Kind() {
arena.go#L165: switch t.Kind() {
arena.go#L296: if typ.Kind() != abi.Pointer {
arena.go#L300: if typ.Kind() != abi.Slice {
cgocall.go#L573: if arg != nil && (t.Kind() == abi.Pointer || t.Kind() == abi.UnsafePointer) {
cgocall.go#L582: switch aep._type.Kind() {
cgocall.go#L584: if t.Kind() == abi.UnsafePointer {
cgocall.go#L608: if t.Kind() != abi.Array {
cgocall.go#L639: switch t.Kind() {
cgocall.go#L659: panic(cgoFormatErr(msg, t.Kind()))
cgocall.go#L667: panic(cgoFormatErr(msg, t.Kind()))
cgocall.go#L677: panic(cgoFormatErr(msg, t.Kind()))
cgocall.go#L684: panic(cgoFormatErr(msg, t.Kind()))
cgocall.go#L695: panic(cgoFormatErr(msg, t.Kind()))
cgocall.go#L710: panic(cgoFormatErr(msg, t.Kind()))
cgocall.go#L739: panic(cgoFormatErr(msg, t.Kind()))
debuglog.go#L331: switch v._type.Kind() {
error.go#L263: switch eface._type.Kind() {
mbitmap.go#L970: if typ.Kind() == abi.Interface {
mbitmap.go#L1821: if t.Kind() != abi.Pointer {
mcleanup.go#L94: kind := argType.Kind()
mfinal.go#L254: switch f.fint.Kind() {
mfinal.go#L438: if etyp.Kind() != abi.Pointer {
mfinal.go#L493: if ftyp.Kind() != abi.Func {
mfinal.go#L508: case fint.Kind() == abi.Pointer:
mfinal.go#L514: case fint.Kind() == abi.Interface:
pinner.go#L131: if kind := etyp.Kind(); kind != abi.Pointer && kind != abi.UnsafePointer {
plugin.go#L91: if t.Kind() == abi.Func {
type.go#L71: switch t.Kind() {
type.go#L218: switch t.Kind() {
type.go#L524: kind := t.Kind()
type.go#L525: if kind != v.Kind() {
unique
clone.go#L42: if typ.Kind() == abi.String {
clone.go#L46: switch typ.Kind() {
clone.go#L60: switch f.Typ.Kind() {
clone.go#L77: switch etyp.Kind() {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |