Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 369 for getFoo (0.32 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy

                    @Inject abstract ProviderFactory getProviderFactory()
    
                    @Internal abstract Property<String> getOther()
    
                    @Internal Provider<String> getFoo() {
                        return other;
                    }
    
                    @TaskAction
                    void useIt() {
                        assert foo.get() == "foobar"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:27:37 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy

                    @Restricted
                    Property<String> getId();
    
    
                    Foo getFoo();
    
                    @Configuring
                    default void foo(Action<? super Foo> action) {
                        action.execute(getFoo());
                    }
    
                    public abstract static class Foo {
                        public Foo() { }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:26 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_swig.txt

    	g := Gcd(x, y)
    	fmt.Println("The gcd of", x, "and", y, "is", g)
    
    	// Manipulate the Foo global variable
    
    	// Output its current value
    	fmt.Println("Foo =", GetFoo())
    
    	// Change its value
    	SetFoo(3.1415926)
    
    	// See if the change took effect
    	fmt.Println("Foo =", GetFoo())
    }
    -- main.swig --
    %module main
    
    %inline %{
    extern int    gcd(int x, int y);
    extern double Foo;
    %}
    -- main_test.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 05 21:29:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/FileCollectionConventionMappingIntegrationTest.groovy

            buildFile << """
                abstract class MyTask extends DefaultTask {
                    @Internal abstract ConfigurableFileCollection getFoo()
                    @Internal abstract ConfigurableFileCollection getBar()
                    @Inject abstract ProjectLayout getLayout()
    
                    @TaskAction
                    void useIt() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 20:10:55 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/TestManagedTypes.java

     * limitations under the License.
     */
    
    package org.gradle.workers.fixtures;
    
    import org.gradle.api.Named;
    
    public class TestManagedTypes {
        public interface ManagedThing {
            String getFoo();
            void setFoo(String foo);
        }
    
        public interface ImmutableManagedThing extends Named {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 885 bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/features/withstaticreference/WithExtensionReferences.java

     * transformed to the first argument, and the callable kind becomes static). For Groovy properties,
     * the name of the callable is also transformed from "foo" to "getFoo".
     * It is possible to specify the custom name for the extension implementation, if needed.
     */
    public @interface WithExtensionReferences {
        Class<?> toClass();
        String methodName() default "";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorTest.groovy

            hasField(clazz.clazz, 'bar', int).modifiers == Modifier.FINAL
            hasField(extracted, 'bar', int).modifiers == Modifier.FINAL
            hasMethod(clazz.clazz, 'getFoo').modifiers == Modifier.ABSTRACT
            hasMethod(extracted, 'getFoo').modifiers == Modifier.ABSTRACT
            hasMethod(clazz.clazz, 'doBar').modifiers == Modifier.SYNCHRONIZED
            hasMethod(extracted, 'doBar').modifiers == Modifier.SYNCHRONIZED
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            then:
            assert newIsolatables.every { it instanceof IsolatedManagedValue }
    
            and:
            newIsolatables[0].isolate().getFoo() == "bar"
            newIsolatables[1].isolate().getFoo() == "baz"
        }
    
        def "can serialize/deserialize generated immutable Managed values"() {
            def instantiator = TestUtil.objectInstantiator()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

                        getId().convention("<no id>");
                    }
    
                    @Restricted
                    public abstract Property<String> getId();
    
                    public Foo getFoo() {
                        return foo;
                    }
    
                    @Configuring
                    public void foo(Action<? super Foo> action) {
                        action.execute(foo);
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

                    DirectoryProperty getFoo() { return foo }
    
                    void setFoo(File foo) { throw RuntimeException("") }
    
                    @TaskAction
                    void produce() { print("Producer ran") }
                }
    
                abstract class Consumer extends DefaultTask {
                    @InputDirectory
                    abstract DirectoryProperty getFoo()
    
                    @TaskAction
    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