Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 148 for HelloWorld (0.14 sec)

  1. src/syscall/syscall_windows_test.go

    package main
    
    import "C"
    import (
    	"fmt"
    )
    
    //export HelloWorld
    func HelloWorld() {
    	fmt.Println("Hello World")
    }
    
    func main() {}
    `
    	dllsrc := filepath.Join(tmpdir, "helloworld.go")
    	err := os.WriteFile(dllsrc, []byte(dlltext), 0644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	dll := filepath.Join(tmpdir, "helloworld.dll")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:33:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. subprojects/core/src/crossVersionTest/groovy/org/gradle/testfixtures/ProjectBuilderCrossVersionIntegrationTest.groovy

                            project.tasks.create('helloWorld', HelloWorld)
                        }
                    }
                """
    
                file('src/main/groovy/org/gradle/hello/HelloWorld.groovy') << """
                    package org.gradle.hello
    
                    import org.gradle.api.DefaultTask
                    import org.gradle.api.tasks.TaskAction
    
                    class HelloWorld extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. tools/docker.yaml

    # This folder is then passed as the docker context. This avoids complex .dockerignore or large context loads.
    
    # Example image config
    example:
    - name: helloworld # Name of the image. Will end up pushed to <HUB>/helloworld:<TAG>
      dockerfile: helloworld/Dockerfile.proxyv2
      files:
      # Include a static file
      # Inside the Dockerfile, this is referenced by the base name (README.md), not the full name.
      - samples/README.md
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. test/linkmain_run.go

            os.Exit(1)
        }
        os.WriteFile(tmp("importcfg"), importcfg, 0644)
    
    	// helloworld.go is package main
        run("go tool compile -p=main -importcfg", tmp("importcfg"), "-o", tmp("linkmain.o"), "helloworld.go")
    	run("go tool compile -p=main -importcfg", tmp("importcfg"), " -pack -o", tmp("linkmain.a"), "helloworld.go")
    	run("go tool link -importcfg", tmp("importcfg"), "-o", tmp("linkmain.exe"), tmp("linkmain.o"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerMiscEndUserIntegrationTest.groovy

                    }
    
                    def "execute helloWorld task"() {
                        settingsFile = new File(testProjectDir, 'settings.gradle')
                        buildFile = new File(testProjectDir, 'build.gradle')
                        given:
                        settingsFile << "rootProject.name = 'hello-world'"
                        buildFile << '''
                            task helloWorld {
                                doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate_test.go

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: helloworld-v1
      labels:
        app: helloworld
        version: v1
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: helloworld
          version: v1
      template:
        metadata:
          annotations:
            sidecar.istio.io/bootstrapOverride: "istio-custom-bootstrap-config"
          labels:
            app: helloworld
            version: v1
        spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 08:08:36 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleBuildSrcGroupedTaskFunctionalTest.groovy

        def "can group task output in buildSrc"() {
            file('buildSrc/build.gradle') << """
                task helloWorld {
                    doLast {
                        logger.quiet '$HELLO_WORLD_MESSAGE'
                    }
                }
    
                jar.dependsOn helloWorld
            """
            buildFile << """
                task byeWorld {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testfortran/fortran_test.go

    	}
    
    	// Do a test build that doesn't involve Go FORTRAN support.
    	fcArgs := append([]string{"testdata/helloworld/helloworld.f90", "-o", "/dev/null"}, fcExtra...)
    	t.Logf("%s %s", fc, fcArgs)
    	if err := exec.Command(fc, fcArgs...).Run(); err != nil {
    		t.Skipf("skipping Fortran test: could not build helloworld.f90 with %s: %s", fc, err)
    	}
    
    	// Finally, run the actual test.
    	t.Log("go", "run", "./testdata/testprog")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 01:29:16 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/testdata/scopes.go

    			f = id(2)
    		)
    		for i := 0; i <= 5; i++ {
    			j += j * (j ^ 3) / 100
    			if i == f {
    				fmt.Println("foo")
    				break
    			}
    			sleepytime()
    		}
    		helloworld()
    	}
    }
    
    func sleepytime() {
    	time.Sleep(5 * time.Millisecond)
    }
    
    func helloworld() {
    	fmt.Println("Hello, World!")
    }
    
    //go:noinline
    func f1(x int) {}
    
    //go:noinline
    func f2(x int) {}
    
    //go:noinline
    func f3(x int) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 18:05:07 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerUnsupportedFeatureFailureIntegrationTest.groovy

            def minSupportedVersion = TestKitFeature.CAPTURE_BUILD_RESULT_OUTPUT_IN_DEBUG.since.version
    
            given:
            buildFile << helloWorldTask()
    
            when:
            def result = runner('helloWorld')
                .withGradleVersion(maxUnsupportedVersion)
                .build()
    
            and:
            result.output
    
            then:
            def e = thrown UnsupportedFeatureException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top