Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for setFoo (0.14 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/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)
  5. 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)
  6. maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoExecutionException or MojoFailureException if error conditions occur.<br>
     * Also included is the <code>setLog(...)</code> method, which simply allows Maven to inject a logging mechanism which
     * will allow the Mojo to communicate to the outside world through standard Maven channels.
     *
     */
    public interface Mojo {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java

            MavenProject project = session.getCurrentProject();
            if (project != null) {
                setRepositories(project.getRemotePluginRepositories());
                setPom(project.getModel());
            }
    
            setPluginGroups(session.getPluginGroups());
        }
    
        public String getPrefix() {
            return prefix;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ir/copy.go

    	var edit func(Node) Node
    	edit = func(x Node) Node {
    		switch x.Op() {
    		case ONAME, ONONAME, OLITERAL, ONIL, OTYPE:
    			return x
    		}
    		x = Copy(x)
    		if pos.IsKnown() {
    			x.SetPos(pos)
    		}
    		EditChildren(x, edit)
    		return x
    	}
    	return edit(n)
    }
    
    // DeepCopyList returns a list of deep copies (using DeepCopy) of the nodes in list.
    func DeepCopyList(pos src.XPos, list []Node) []Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:57:57 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/Block.java

        }
    
        public BlockPointer getNextPos() {
            return BlockPointer.pos(getPos().getPos() + getSize());
        }
    
        public abstract boolean hasPos();
    
        public abstract void setPos(BlockPointer pos);
    
        public abstract void setSize(int size);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. 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)
Back to top