Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 159 for SETTER (0.13 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            abstract int getNumber()
            abstract void setNumber(int value)
        }
    
        def "rule class can have abstract getter and setter"() {
            expect:
            extract(AbstractPropertyRules).empty
        }
    
        def "can create instance of rule class with abstract getter and setter"() {
            when:
            def schema = extractor.extract(AbstractPropertyRules)
            def instance = schema.factory.create()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            file("merge.txt").text == "one,two"
        }
    
        @Issue("https://github.com/gradle/gradle/issues/12832")
        def "can use += convenience in Groovy DSL to add elements to file collection when property has legacy setter"() {
            taskTypeLogsInputFileCollectionContent()
            buildFile << """
                class LegacyTask extends ShowFilesTask {
                    void setInFiles(def c) {
                        inFiles.from = c
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy

                strict(methodShouldNotBeAnnotatedMessage { type(TypeWithAnnotatedNonGetterMethods.canonicalName).kind('setter').method('setSomething').annotation('Large').includeLink() }),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 11 15:31:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublicationTest.groovy

                }
            })
    
            then:
            publication.artifacts == [mavenArtifact] as Set
            publication.publishableArtifacts.files.files == [pomFile, artifactFile] as Set
        }
    
        def "can use setter to replace existing artifacts set"() {
            given:
            def publication = createPublication()
            def mavenArtifact1 = Mock(MavenArtifact)
            def mavenArtifact2 = Mock(MavenArtifact)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/flags.cc

      // going via GetMarkForCompilationPassFlags() to avoid infinite recursion. The
      // latter will try to setup and parse flags, which would bring us back to this
      // setter.
      if (absl::SimpleAtoi(value, &opt_level)) {
        mark_for_compilation_flags->xla_auto_jit_flag
            .optimization_level_single_gpu = opt_level;
        mark_for_compilation_flags->xla_auto_jit_flag.optimization_level_general =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. src/internal/reflectlite/value.go

    // A Value can be changed only if it is addressable and was not
    // obtained by the use of unexported struct fields.
    // If CanSet returns false, calling Set or any type-specific
    // setter (e.g., SetBool, SetInt) will panic.
    func (v Value) CanSet() bool {
    	return v.flag&(flagAddr|flagRO) == flagAddr
    }
    
    // Elem returns the value that the interface v contains
    // or that the pointer v points to.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            then:
            properties*.name == ["name"]
            properties*.type == [ModelType.of(String)]
        }
    
        interface SetterOnlyUnmanaged {
            void setName(String name);
        }
    
        def "setter only unmanaged"() {
            when:
            def schema = extract(SetterOnlyUnmanaged)
    
            then:
            assert schema instanceof UnmanagedImplStructSchema
            schema.getProperty("name") == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        // Copy params from this page's URL.
        const params = url.searchParams;
        for (const p of new URLSearchParams(window.location.search)) {
          params.set(p[0], p[1]);
        }
    
        // Give the params to the setter to modify.
        paramSetter(params);
    
        elem.href = url.toString();
      }
    
      function handleTopClick(e) {
        // Walk back until we find TR and then get the Name column (index 5)
        let elem = e.target;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. ChangeLog.md

    - [`KT-64825`](https://youtrack.jetbrains.com/issue/KT-64825) Analysis API. Cannot compute containing PSI for unknown source kind 'org.jetbrains.kotlin.KtFakeSourceElementKind$DefaultAccessor' exception on getContainingSymbol call for default setter parameter
    - [`KT-64080`](https://youtrack.jetbrains.com/issue/KT-64080) K2: Analysis API: On-air resolve does not trigger resolution of delegated super call arguments
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

            """
    
            when:
            run "consumer"
            then:
            executedAndNotSkipped(":producer", ":consumer")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/13623")
        def "setter for #fieldModifier property with different type doesn't cause drop of task dependency"() {
            buildFile """
                abstract class Producer extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top