Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 494 for spring (0.12 sec)

  1. src/net/url/url_test.go

    	{
    		query: "a%3Bb=1",
    		out:   Values{"a;b": []string{"1"}},
    		ok:    true,
    	},
    	{
    		query: "a=1&a=2;a=banana",
    		out:   Values{"a": []string{"1"}},
    		ok:    false,
    	},
    	{
    		query: "a;b&c=1",
    		out:   Values{"c": []string{"1"}},
    		ok:    false,
    	},
    	{
    		query: "a=1&b=2;a=3&c=4",
    		out:   Values{"a": []string{"1"}, "c": []string{"4"}},
    		ok:    false,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		{`package u0b; func _[_ int]() {}`, `int`, `int`},
    		{`package u1b; func _[_ ~int]() {}`, `~int`, `~int`},
    		{`package u2b; func _[_ int | string]() {}`, `int | string`, `int | string`},
    		{`package u3b; func _[_ int | string | ~bool]() {}`, `int | string | ~bool`, `int | string | ~bool`},
    		{`package u3b; func _[_ int | string | ~bool]() {}`, `int | string`, `int | string`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/net/http/fs_test.go

    		file    string
    		content io.ReadSeeker
    
    		modtime          time.Time
    		serveETag        string // optional
    		serveContentType string // optional
    		reqHeader        map[string]string
    		wantLastMod      string
    		wantContentType  string
    		wantContentRange string
    		wantStatus       int
    	}
    	htmlModTime := mustStat(t, "testdata/index.html").ModTime()
    	tests := map[string]testCase{
    		"no_last_modified": {
    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. src/html/template/exec_test.go

    	PS:                        newString("a string"),
    	PSI:                       newIntSlice(21, 22, 23),
    	BinaryFunc:                func(a, b string) string { return fmt.Sprintf("[%s=%s]", a, b) },
    	VariadicFunc:              func(s ...string) string { return fmt.Sprint("<", strings.Join(s, "+"), ">") },
    	VariadicFuncInt:           func(a int, s ...string) string { return fmt.Sprint(a, "=<", strings.Join(s, "+"), ">") },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/text/template/exec_test.go

    	PS:                        newString("a string"),
    	PSI:                       newIntSlice(21, 22, 23),
    	BinaryFunc:                func(a, b string) string { return fmt.Sprintf("[%s=%s]", a, b) },
    	VariadicFunc:              func(s ...string) string { return fmt.Sprint("<", strings.Join(s, "+"), ">") },
    	VariadicFuncInt:           func(a int, s ...string) string { return fmt.Sprint(a, "=<", strings.Join(s, "+"), ">") },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  6. src/net/http/client_test.go

    		xfoo = "foo-val"
    	)
    	var ts2URL string
    	ts1 := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		want := Header{
    			"User-Agent":      []string{ua},
    			"X-Foo":           []string{xfoo},
    			"Referer":         []string{ts2URL},
    			"Accept-Encoding": []string{"gzip"},
    			"Cookie":          []string{"foo=bar"},
    			"Authorization":   []string{"secretpassword"},
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. pkg/controller/endpointslice/endpointslice_controller_test.go

    			Name:              fmt.Sprintf("pod%d", n),
    			Labels:            map[string]string{"foo": "bar"},
    			DeletionTimestamp: deletionTimestamp,
    			ResourceVersion:   fmt.Sprint(n),
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{
    				Name: "container-1",
    			}},
    			NodeName: "node-1",
    		},
    		Status: v1.PodStatus{
    			PodIP: fmt.Sprintf("1.2.3.%d", 4+n),
    			PodIPs: []v1.PodIP{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix_test.go

    	testRotate(t, false, []string{"192.0.2.1", "192.0.2.2"}, []string{"192.0.2.1:53", "192.0.2.1:53", "192.0.2.1:53"})
    
    	// with rotation, rotates through back to first
    	testRotate(t, true, []string{"192.0.2.1", "192.0.2.2"}, []string{"192.0.2.1:53", "192.0.2.2:53", "192.0.2.1:53"})
    }
    
    func testRotate(t *testing.T, rotate bool, nameservers, wantServers []string) {
    	defer dnsWaitGroup.Wait()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  9. pkg/controller/endpoint/endpoints_controller_test.go

    func testPod(namespace string, id int, nPorts int, isReady bool, ipFamilies []v1.IPFamily) *v1.Pod {
    	p := &v1.Pod{
    		TypeMeta: metav1.TypeMeta{APIVersion: "v1"},
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace:       namespace,
    			Name:            fmt.Sprintf("pod%d", id),
    			Labels:          map[string]string{"foo": "bar"},
    			ResourceVersion: fmt.Sprint(id),
    		},
    		Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  10. src/os/os_test.go

    		if err != nil {
    			t.Fatalf("StartProcess: %v", err)
    		}
    		w.Close()
    
    		var b strings.Builder
    		io.Copy(&b, r)
    		output := b.String()
    
    		fi1, _ := Stat(strings.TrimSpace(output))
    		fi2, _ := Stat(expect)
    		if !SameFile(fi1, fi2) {
    			t.Errorf("exec %q returned %q wanted %q",
    				strings.Join(append([]string{cmd}, args...), " "), output, expect)
    		}
    		p.Wait()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top