Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 171 for setchr (0.13 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/VariantAspectExtractionIntegrationTest.groovy

        }
    
        def "variant annotation on setter raises error"() {
            buildFile << """
            @Managed
            interface SampleBinary extends BinarySpec {
                String getVariantProp()
                @Variant
                void setVariantProp(String variant)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            when:
            impl.otherValue {
                value = "12"
            }
    
            then:
            1 * prop.setValue("12")
            0 * state._
        }
    
        def "mixes in converting setter for managed property with scalar type"() {
            def state = Mock(ModelElementState)
    
            given:
            def proxyClass = generate(SomeType)
            def impl = proxyClass.newInstance(state, typeConverter)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    )
    
                return kotlinType.toKtType(analysisContext)
            }
    
            // Manually handle custom setter parameter
            if (declaration is KtParameter) {
                val parameterList = declaration.parent as? KtParameterList
                if (parameterList?.parameters?.singleOrNull() == declaration) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/codegen_test.cc

      feed->mutable_id()->set_node_name("feed0");
      feed->set_name("myfeed");
      feed = config.add_feed();
      feed->mutable_id()->set_node_name("feed1");
      tf2xla::Fetch* fetch = config.add_fetch();
      fetch->mutable_id()->set_node_name("fetch0");
      fetch->set_name("myfetch");
      tf2xla::Variable* variable = config.add_variable();
      variable->set_node_name("myvar_readonly");
      variable->mutable_shape()->add_dim()->set_size(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            if (readOnly) {
                ArchiveFileSet archiveFileSet = archiveTask instanceof Zip ? new ZipFileSet() : archiveTask.createTarFileSet()
                archiveFileSet.setDir(file)
                archiveFileSet.setFileMode("0444")
                archiveFileSet.setDirMode("0555")
                archiveTask.add(archiveFileSet)
            } else {
                archiveTask.setBasedir(file)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. test/escape_reflect.go

    	return v.Cap()
    }
    
    func setlen(x *[]int, n int) { // ERROR "x does not escape"
    	v := reflect.ValueOf(x).Elem()
    	v.SetLen(n)
    }
    
    func setcap(x *[]int, n int) { // ERROR "x does not escape"
    	v := reflect.ValueOf(x).Elem()
    	v.SetCap(n)
    }
    
    // Unfortunate: x doesn't need to escape to heap, just to result.
    func slice1(x []byte) []byte { // ERROR "leaking param: x$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. pkg/test/framework/components/istioctl/kube.go

    		c.kubeconfig,
    	}, args...)
    
    	var out bytes.Buffer
    	var err bytes.Buffer
    
    	start := time.Now()
    
    	invokeMutex.Lock()
    	rootCmd := cmd.GetRootCmd(cmdArgs)
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&err)
    	// istioctl will overwrite logs which we don't want.
    	// It happens to do this via PersistentPreRunE, which we can disable.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                                }
                            } else {
                                // Coerce the value to the type accepted by the property setter and invoke the setter directly
                                Class setterType = metaBeanProperty.getSetter().getParameterTypes()[0].getTheClass();
                                value = propertySetTransformer.transformValue(setterType, value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

            val previousErr = System.err
            try {
                System.setOut(outCapture)
                System.setErr(errCapture)
                block()
            } finally {
                System.out.flush()
                System.setOut(previousOut)
                outCapture.stop()
                System.err.flush()
                System.setErr(previousErr)
                errCapture.stop()
            }
        } catch (error: Throwable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileTree.java

            return super.visit(visitor);
        }
    
        @Override
        public PatternSet getPatterns() {
            return patternSet;
        }
    
        @Override
        public DefaultConfigurableFileTree setDir(Object dir) {
            from(dir);
            return this;
        }
    
        @Override
        public File getDir() {
            if (dir == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top