Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for builtinIdToTypeSlice (0.12 sec)

  1. src/encoding/gob/type.go

    	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 {
    	if id < 0 || int(id) >= len(builtinIdToTypeSlice) {
    		return nil
    	}
    	return builtinIdToTypeSlice[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)
Back to top