Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 407 for xHello (0.11 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

                package org.gradle.test;
                public class BuildClass {
                    public String message() { return "hello world"; }
                }
            '''
            builder.buildJar(jarFile)
    
            then:
            succeeds("hello")
            outputContains("hello world")
    
            when:
            builder = artifactBuilder()
            builder.sourceFile("org/gradle/test/BuildClass.java").createFile().text = '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/io/io_test.go

    	rb := new(Buffer)
    	wb := new(Buffer)
    	rb.WriteString("hello, world.")
    	CopyN(wb, rb, 5)
    	if wb.String() != "hello" {
    		t.Errorf("CopyN did not work properly")
    	}
    }
    
    func TestCopyNReadFrom(t *testing.T) {
    	rb := new(Buffer)
    	wb := new(bytes.Buffer) // implements ReadFrom.
    	rb.WriteString("hello")
    	CopyN(wb, rb, 5)
    	if wb.String() != "hello" {
    		t.Errorf("CopyN did not work properly")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

            "T = T"                                         | "MyObject" | 'new MyObject("hello")'                  | "hello"
            "T = Provider<T>"                               | "MyObject" | 'provider { new MyObject("hello") }'     | unsupportedWithCause("Cannot cast object")
            "String = Object"                               | "String"   | 'new MyObject("hello")'                  | "hello"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  4. src/cmd/pack/pack_test.go

    	goBin := testenv.GoToolPath(t)
    	run(goBin, "tool", "compile", "-importcfg="+importcfgfile, "-p=main", "hello.go")
    	run(packPath(t), "grc", "hello.a", "hello.o")
    	run(goBin, "tool", "link", "-importcfg="+importcfgfile, "-o", "a.out", "hello.a")
    	out := run("./a.out")
    	if out != "hello world\n" {
    		t.Fatalf("incorrect output: %q, want %q", out, "hello world\n")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        )
        val response = client.newCall(request().build()).execute()
        val responseBody = response.body
        assertThat(responseBody.string(), "Expected response body to be valid")
          .isEqualTo("Hello, Hello, Hello")
        responseBody.close()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate_test.go

    items:
    - apiVersion: apps/v1
      kind: Deployment
      metadata:
        labels:
          app: hello
          version: v1
        name: hello-v1
      spec:
        replicas: 1
        template:
          metadata:
            labels:
              app: hello
              version: v1
          spec:
            containers:
            - name: hello
              image: istio/examples-hello
              imagePullPolicy: IfNotPresent
              ports:
    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. src/runtime/string_test.go

    func BenchmarkCompareStringSameLength(b *testing.B) {
    	s1 := "Hello Gophers!"
    	s2 := "Hello, Gophers"
    	for i := 0; i < b.N; i++ {
    		if s1 == s2 {
    			b.Fatal("s1 == s2")
    		}
    	}
    }
    
    func BenchmarkCompareStringDifferentLength(b *testing.B) {
    	s1 := "Hello Gophers!"
    	s2 := "Hello, Gophers!"
    	for i := 0; i < b.N; i++ {
    		if s1 == s2 {
    			b.Fatal("s1 == s2")
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestIntegrationTest.groovy

            createDirs("hello", "log")
            settingsFile << """
                rootProject.name = 'app'
                include 'hello', 'log'
            """
            buildFile << """
                apply plugin: 'swift-application'
                dependencies {
                    implementation project(':hello')
                }
                project(':hello') {
                    apply plugin: 'swift-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

        }
      }
    
      @Test
      fun singlePart() {
        val expected =
          """
          |--123
          |
          |Hello, World!
          |--123--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody.Builder("123")
            .addPart("Hello, World!".toRequestBody(null))
            .build()
        assertThat(body.boundary).isEqualTo("123")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

            testApp.executable.writeSources(file("src/exe"))
            testApp.library.writeSources(file("src/hello"))
            when:
            buildFile << """
    model {
        components {
            exe(NativeExecutableSpec) {
                sources {
                    cpp.lib library: 'hello', linkage: 'static'
                }
            }
            hello(NativeLibrarySpec)
        }
    }
    """
    
            and:
            succeeds "exeExecutable"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top