Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for idToType (0.18 sec)

  1. src/encoding/gob/type.go

    	types                = make(map[reflect.Type]gobType, 32)
    	idToTypeSlice        = make([]gobType, 1, firstUserId)
    	builtinIdToTypeSlice [firstUserId]gobType // set in init() after builtins are established
    )
    
    func idToType(id typeId) gobType {
    	if id < 0 || int(id) >= len(idToTypeSlice) {
    		return nil
    	}
    	return idToTypeSlice[id]
    }
    
    func builtinIdToType(id typeId) gobType {
    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