Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for setFoo (0.26 sec)

  1. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/annotationForFunctionOutOfCodeGenTarget2.kt

    import p3.foo
    
    @MyComposable
    fun Greeting(): String {
        return "Hi $foo!"
    }
    
    // FILE: p3/foo.kt
    package p3
    
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    
    private var foo_ = 0
    
    fun setFoo(newFoo: Int) {
        foo_ = newFoo
    }
    
    val foo: Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Mar 26 07:06:11 UTC 2024
    - 486 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

        static String setId(String id) {
            return "id = \"${id}\"\n"
        }
    
        static String setFooBar(String bar) {
            return setFoo(setBar(bar))
        }
    
        static String setBar(String bar) {
            return "bar = \"${bar}\"\n"
        }
    
        static String setFoo(String contents) {
            return "foo {\n${contents}\n}"
        }
    
        static String setAll(String id, String bar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

                type('MyTask')
                kind('method')
                annotation('SomeAnnotation')
                method('setFoo')
                includeLink()
            }
    
    
            then:
            outputEquals """
    Type 'MyTask' method 'setFoo()' should not be annotated with: @SomeAnnotation.
    
    Reason: Input/Output annotations are ignored if they are placed on something else than a getter.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

            }
            invokeStateSetMethod(methodVisitor);
    
            finishVisitingMethod(methodVisitor);
        }
    
        // the overload of type Object for Groovy coercions:  public void setFoo(Object foo)
        private void writeTypeConvertingSetter(ClassVisitor visitor, Type generatedType, Class<?> viewClass, ModelProperty<?> property) {
            WeaklyTypeReferencingMethod<?, ?> weakSetter = property.getAccessor(SETTER);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/go/printer/nodes.go

    		if len(list) == 0 {
    			// no blank between keyword and {} in this case
    			p.setPos(lbrace)
    			p.print(token.LBRACE)
    			p.setPos(rbrace)
    			p.print(token.RBRACE)
    			return
    		} else if p.isOneLineFieldList(list) {
    			// small enough - print on one line
    			// (don't use identList and ignore source line breaks)
    			p.setPos(lbrace)
    			p.print(token.LBRACE, blank)
    			f := list[0]
    			if isStruct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top