Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for ustar (0.03 sec)

  1. src/archive/tar/testdata/ustar.tar

    Russ Cox <******@****.***> 1410149331 -0400
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2K bytes
    - Viewed (0)
  2. src/archive/tar/testdata/ustar-file-reg.tar

    Joe Tsai <******@****.***> 1443691829 -0700
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 06 04:31:26 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  3. src/archive/tar/testdata/ustar-file-devs.tar

    Joe Tsai <******@****.***> 1502752448 -0700
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 15 00:54:37 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    const (
    	magicGNU, versionGNU     = "ustar ", " \x00"
    	magicUSTAR, versionUSTAR = "ustar\x00", "00"
    	trailerSTAR              = "tar\x00"
    )
    
    // Size constants from various tar specifications.
    const (
    	blockSize  = 512 // Size of each block in a tar stream
    	nameSize   = 100 // Max length of the name field in USTAR format
    	prefixSize = 155 // Max length of the prefix field in USTAR format
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    		}
    	}
    
    	// Check basic fields.
    	var blk block
    	v7 := blk.toV7()
    	ustar := blk.toUSTAR()
    	gnu := blk.toGNU()
    	verifyString(h.Name, len(v7.name()), "Name", paxPath)
    	verifyString(h.Linkname, len(v7.linkName()), "Linkname", paxLinkpath)
    	verifyString(h.Uname, len(ustar.userName()), "Uname", paxUname)
    	verifyString(h.Gname, len(ustar.groupName()), "Gname", paxGname)
    	verifyNumeric(h.Mode, len(v7.mode()), "Mode", paxNone)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/mime.map

    application/x-troff-man        man              # Troff with MAN macros
    application/x-troff-me         me               # Troff with ME macros
    application/x-troff-ms         ms               # Troff with MS macros
    application/x-ustar            ustar            # Ustar file
    application/vnd.ms-access      mdb mda mde      # MS Access
    application/vnd.ms-project     mpp              # MS Project
    application/x-wais-source      src              # WAIS Sources
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    	if format > formatV7 {
    		ustar := tr.blk.toUSTAR()
    		hdr.Uname = p.parseString(ustar.userName())
    		hdr.Gname = p.parseString(ustar.groupName())
    		hdr.Devmajor = p.parseNumeric(ustar.devMajor())
    		hdr.Devminor = p.parseNumeric(ustar.devMinor())
    
    		var prefix string
    		switch {
    		case format.has(FormatUSTAR | FormatPAX):
    			hdr.Format = format
    			ustar := tr.blk.toUSTAR()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    				Gname:    "guillaume",
    				ModTime:  time.Unix(1399583047, 0),
    			}, nil},
    		},
    	}, {
    		// This file was produced using GNU tar v1.17.
    		//	gnutar -b 4 --format=ustar (longname/)*15 + file.txt
    		file: "testdata/ustar.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "file.txt",
    				Size:     6,
    				Mode:     0644,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    	fmtNum(v7.uid(), int64(hdr.Uid))
    	fmtNum(v7.gid(), int64(hdr.Gid))
    	fmtNum(v7.size(), hdr.Size)
    	fmtNum(v7.modTime(), modTime.Unix())
    
    	ustar := tw.blk.toUSTAR()
    	fmtStr(ustar.userName(), hdr.Uname)
    	fmtStr(ustar.groupName(), hdr.Gname)
    	fmtNum(ustar.devMajor(), hdr.Devmajor)
    	fmtNum(ustar.devMinor(), hdr.Devminor)
    
    	return &tw.blk
    }
    
    // writeRawFile writes a minimal file with the given name and flag type.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/archive/tar/strconv.go

    //
    // Keys and values should be UTF-8, but the number of bad writers out there
    // forces us to be a more liberal.
    // Thus, we only reject all keys with NUL, and only reject NULs in values
    // for the PAX version of the USTAR string fields.
    // The key must not contain an '=' character.
    func validPAXRecord(k, v string) bool {
    	if k == "" || strings.Contains(k, "=") {
    		return false
    	}
    	switch k {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top