Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for attrReadOnly (0.13 sec)

  1. src/cmd/link/internal/loader/loader.go

    }
    
    func (l *Loader) AttrCgoExport(i Sym) bool {
    	return l.AttrCgoExportDynamic(i) || l.AttrCgoExportStatic(i)
    }
    
    // AttrReadOnly returns true for a symbol whose underlying data
    // is stored via a read-only mmap.
    func (l *Loader) AttrReadOnly(i Sym) bool {
    	if v, ok := l.attrReadOnly[i]; ok {
    		return v
    	}
    	if l.IsExternal(i) {
    		pp := l.getPayload(i)
    		if pp.objidx != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/symbolbuilder.go

    	return sb.l.AttrReachable(sb.symIdx)
    }
    
    func (sb *SymbolBuilder) SetReachable(v bool) {
    	sb.l.SetAttrReachable(sb.symIdx, v)
    }
    
    func (sb *SymbolBuilder) ReadOnly() bool {
    	return sb.l.AttrReadOnly(sb.symIdx)
    }
    
    func (sb *SymbolBuilder) SetReadOnly(v bool) {
    	sb.l.SetAttrReadOnly(sb.symIdx, v)
    }
    
    func (sb *SymbolBuilder) DuplicateOK() bool {
    	return sb.l.AttrDuplicateOK(sb.symIdx)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top