Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 99999999999 (0.11 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

        void testMinimumSegment() {
            assertOrder(X_LT_Y, "1.min", "1.0-alpha-1");
            assertOrder(X_LT_Y, "1.min", "1.0-SNAPSHOT");
            assertOrder(X_LT_Y, "1.min", "1.0");
            assertOrder(X_LT_Y, "1.min", "1.9999999999");
    
            assertOrder(X_EQ_Y, "1.min", "1.MIN");
    
            assertOrder(X_GT_Y, "1.min", "0.99999");
            assertOrder(X_GT_Y, "1.min", "0.max");
        }
    
        @Test
        void testMaximumSegment() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/StatsTesting.java

        PairedStatsAccumulator accumulator =
            createFilledPairedStatsAccumulator(MANY_VALUES, OTHER_MANY_VALUES);
        PairedStats stats = accumulator.snapshot();
        accumulator.add(99.99, 9999.9999); // should do nothing to the snapshot
        return stats;
      }
    
      private static PairedStats buildHorizontalValuesPairedStats() {
        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 09 22:49:56 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  10. src/math/big/ratconv_test.go

    	{"53/70893980658822810696", "53/70893980658822810696", true},
    	{"106/141787961317645621392", "53/70893980658822810696", true},
    	{"204211327800791583.81095", "4084226556015831676219/20000", true},
    	{"0e9999999999", "0", true}, // issue #16176
    }
    
    // These are not supported by fmt.Fscanf.
    var setStringTests2 = []StringTest{
    	// invalid
    	{in: "4/3x"},
    	{in: "0/-1"},
    	{in: "-1/-1"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
Back to top