Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for set_readonly (0.4 sec)

  1. src/cmd/link/internal/loadmacho/ldmacho.go

    		if bld.Type() != 0 {
    			return errorf("duplicate %s/%s", sect.segname, sect.name)
    		}
    
    		if sect.flags&0xff == 1 { // S_ZEROFILL
    			bld.SetData(make([]byte, sect.size))
    		} else {
    			bld.SetReadOnly(readOnly)
    			bld.SetData(dat[sect.addr-c.seg.vmaddr:][:sect.size])
    		}
    		bld.SetSize(int64(len(bld.Data())))
    
    		if sect.segname == "__TEXT" {
    			if sect.name == "__text" {
    				bld.SetType(sym.STEXT)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanDynamicObjectTest.groovy

                return true
            }
        }
    
        static class Bean {
            String prop
    
            String m(int l) {
                return "[${l + 1}]"
            }
    
            String getReadOnly() {
                return "read-only"
            }
    
            void setWriteOnly(String s) {
                prop = s
            }
    
            Number count
    
            Number getCount() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loadelf/ldelf.go

    		}
    		if sect.type_ == elf.SHT_PROGBITS {
    			sb.SetData(sect.base[:sect.size])
    			sb.SetExternal(true)
    		}
    
    		sb.SetSize(int64(sect.size))
    		sb.SetAlign(int32(sect.align))
    		sb.SetReadOnly(sect.readOnlyMem)
    
    		sect.sym = sb.Sym()
    	}
    
    	// enter sub-symbols into symbol table.
    	// symbol 0 is the null symbol.
    	symbols := make([]loader.Sym, elfobj.nsymtab)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Make this file read-only. This is shorthand for <tt>setAttributes(
     * getAttributes() | ATTR_READ_ONLY )</tt>.
     *
     * @throws SmbException
     */
        public void setReadOnly() throws SmbException {
            setAttributes( getAttributes() | ATTR_READONLY );
        }
    
    /**
     * Turn off the read-only attribute of this file. This is shorthand for
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  6. 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