Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for sprint (0.26 sec)

  1. src/fmt/fmt_test.go

    var mallocTest = []struct {
    	count int
    	desc  string
    	fn    func()
    }{
    	{0, `Sprintf("")`, func() { _ = Sprintf("") }},
    	{1, `Sprintf("xxx")`, func() { _ = Sprintf("xxx") }},
    	{0, `Sprintf("%x")`, func() { _ = Sprintf("%x", 7) }},
    	{1, `Sprintf("%x")`, func() { _ = Sprintf("%x", 1<<16) }},
    	{3, `Sprintf("%80000s")`, func() { _ = Sprintf("%80000s", "hello") }}, // large buffer (>64KB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/replica_calculator_test.go

    			requests: []resource.Quantity{
    				resource.MustParse(fmt.Sprint(perPodRequested+100) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested-100) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested+10) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested-10) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested+2) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested-2) + "m"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    		fmt.Fprintf(&buf, "%d:", count)
    		fprintStack(&buf, stk)
    		fmt.Fprintf(&buf, " labels: %v\n", labels)
    		samples += count
    		fmt.Fprintf(&buf, "\n")
    	})
    	t.Logf("total %d CPU profile samples collected:\n%s", samples, buf.String())
    
    	if samples < 10 && runtime.GOOS == "windows" {
    		// On some windows machines we end up with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. internal/s3select/select_test.go

    	{"id": 3,"title": "Second Record","desc": "another text","nested": [[2, 3.0, 4], [7, 8.5, 9]]}`
    
    	testTable := []struct {
    		name       string
    		query      string
    		requestXML []byte // override request XML
    		wantResult string
    		withJSON   string // Override JSON input
    	}{
    		{
    			name:       "select-in-array-full",
    			query:      `SELECT * from s3object s WHERE 'bar' IN s.synonyms[*]`,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    	{faces, "☹", -1, []string{"☺☻", ""}},
    	{faces, "~", -1, []string{faces}},
    	{faces, "", -1, []string{"☺", "☻", "☹"}},
    	{"1 2 3 4", " ", 3, []string{"1", "2", "3 4"}},
    	{"1 2", " ", 3, []string{"1", "2"}},
    	{"123", "", 2, []string{"1", "23"}},
    	{"123", "", 17, []string{"1", "2", "3"}},
    	{"bT", "T", math.MaxInt / 4, []string{"b", ""}},
    	{"\xff-\xff", "", -1, []string{"\xff", "-", "\xff"}},
    	{"\xff-\xff", "-", -1, []string{"\xff", "\xff"}},
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  6. 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)
  7. src/html/template/exec_test.go

    	// Print etc.
    	{"print", `{{print "hello, print"}}`, "hello, print", tVal, true},
    	{"print 123", `{{print 1 2 3}}`, "1 2 3", tVal, true},
    	{"print nil", `{{print nil}}`, "&lt;nil&gt;", tVal, true},
    	{"println", `{{println 1 2 3}}`, "1 2 3\n", tVal, true},
    	{"printf int", `{{printf "%04x" 127}}`, "007f", tVal, true},
    	{"printf float", `{{printf "%g" 3.5}}`, "3.5", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/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: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. src/text/template/exec_test.go

    	// Print etc.
    	{"print", `{{print "hello, print"}}`, "hello, print", tVal, true},
    	{"print 123", `{{print 1 2 3}}`, "1 2 3", tVal, true},
    	{"print nil", `{{print nil}}`, "<nil>", tVal, true},
    	{"println", `{{println 1 2 3}}`, "1 2 3\n", tVal, true},
    	{"printf int", `{{printf "%04x" 127}}`, "007f", tVal, true},
    	{"printf float", `{{printf "%g" 3.5}}`, "3.5", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  10. 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)
Back to top