Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for 99999999999 (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/time/time.go

    	//
    	// From high to low bit position, wall encodes a 1-bit flag (hasMonotonic),
    	// a 33-bit seconds field, and a 30-bit wall time nanoseconds field.
    	// The nanoseconds field is in the range [0, 999999999].
    	// If the hasMonotonic bit is 0, then the 33-bit field must be zero
    	// and the full signed 64-bit wall seconds since Jan 1 year 1 is stored in ext.
    	// If the hasMonotonic bit is 1, then the 33-bit field holds a 33-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  5. src/time/format.go

    	if (std >> stdSeparatorShift) == 0 {
    		return '.'
    	}
    	return ','
    }
    
    // appendNano appends a fractional second, as nanoseconds, to b
    // and returns the result. The nanosec must be within [0, 999999999].
    func appendNano(b []byte, nanosec int, std int) []byte {
    	trim := std&stdMask == stdFracSecond9
    	n := digitsLen(std)
    	if trim && (n == 0 || nanosec == 0) {
    		return b
    	}
    	dot := separator(std)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. src/time/time_test.go

    		}
    	}
    }
    
    func TestAddToExactSecond(t *testing.T) {
    	// Add an amount to the current time to round it up to the next exact second.
    	// This test checks that the nsec field still lies within the range [0, 999999999].
    	t1 := Now()
    	t2 := t1.Add(Second - Duration(t1.Nanosecond()))
    	sec := (t1.Second() + 1) % 60
    	if t2.Second() != sec || t2.Nanosecond() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    func TestHandlerFinishSkipBigContentLengthRead(t *testing.T) {
    	setParallel(t)
    	conn := newTestConn()
    	conn.readBuf.WriteString(
    		"POST / HTTP/1.1\r\n" +
    			"Host: test\r\n" +
    			"Content-Length: 9999999999\r\n" +
    			"\r\n" + strings.Repeat("a", 1<<20))
    
    	ls := &oneConnListener{conn}
    	var inHandlerLen int
    	go Serve(ls, HandlerFunc(func(rw ResponseWriter, req *Request) {
    		inHandlerLen = conn.readBuf.Len()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation_test.go

    			DNSPolicy:     core.DNSClusterFirst,
    		},
    		"with hostAliases with invalid IP": {
    			SecurityContext: &core.PodSecurityContext{
    				HostNetwork: false,
    			},
    			HostAliases: []core.HostAlias{{IP: "999.999.999.999", Hostnames: []string{"host1", "host2"}}},
    		},
    		"with hostAliases with invalid hostname": {
    			SecurityContext: &core.PodSecurityContext{
    				HostNetwork: false,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  9. pkg/generated/openapi/zz_generated.openapi.go

    							Description: "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.",
    							Default:     0,
    							Type:        []string{"integer"},
    							Format:      "int32",
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top