Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Year (0.26 sec)

  1. src/archive/zip/struct.go

    // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-filetimetodosdatetime
    func timeToMsDosTime(t time.Time) (fDate uint16, fTime uint16) {
    	fDate = uint16(t.Day() + int(t.Month())<<5 + (t.Year()-1980)<<9)
    	fTime = uint16(t.Second()/2 + t.Minute()<<5 + t.Hour()<<11)
    	return
    }
    
    // ModTime returns the modification time in UTC using the legacy
    // [ModifiedDate] and [ModifiedTime] fields.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/bytes/boundary_test.go

    	}
    }
    
    func TestIndexNearPageBoundary(t *testing.T) {
    	t.Parallel()
    	q := dangerousSlice(t)
    	if len(q) > 64 {
    		// Only worry about when we're near the end of a page.
    		q = q[len(q)-64:]
    	}
    	b := dangerousSlice(t)
    	if len(b) > 256 {
    		// Only worry about when we're near the end of a page.
    		b = b[len(b)-256:]
    	}
    	for j := 1; j < len(q); j++ {
    		q[j-1] = 1 // difference is only found on the last byte
    		for i := range b {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg syscall (windows-386), type Systemtime struct, Month uint16
    pkg syscall (windows-386), type Systemtime struct, Second uint16
    pkg syscall (windows-386), type Systemtime struct, Year uint16
    pkg syscall (windows-386), type Timespec struct, Nsec int64
    pkg syscall (windows-386), type Timespec struct, Sec int64
    pkg syscall (windows-386), type Timeval struct, Sec int32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top