Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CommonType (0.16 sec)

  1. src/encoding/gob/type.go

    	}
    	return t.gobType().name()
    }
    
    // CommonType holds elements of all types.
    // It is a historical artifact, kept for binary compatibility and exported
    // only for the benefit of the package's encoding of type descriptors. It is
    // not intended for direct use by clients.
    type CommonType struct {
    	Name string
    	Id   typeId
    }
    
    func (t *CommonType) id() typeId { return t.Id }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. src/debug/dwarf/type.go

    }
    
    func (c *CommonType) Common() *CommonType { return c }
    
    func (c *CommonType) Size() int64 { return c.ByteSize }
    
    // Basic types
    
    // A BasicType holds fields common to all basic types.
    //
    // See the documentation for [StructField] for more info on the interpretation of
    // the BitSize/BitOffset/DataBitOffset fields.
    type BasicType struct {
    	CommonType
    	BitSize       int64
    	BitOffset     int64
    	DataBitOffset int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  3. src/encoding/gob/doc.go

    	}
    	type arrayType struct {
    		CommonType
    		Elem typeId
    		Len  int
    	}
    	type CommonType struct {
    		Name string // the name of the struct type
    		Id  int    // the id of the type, repeated so it's inside the type
    	}
    	type sliceType struct {
    		CommonType
    		Elem typeId
    	}
    	type structType struct {
    		CommonType
    		Field []*fieldType // the fields of the 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)
  4. src/cmd/link/internal/ld/decodesym.go

    // Type.commonType.kind
    func decodetypeKind(arch *sys.Arch, p []byte) abi.Kind {
    	return abi.Kind(p[2*arch.PtrSize+7]) & abi.KindMask //  0x13 / 0x1f
    }
    
    // Type.commonType.kind
    func decodetypeUsegcprog(arch *sys.Arch, p []byte) bool {
    	return abi.Kind(p[2*arch.PtrSize+7])&abi.KindGCProg != 0 //  0x13 / 0x1f
    }
    
    // Type.commonType.size
    func decodetypeSize(arch *sys.Arch, p []byte) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ClassRngListsPtr", Const, 14},
    		{"ClassStrOffsetsPtr", Const, 14},
    		{"ClassString", Const, 5},
    		{"ClassStringAlt", Const, 5},
    		{"ClassUnknown", Const, 6},
    		{"CommonType", Type, 0},
    		{"CommonType.ByteSize", Field, 0},
    		{"CommonType.Name", Field, 0},
    		{"ComplexType", Type, 0},
    		{"ComplexType.BasicType", Field, 0},
    		{"Data", Type, 0},
    		{"DecodeError", Type, 0},
    		{"DecodeError.Err", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top