Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for newMapType (0.11 sec)

  1. src/encoding/gob/type.go

    	return g.Name
    }
    
    func (g *gobEncoderType) string() string { return g.Name }
    
    // Map type
    type mapType struct {
    	CommonType
    	Key  typeId
    	Elem typeId
    }
    
    func newMapType(name string) *mapType {
    	m := &mapType{CommonType{Name: name}, 0, 0}
    	return m
    }
    
    func (m *mapType) init(key, elem gobType) {
    	// Set our type id before evaluating the element's, in case it's our own.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top