Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for HelloWorld (0.4 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    [.multi-language-sample]
    =====
    .app/build.gradle.kts
    [source,kotlin]
    ----
    plugins {
        id("application")                       // app is now a java application
    }
    
    application {
        mainClass.set("hello.HelloWorld")       // main class name required by the application plugin
    }
    
    dependencies {
        implementation(project(":some-logic"))  // dependency on some-logic
    }
    ----
    =====
    [.multi-language-sample]
    =====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            given:
            buildFile << """
    apply plugin: "cpp"
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
    """
    
            and:
            file("src", "main", "cpp", "helloworld.cpp") << """
                int thing() { return 0; }
            """
    
            expect:
            fails "mainExecutable"
            failure.assertHasDescription("Execution failed for task ':linkMainExecutable'.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/BaseGradleRunnerIntegrationTest.groovy

                .withDebug(debug)
    
            gradleProvider.applyTo(gradleRunner)
            gradleRunner
        }
    
        static String helloWorldTask() {
            """
            task helloWorld {
                doLast {
                    println 'Hello world!'
                }
            }
            """
        }
    
        static boolean isCompatibleVersion(String minCompatibleVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_waypoint.go

    		statPrefix:                cc.StatPrefix(),
    		isWaypoint:                true,
    		policySvc:                 svc,
    	}
    	// See https://github.com/grpc/grpc-web/tree/master/net/grpc/gateway/examples/helloworld#configure-the-proxy
    	if cc.port.Protocol.IsHTTP2() {
    		httpOpts.connectionManager.Http2ProtocolOptions = &core.Http2ProtocolOptions{}
    	}
    
    	if features.HTTP10 || enableHTTP10(lb.node.Metadata.HTTP10) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_inbound.go

    		port:                      int(cc.port.TargetPort),
    		statPrefix:                cc.StatPrefix(),
    		hbone:                     cc.hbone,
    	}
    	// See https://github.com/grpc/grpc-web/tree/master/net/grpc/gateway/examples/helloworld#configure-the-proxy
    	if cc.port.Protocol.IsHTTP2() {
    		httpOpts.connectionManager.Http2ProtocolOptions = &core.Http2ProtocolOptions{}
    	}
    
    	if features.HTTP10 || enableHTTP10(lb.node.Metadata.HTTP10) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    		t.Fatalf("build failed: %v\n%s", err, out)
    	}
    
    	fi, err := os.Stat(exe)
    	if err != nil {
    		t.Fatalf("failed to stat output file: %v", err)
    	}
    
    	// The test program is not much different from a helloworld, which is
    	// typically a little over 1 MB. We allow 5 MB. If the bad stmp is live,
    	// it will be over 10 MB.
    	const want = 5 << 20
    	if got := fi.Size(); got > want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top