Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for set_read_only (0.19 sec)

  1. src/cmd/link/internal/ld/macho.go

    		ms.vaddr = Segrelrodata.Vaddr
    		ms.vsize = Segrelrodata.Length
    		ms.fileoffset = Segrelrodata.Fileoff
    		ms.filesize = Segrelrodata.Filelen
    		ms.prot1 = 3
    		ms.prot2 = 3
    		ms.flag = 0x10 // SG_READ_ONLY
    	}
    
    	for _, sect := range Segrelrodata.Sections {
    		machoshbits(ctxt, ms, sect, "__DATA_CONST")
    	}
    
    	/* data */
    	if ctxt.LinkMode != LinkExternal {
    		ms = newMachoSeg("__DATA", 20)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        @Override
        public void setReadOnly () throws SmbException {
            setAttributes(getAttributes() | ATTR_READONLY);
        }
    
    
        @Override
        public void setReadWrite () throws SmbException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  3. src/cmd/link/internal/ld/data.go

    	// Don't reset the variable's size. String variable usually has size of
    	// 2*PtrSize, but in ASAN build it can be larger due to red zone.
    	// (See issue 56175.)
    	bld.SetData(make([]byte, arch.PtrSize*2))
    	bld.SetReadOnly(false)
    	bld.ResetRelocs()
    	bld.SetAddrPlus(arch, 0, sbld.Sym(), 0)
    	bld.SetUint(arch, int64(arch.PtrSize), uint64(len(value)))
    }
    
    func (ctxt *Link) dostrdata() {
    	for _, name := range strnames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top