Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for getProp2 (0.17 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DefaultInstantiationSchemeTest.groovy

            Impl() {
                throw new RuntimeException("should not be called")
            }
        }
    
        static abstract class WithServices {
            @Inject
            abstract String getProp()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                    String toString() { display.toString() }
                }
    
                abstract class MyTask extends DefaultTask {
                    @Input
                    abstract MapProperty<$keyType, $valueType> getProp()
    
                    @TaskAction
                    void go() {
                        println("prop = \${prop.get()}")
                    }
                }
    
                def key = new Param<String>(display: 'a')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy

                    T display
                    String toString() { display.toString() }
                }
    
                abstract class ATask extends DefaultTask {
                    @Input
                    abstract ListProperty<$type> getProp()
    
                    @TaskAction
                    void go() {
                        println("prop = \${prop.get()}")
                    }
                }
    
                tasks.create("thing", ATask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:57:00 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/AbstractOptionIntegrationSpec.groovy

                        this.prop1 = prop1;
                    }
                    
                    @Option(option = "prop2", description = "Configures command line option 'prop2'.")
                    public void setProp2(Boolean prop2) {
                        this.prop2 = prop2;
                    }
                    
                    @Option(option = "prop3", description = "Configures command line option 'prop3'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 09:40:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

        }
    
        interface Params extends BuildServiceParameters {
            String getProp()
    
            void setProp(String value)
        }
    
        static abstract class ServiceImpl implements BuildService<Params> {
            static List<ServiceImpl> instances = []
    
            String getProp() {
                return getParameters().prop
            }
    
            static void reset() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

            def bean = create(InterfacePrimitiveBean)
    
            expect:
            !bean.prop1
            bean.setProp1(true)
            bean.prop1
    
            bean.prop2 == 0
            bean.setProp2(12)
            bean.prop2 == 12
        }
    
        def canConstructInstanceOfInterfaceWithFileCollectionGetter() {
            def projectDir = tmpDir.testDirectory
            def bean = create(InterfaceFileCollectionBean)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

                    "@OutputFiles"
                ],
                [
                    'final SetProperty<RegularFile> prop = project.objects.setProperty(RegularFile)',
                    'abstract SetProperty<RegularFile> getProp()'
                ]
            ].combinations()
        }
    
        def "task @OutputDirectories directory property is implicitly finalized when task starts execution"() {
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            isolated.coerce(String) == null
    
            def v = isolated.coerce(cl)
            cl.isInstance(v)
            v.name == "value1"
        }
    
        interface BeanInterface {
            String getProp1()
    
            void setProp1(String value)
        }
    
        def "creates isolated managed interface"() {
            def instantiator = instantiatorFactory().inject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

      // check values of `paddings` and `crops` to make sure it really stands for
      // a dilated conv.
      auto stb_paddings = stb_op.getPaddings();
      auto bts_crops = bts_op.getCrops();
      ElementsAttr stb_paddings_attr, bts_crops_attr;
      if (!matchPattern(stb_paddings, m_Constant(&stb_paddings_attr)) ||
          !matchPattern(bts_crops, m_Constant(&bts_crops_attr))) {
        return rewriter.notifyMatchFailure(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            upperCaser(gString)
        }
    
        private upperCaser(String str) {
            str.toUpperCase()
        }
    }
    
    interface WithProperties {
        String getProp()
    }
    
    class ImplementsInterface implements WithProperties {
        String prop
    }
    
    class HasReadOnlyFinalProperty {
        final Property<String> someValue
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top