Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 148 for HelloWorld (0.11 sec)

  1. pkg/test/echo/server/forwarder/tcp.go

    			return "", fmt.Errorf("did not receive magic string. Want %q, got %q", common.ServerFirstMagicString, string(readBytes))
    		}
    	}
    
    	// Make sure the client writes something to the buffer
    	message := "HelloWorld"
    	if cfg.Request.Message != "" {
    		message = cfg.Request.Message
    	}
    
    	if _, err := conn.Write([]byte(message + "\n")); err != nil {
    		fwLog.Warnf("TCP write failed: %v", err)
    		return msgBuilder.String(), err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    [source,kotlin]
    ----
    .
    ├── build.gradle.kts
    └── src
        └── main
            ├── java
            │   └── HelloWorld.java
            └── kotlin
                └── Utils.kt
    ----
    =====
    [.multi-language-sample]
    =====
    [source,groovy]
    ----
    .
    ├── build.gradle
    └── src
        └── main
            ├── java
            │   └── HelloWorld.java
            └── kotlin
                └── Utils.kt
    ----
    =====
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

        def "accepts start of embedded build as end of group"() {
            def consoleOutput = """
    > Task :helloWorld
    Hello, World!
    
    > :otherBuild > :abc"""
    
            when:
            GroupedOutputFixture groupedOutput = new GroupedOutputFixture(LogContent.of(consoleOutput))
    
            then:
            groupedOutput.task(':helloWorld').output == 'Hello, World!'
        }
    
        def "accepts start of sub progress logger as end of group"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/test/echo/cmd/client/main.go

    		"A list of http headers (use Host for authority) - 'name: value', following curl syntax")
    	rootCmd.PersistentFlags().StringVar(&caFile, "ca", "", "CA root cert file")
    	rootCmd.PersistentFlags().StringVar(&msg, "msg", "HelloWorld",
    		"message to send (for websockets)")
    	rootCmd.PersistentFlags().StringVar(&expect, "expect", "",
    		"message to expect (for tcp)")
    	rootCmd.PersistentFlags().StringVar(&method, "method", "", "method to use (for HTTP)")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. docs/features/events.md

        printEvent("dnsEnd");
      }
    
      ...
    }
    ```
    
    We make a couple calls:
    
    ```java
    Request request = new Request.Builder()
        .url("https://publicobject.com/helloworld.txt")
        .build();
    
    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  8. istioctl/pkg/checkinject/checkinject.go

      istioctl x check-inject deployment/details-v1 -n test
    
      # Check the injection status of label pairs in a specific namespace before actual injection 
      istioctl x check-inject -n test -l app=helloworld,version=v1
    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) == 0 && labelPairs == "" || len(args) > 1 {
    				cmd.Println(cmd.UsageString())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. 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)
  10. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    from. A source set is essentially just a set of source directories containing source files. For example, when you apply the `c` plugin and define a library called `helloworld`, Gradle will define, by default, a source set containing the C source files in the `src/helloworld/c` directory. It will use these source files to build the `helloworld` library. This is described in more detail below.
    
    For each component, Gradle defines one or more _binaries_ as output. To build a binary, Gradle will...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top