Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for set_read_only (0.27 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

            }
        }
    
        class SpecializingType extends SomeClass {
            Long getProp() {
                return 12L
            }
    
            void setProp(Long l) {
            }
    
            void setReadOnly(String s) {
            }
    
            String getWriteOnly() {
                return ""
            }
        }
    
        def "can extract super types"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/codegen_test.cc

      tf2xla::Variable* variable = config.add_variable();
      variable->set_node_name("myvar_readonly");
      variable->mutable_shape()->add_dim()->set_size(1);
      variable->set_type(DT_FLOAT);
      variable->set_readonly(true);
      tf2xla::Variable* variable2 = config.add_variable();
      variable2->set_node_name("myvar");
      variable2->mutable_shape()->add_dim()->set_size(1);
      variable2->set_type(DT_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

        def "file permissions are not preserved on OS without permission support"() {
            given:
            def testSourceFile = file("reference.txt") << 'test file"'
            assertTrue testSourceFile.setReadOnly()
            and:
            buildFile << """
            task copy(type: Copy) {
                from "reference.txt"
                into ("build/tmp")
            }
            """
            when:
            withDebugLogging()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loader/symbolbuilder.go

    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)
    }
    
    func (sb *SymbolBuilder) SetDuplicateOK(v bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/SmbResource.java

    
        /**
         * Make this file read-only. This is shorthand for <tt>setAttributes(
         * getAttributes() | ATTR_READ_ONLY )</tt>.
         *
         * @throws CIFSException
         */
        void setReadOnly () throws CIFSException;
    
    
        /**
         * Set the attributes of this file. Attributes are composed into a
         * bitset by bitwise ORing the <tt>ATTR_*</tt> constants. Setting the
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (0)
  8. 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)
  9. 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)
Back to top