Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for set_read_only (0.44 sec)

  1. 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)
  2. 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