Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for xHello (0.16 sec)

  1. src/cmd/go/go_test.go

    	tg.parallel()
    	tg.tempFile("main.go", `package main
    		var extern string
    		func main() {
    			println(extern)
    		}`)
    	tg.run("run", "-ldflags", `-X "main.extern=hello world"`, tg.path("main.go"))
    	tg.grepStderr("^hello world", `ldflags -X "main.extern=hello world"' failed`)
    }
    
    func TestLdFlagsLongArgumentsIssue42295(t *testing.T) {
    	// Test the extremely long command line arguments that contain '\n' characters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. pkg/apis/storage/validation/validation_test.go

    			AttachmentMetadata: map[string]string{
    				"foo": "bar",
    			},
    			AttachError: &storage.VolumeError{
    				Time:    metav1.Time{},
    				Message: "hello world",
    			},
    			DetachError: &storage.VolumeError{
    				Time:    metav1.Time{},
    				Message: "hello world",
    			},
    		},
    	}, {
    		ObjectMeta: metav1.ObjectMeta{Name: "foo-with-inlinespec-and-status"},
    		Spec: storage.VolumeAttachmentSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  3. src/net/http/fs_test.go

    		{"bytes=--0", 416, "invalid range\n"},
    		{"bytes=---0", 416, "invalid range\n"},
    		{"bytes=-6", 206, "hello\n"},
    		{"bytes=6-", 206, "html says hello\n"},
    		{"bytes=-6-", 416, "invalid range\n"},
    		{"bytes=-0", 206, ""},
    		{"bytes=", 200, "index.html says hello\n"},
    	}
    
    	for _, tt := range tests {
    		tt := tt
    		t.Run(tt.r, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route_test.go

    		serviceRegistry := map[host.Name]*model.Service{
    			"*.example.org":             exampleWildcardService,
    			"goodbye.hello.example.org": exampleNestedWildcardService,
    		}
    
    		wildcardIndex := map[host.Name]types.NamespacedName{
    			"*.example.org":       virtualServiceWithWildcardHost.NamespacedName(),
    			"*.hello.example.org": virtualServiceWithNestedWildcardHost.NamespacedName(),
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  5. src/os/os_test.go

    	}
    	if string(b) != "hello" {
    		t.Fatalf("Read: have %q want %q", string(b), "hello")
    	}
    }
    
    // Verify that ReadAt doesn't allow negative offset.
    func TestReadAtNegativeOffset(t *testing.T) {
    	t.Parallel()
    
    	f := newFile("TestReadAtNegativeOffset", t)
    	defer Remove(f.Name())
    	defer f.Close()
    
    	const data = "hello, world\n"
    	io.WriteString(f, data)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

        def injectsGenericTypesFromParentIntoProviderFactoryMethod() {
            def parent = new DefaultServiceRegistry() {
                @Provides
                Callable<String> createStringCallable() {
                    return { "hello" }
                }
    
                @Provides
                Factory<String> createStringFactory() {
                    return { "world" } as Factory
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  7. src/net/http/httputil/reverseproxy_test.go

    		t.Errorf("response X-Modified header = %q; want %q", got, want)
    	}
    
    	io.WriteString(rwc, "Hello\n")
    	bs := bufio.NewScanner(rwc)
    	if !bs.Scan() {
    		t.Fatalf("Scan: %v", bs.Err())
    	}
    	got = bs.Text()
    	want = `backend got "Hello"`
    	if got != want {
    		t.Errorf("got %#q, want %#q", got, want)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/values_types.proto

      //
      // templates:
      //   hello: |
      //     metadata:
      //       labels:
      //         hello: world
      //
      // Then starting a pod with the `inject.istio.io/templates: hello` annotation, will result in the pod
      // being injected with the hello=world labels.
      // This is intended for advanced configuration only; most users should use the built in template
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  9. tests/test_application.py

    from .main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  10. src/net/http/client_test.go

    		b = b[len(line):]
    	}
    }
    
    func TestClientRedirectUseResponse(t *testing.T) { run(t, testClientRedirectUseResponse) }
    func testClientRedirectUseResponse(t *testing.T, mode testMode) {
    	const body = "Hello, world."
    	var ts *httptest.Server
    	ts = newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		if strings.Contains(r.URL.Path, "/other") {
    			io.WriteString(w, "wrong body")
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top