Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for set_readonly (0.18 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. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

            TestFile testDir = createDir('root') {
                def testDir = testdir {
                    def testFile = file('reference.txt')
                    assertTrue testFile.setReadOnly()
                }
                testDir.setReadOnly()
            }
            testDir.setReadOnly()
            def archName = "test.${taskName.toLowerCase()}"
            testDir."$packMethod"(file(archName))
            and:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

        }
    
        @Managed
        static abstract class SomeTypeWithReadOnly {
            abstract Integer getValue()
    
            abstract void setValue(Integer value)
    
            String getReadOnly() {
                return "read-only"
            }
        }
    
        @Managed
        static interface SomeTypeWithParameters {
            List<String> getValues();
    
            Optional<Boolean> getOptional();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  10. 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)
Back to top