Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for 99999999999 (0.1 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    // and since there is very little actual math. (Probably overflow doesn't matter in practice,
    // but at the time this code was written, there was an existing test that used
    // go1.99999999999, which does not fit in an int on 32-bit platforms.
    // The "big decimal" representation avoids the problem entirely.)
    type gover struct {
    	major string // decimal
    	minor string // decimal or ""
    	patch string // decimal or ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/internal/gover/gover.go

    // and since there is very little actual math. (Probably overflow doesn't matter in practice,
    // but at the time this code was written, there was an existing test that used
    // go1.99999999999, which does not fit in an int on 32-bit platforms.
    // The "big decimal" representation avoids the problem entirely.)
    type Version struct {
    	Major string // decimal
    	Minor string // decimal or ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. pkg/log/config_test.go

    		{"999", time.Date(2017, time.January, 1, 1, 1, 1, 999000, time.UTC), "999"},
    		{"9999", time.Date(2083, time.March, 1, 1, 1, 1, 9999000, time.UTC), "9999"},
    		{"99999", time.Date(2083, time.March, 1, 1, 1, 1, 99999000, time.UTC), "99999"},
    		{"999999", time.Date(2083, time.March, 1, 1, 1, 1, 999999000, time.UTC), "999999"},
    	}
    
    	for _, v := range cases {
    		t.Run(v.name, func(t *testing.T) {
    			formatDate(v.input, testEnc)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/archive/tar/strconv_test.go

    		{1350244992, 23960108, "1350244992.023960108"},
    		{+1, +1e9 - 1e0, "1.999999999"},
    		{+1, +1e9 - 1e3, "1.999999"},
    		{+1, +1e9 - 1e6, "1.999"},
    		{+1, +0e0 - 0e0, "1"},
    		{+1, +1e6 - 0e0, "1.001"},
    		{+1, +1e3 - 0e0, "1.000001"},
    		{+1, +1e0 - 0e0, "1.000000001"},
    		{0, 1e9 - 1e0, "0.999999999"},
    		{0, 1e9 - 1e3, "0.999999"},
    		{0, 1e9 - 1e6, "0.999"},
    		{0, 0e0, "0"},
    		{0, 1e6 + 0e0, "0.001"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  5. src/text/tabwriter/tabwriter_test.go

    			"aaa_____bbbb\n",
    	},
    
    	{
    		"13a",
    		4, 0, 1, '-', 0,
    		"4444\t日本語\t22\t1\t333\n" +
    			"999999999\t22\n" +
    			"7\t22\n" +
    			"\t\t\t88888888\n" +
    			"\n" +
    			"666666\t666666\t666666\t4444\n" +
    			"1\t1\t999999999\t0000000000\n",
    
    		"4444------日本語-22--1---333\n" +
    			"999999999-22\n" +
    			"7---------22\n" +
    			"------------------88888888\n" +
    			"\n" +
    			"666666-666666-666666----4444\n" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/time/format_test.go

    	{"2021-09-29T16:04:33.999999999Z", 999_999_999},
    	{"2021-09-29T16:04:33.012345678Z", 12_345_678},
    	// 10 digits, truncates
    	{"2021-09-29T16:04:33.0000000000Z", 0},
    	{"2021-09-29T16:04:33.0000000001Z", 0},
    	{"2021-09-29T16:04:33.1000000000Z", 100_000_000},
    	{"2021-09-29T16:04:33.1000000009Z", 100_000_000},
    	{"2021-09-29T16:04:33.9999999999Z", 999_999_999},
    	{"2021-09-29T16:04:33.0123456789Z", 12_345_678},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_graph_version.txt

    	# TODO(#45551): cmp stdout graph-1.16.txt
    
    
    # Unsupported go versions should be rejected, since we don't know
    # what versions they would report.
    ! go mod graph -go=1.99999999999
    stderr '^invalid value "1\.99999999999" for flag -go: maximum supported Go version is '$goversion'\nusage: go mod graph \[-go=version\] \[-x\]\nRun ''go help mod graph'' for details.$'
    
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:42 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. src/testing/benchmark_test.go

    	v        float64
    	expected string
    }{
    	{0, "         0 x"},
    	{1234.1, "      1234 x"},
    	{-1234.1, "     -1234 x"},
    	{999.950001, "      1000 x"},
    	{999.949999, "       999.9 x"},
    	{99.9950001, "       100.0 x"},
    	{99.9949999, "        99.99 x"},
    	{-99.9949999, "       -99.99 x"},
    	{0.000999950001, "         0.001000 x"},
    	{0.000999949999, "         0.0009999 x"}, // smallest case
    	{0.0000999949999, "         0.0001000 x"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/limits.go

    	MaxDurationSizeJSON = 32
    	// MaxDatetimeSizeJSON
    	// OpenAPI datetime strings follow RFC 3339, section 5.6, and the longest possible
    	// such string is 9999-12-31T23:59:59.999999999Z, which has length 30 - we add 2
    	// to allow for quotation marks
    	MaxDatetimeSizeJSON = 32
    	// MinDurationSizeJSON
    	// Golang allows a string of 0 to be parsed as a duration, so that plus 2 to account for
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/time/export_test.go

    	stdFracSecond9 | 5<<stdArgShift: ".99999",
    	stdFracSecond9 | 6<<stdArgShift: ".999999",
    	stdFracSecond9 | 7<<stdArgShift: ".9999999",
    	stdFracSecond9 | 8<<stdArgShift: ".99999999",
    	stdFracSecond9 | 9<<stdArgShift: ".999999999",
    }
    
    var Quote = quote
    
    var AppendInt = appendInt
    var AppendFormatAny = Time.appendFormat
    var AppendFormatRFC3339 = Time.appendFormatRFC3339
    var ParseAny = parse
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 19:23:32 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top