Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Unix (0.17 sec)

  1. src/archive/zip/testdata/unix.zip

    Russ Cox <******@****.***> 1410149331 -0400
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 620 bytes
    - Viewed (0)
  2. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cthread_unix.c

    Cherry Mui <******@****.***> 1684339275 -0400
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/cgo_unix_test.go

    Austin Clements <******@****.***> 1683224724 -0400
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 391 bytes
    - Viewed (0)
  5. src/archive/tar/strconv_test.go

    		{"-1", time.Unix(-1, -0e0+0e0), true},
    		{"-1.999000", time.Unix(-1, -1e9+1e6), true},
    		{"-1.999999", time.Unix(-1, -1e9+1e3), true},
    		{"-1.999999999", time.Unix(-1, -1e9+1e0), true},
    		{"0.000000001", time.Unix(0, 1e0+0e0), true},
    		{"0.000001", time.Unix(0, 1e3+0e0), true},
    		{"0.001000", time.Unix(0, 1e6+0e0), true},
    		{"0", time.Unix(0, 0e0), true},
    		{"0.999000", time.Unix(0, 1e9-1e6), true},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  6. src/archive/tar/stat_actime1.go

    //go:build aix || linux || dragonfly || openbsd || solaris
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atim.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctim.Unix())
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 28 18:17:57 GMT 2021
    - 431 bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    			Size:       5,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    			Uname:      "dsymonds",
    			Gname:      "eng",
    			AccessTime: time.Unix(1244592783, 0),
    			ChangeTime: time.Unix(1244592783, 0),
    		}, {
    			Name:       "small2.txt",
    			Mode:       0640,
    			Uid:        73025,
    			Gid:        5000,
    			Size:       11,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    	if len(ss) > 0 && ss[0] == '-' {
    		return time.Unix(secs, -1*nsecs), nil // Negative correction
    	}
    	return time.Unix(secs, nsecs), nil
    }
    
    // formatPAXTime converts ts into a time of the form %d.%d as described in the
    // PAX specification. This function is capable of negative timestamps.
    func formatPAXTime(ts time.Time) (s string) {
    	secs, nsecs := ts.Unix(), ts.Nanosecond()
    	if nsecs == 0 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. src/archive/tar/tar_test.go

    		header:  &Header{ModTime: time.Unix(1, 500)},
    		paxHdrs: map[string]string{paxMtime: "1.0000005"},
    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{ModTime: time.Unix(1, 0)},
    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{ModTime: time.Unix(1, 0), Format: FormatPAX},
    		formats: FormatUSTAR | FormatPAX,
    	}, {
    		header:  &Header{ModTime: time.Unix(1, 500), Format: FormatUSTAR},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/os/33357.md

    The [Stat] function now sets the [ModeSocket] bit for
    files that are Unix sockets on Windows. These files are identified
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 178 bytes
    - Viewed (0)
Back to top