Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initFileMap (2.6 sec)

  1. src/debug/gosym/pclntab.go

    		}
    		pc := t.findFileLine(entry, filetab, linetab, int32(filenum), int32(line), cutab)
    		if pc != 0 {
    			return pc
    		}
    	}
    	return 0
    }
    
    // initFileMap initializes the map from file name to file number.
    func (t *LineTable) initFileMap() {
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	if t.fileMap != nil {
    		return
    	}
    	m := make(map[string]uint32)
    
    	if t.version == ver12 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top