Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for Unix (0.33 sec)

  1. src/archive/zip/struct.go

    	zip64ExtraID       = 0x0001 // Zip64 extended information
    	ntfsExtraID        = 0x000a // NTFS
    	unixExtraID        = 0x000d // UNIX
    	extTimeExtraID     = 0x5455 // Extended timestamp
    	infoZipUnixExtraID = 0x5855 // Info-ZIP Unix extension
    )
    
    // FileHeader describes a file within a ZIP file.
    // See the [ZIP specification] for details.
    //
    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. api/go1.12.txt

    pkg syscall (openbsd-amd64-cgo), const S_IRWXG ideal-int
    pkg syscall (openbsd-amd64-cgo), const S_IRWXO = 7
    pkg syscall (openbsd-amd64-cgo), const S_IRWXO ideal-int
    pkg syscall (windows-386), const UNIX_PATH_MAX = 108
    pkg syscall (windows-386), const UNIX_PATH_MAX ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  3. 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 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    	var spb []byte
    	blk := tw.templateV7Plus(hdr, f.formatString, f.formatNumeric)
    	if !hdr.AccessTime.IsZero() {
    		f.formatNumeric(blk.toGNU().accessTime(), hdr.AccessTime.Unix())
    	}
    	if !hdr.ChangeTime.IsZero() {
    		f.formatNumeric(blk.toGNU().changeTime(), hdr.ChangeTime.Unix())
    	}
    	// TODO(dsnet): Re-enable this when adding sparse support.
    	// See https://golang.org/issue/22735
    	/*
    		if hdr.Typeflag == TypeGNUSparse {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    		if ts.IsZero() {
    			return // Always okay
    		}
    		if !fitsInBase256(size, ts.Unix()) {
    			whyNoGNU = fmt.Sprintf("GNU cannot encode %s=%v", name, ts)
    			format.mustNotBe(FormatGNU)
    		}
    		isMtime := paxKey == paxMtime
    		fitsOctal := fitsInOctal(size, ts.Unix())
    		if (isMtime && !fitsOctal) || !isMtime {
    			whyNoUSTAR = fmt.Sprintf("USTAR cannot encode %s=%v", name, ts)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 178 bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    				Content:  []byte("important \r\n"),
    				Modified: time.Date(2011, 12, 8, 10, 6, 8, 0, time.UTC),
    				Mode:     0444,
    			},
    		},
    	},
    	{
    		// created by Zip 3.0 under Linux
    		Name: "unix.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "hello",
    				Content:  []byte("world \r\n"),
    				Modified: time.Date(2011, 12, 8, 10, 4, 24, 0, timeZone(0)),
    				Mode:     0666,
    			},
    			{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. src/archive/tar/stat_actime2.go

    //go:build darwin || freebsd || netbsd
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atimespec.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctimespec.Unix())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 28 18:17:57 GMT 2021
    - 421 bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    				Uname:    "dsymonds",
    				Gname:    "eng",
    				ModTime:  time.Unix(1246508266, 0),
    			}, nil},
    			testWrite{"Kilts", 5, nil},
    
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small2.txt",
    				Size:     11,
    				Mode:     0640,
    				Uid:      73025,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				Gid:      5000,
    				ModTime:  time.Unix(1245217492, 0),
    			}, nil},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    			prefix = p.parseString(star.prefix())
    			hdr.AccessTime = time.Unix(p.parseNumeric(star.accessTime()), 0)
    			hdr.ChangeTime = time.Unix(p.parseNumeric(star.changeTime()), 0)
    		case format.has(FormatGNU):
    			hdr.Format = format
    			var p2 parser
    			gnu := tr.blk.toGNU()
    			if b := gnu.accessTime(); b[0] != 0 {
    				hdr.AccessTime = time.Unix(p2.parseNumeric(b), 0)
    			}
    			if b := gnu.changeTime(); b[0] != 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top