Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CommonType (0.09 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/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)
Back to top