Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setTypeId (0.21 sec)

  1. src/encoding/gob/type.go

    	return s
    }
    
    func (s *sliceType) init(elem gobType) {
    	// Set our type id before evaluating the element's, in case it's our own.
    	setTypeId(s)
    	// See the comments about ids in newTypeObject. Only slices and
    	// structs have mutual recursion.
    	if elem.id() == 0 {
    		setTypeId(elem)
    	}
    	s.Elem = elem.id()
    }
    
    func (s *sliceType) safeString(seen map[typeId]bool) string {
    	if seen[s.Id] {
    		return s.Name
    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