Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for set_readonly (0.15 sec)

  1. 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)
  2. tensorflow/compiler/jit/variable_info_util.cc

            var_idx, handle.name(), variable, handle.definition_stack_trace());
        if (variables_updated != nullptr &&
            variables_updated->find(var_idx) == variables_updated->end()) {
          variable_info.set_read_only();
        }
      }
      return absl::OkStatus();
    }
    
    Status LockVariables(absl::Span<VariableInfo*> variables) {
      std::vector<int> lock_order(variables.size());
      std::iota(lock_order.begin(), lock_order.end(), 0);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. pkg/volume/flexvolume/plugin.go

    	sourceDriver, err := getDriver(spec)
    	if err != nil {
    		return nil, err
    	}
    
    	readOnly, err := getReadOnly(spec)
    	if err != nil {
    		return nil, err
    	}
    
    	var metricsProvider volume.MetricsProvider
    	if plugin.capabilities.SupportsMetrics {
    		metricsProvider = volume.NewMetricsStatFS(plugin.host.GetPodVolumeDir(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K 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/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)
  6. 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)
  7. 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