Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for setFoo (0.21 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. src/go/internal/gccgoimporter/testdata/issue29198.gox

     func (t <esc:0x12> <type 12>) Location () <type 14>;
     func (t <esc:0x32> <type 12>) Zone () (name <type -16>, offset <type -11>);
     func (t <esc:0x12> <type 12>) Local () <type 12>;
     func (t <esc:0x1> <type 28>) .time.setLoc (loc <type 14>);
     func (t <esc:0x12> <type 12>) Truncate (d <type 26>) <type 12>;
     func (t <esc:0x1> <type 12>) MarshalJSON () (? <type 30 [] <type -20>>, ? <type -19>);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  6. 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)
  7. src/time/mono_test.go

    	}
    }
    
    func TestMonotonicSub(t *testing.T) {
    	t1 := Unix(1483228799, 995e6)
    	SetMono(&t1, 123456789012345)
    
    	t2 := Unix(1483228799, 5e6)
    	SetMono(&t2, 123456789012345+10e6)
    
    	t3 := Unix(1483228799, 995e6)
    	SetMono(&t3, 123456789012345+1e9)
    
    	t1w := t1.AddDate(0, 0, 0)
    	if GetMono(&t1w) != 0 {
    		t.Fatalf("AddDate didn't strip monotonic clock reading")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 17:10:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. 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)
  9. src/time/export_test.go

    	zoneinfo = nil
    	zoneinfoOnce = sync.Once{}
    }
    
    var (
    	DisablePlatformSources = disablePlatformSources
    	GorootZoneSource       = gorootZoneSource
    	ParseTimeZone          = parseTimeZone
    	SetMono                = (*Time).setMono
    	GetMono                = (*Time).mono
    	ErrLocation            = errLocation
    	ReadFile               = readFile
    	LoadTzinfo             = loadTzinfo
    	NextStdChunk           = nextStdChunk
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 19:23:32 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. 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)
Back to top