Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for 0x99999999 (0.18 sec)

  1. src/cmd/go/internal/fsys/fsys_test.go

    -- overlayfiles/subdir7_asubsubdir_file.txt --
    -- overlayfiles/subdir7_zsubsubdir_file.txt --
    -- overlayfiles/parentoverwritten_subdir1 --
    x
    -- overlayfiles/subdir9_this_file_is_overlaid.txt --
    99999999
    -- overlayfiles/subdir11 --
    -- overlayfiles/this_is_a_directory/file.txt --
    -- overlayfiles/textfile_txt_file.go --
    x
    `
    
    func TestReadDir(t *testing.T) {
    	initOverlay(t, readDirOverlay)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  2. pkg/log/config_test.go

    		{"99", time.Date(1989, time.February, 1, 1, 1, 1, 99000, time.UTC), "99"},
    		{"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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. 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)
  4. pkg/config/validation/agent/validation_test.go

    		{
    			duration: &durationpb.Duration{Seconds: 1},
    			isValid:  true,
    		},
    		{
    			duration: &durationpb.Duration{Seconds: 31},
    			isValid:  true,
    		},
    		{
    			duration: &durationpb.Duration{Seconds: 999999999},
    			isValid:  false,
    		},
    	}
    
    	for _, check := range checks {
    		if got := ValidateConnectTimeout(check.duration); (got == nil) != check.isValid {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K 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)
Back to top