Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for formatHosts (0.39 sec)

  1. internal/etag/etag_test.go

    		}
    		if isEncrypted := tag.IsEncrypted(); isEncrypted != test.IsEncrypted {
    			t.Fatalf("Test %d: got '%v' - want '%v'", i, isEncrypted, test.IsEncrypted)
    		}
    	}
    }
    
    var formatTests = []struct {
    	ETag    string
    	AWSETag string
    }{
    	{ETag: "3b83ef96387f14655fc854ddc3c6bd57", AWSETag: "3b83ef96387f14655fc854ddc3c6bd57"},                                                                 // 0
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  2. src/math/big/intconv_test.go

    			t.Errorf("#%d (input '%s') got: %s want: %d", i, test.in, n1, test.val)
    		}
    		if n2.Cmp(expected) != 0 {
    			t.Errorf("#%d (input '%s') got: %s want: %d", i, test.in, n2, test.val)
    		}
    	}
    }
    
    var formatTests = []struct {
    	input  string
    	format string
    	output string
    }{
    	{"<nil>", "%x", "<nil>"},
    	{"<nil>", "%#x", "<nil>"},
    	{"<nil>", "%#y", "%!y(big.Int=<nil>)"},
    
    	{"10", "%b", "1010"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 22:58:58 UTC 2019
    - 10K bytes
    - Viewed (0)
  3. src/mime/mediatype_test.go

    		}
    	}
    }
    
    type formatTest struct {
    	typ    string
    	params map[string]string
    	want   string
    }
    
    var formatTests = []formatTest{
    	{"noslash", map[string]string{"X": "Y"}, "noslash; x=Y"}, // e.g. Content-Disposition values (RFC 2183); issue 11289
    	{"foo bar/baz", nil, ""},
    	{"foo/bar baz", nil, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:58:37 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  4. src/time/format_test.go

    			t.Errorf("appendInt(%d, %d) = %s, want %s", tt.in, tt.width, got, tt.want)
    		}
    	}
    }
    
    type FormatTest struct {
    	name   string
    	format string
    	result string
    }
    
    var formatTests = []FormatTest{
    	{"ANSIC", ANSIC, "Wed Feb  4 21:00:57 2009"},
    	{"UnixDate", UnixDate, "Wed Feb  4 21:00:57 PST 2009"},
    	{"RubyDate", RubyDate, "Wed Feb 04 21:00:57 -0800 2009"},
    	{"RFC822", RFC822, "04 Feb 09 21:00 PST"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top