Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Devmajor (0.12 sec)

  1. src/archive/tar/stat_unix.go

    	h.ChangeTime = statCtime(sys)
    
    	// Best effort at populating Devmajor and Devminor.
    	if h.Typeflag == TypeChar || h.Typeflag == TypeBlock {
    		dev := uint64(sys.Rdev) // May be int32 or uint32
    		switch runtime.GOOS {
    		case "aix":
    			var major, minor uint32
    			major = uint32((dev & 0x3fffffff00000000) >> 32)
    			minor = uint32((dev & 0x00000000ffffffff) >> 0)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "linux":
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		formats: FormatGNU,
    	}, {
    		header:  &Header{Devmajor: -123},
    		formats: FormatGNU,
    	}, {
    		header:  &Header{Devmajor: 1<<56 - 1},
    		formats: FormatGNU,
    	}, {
    		header:  &Header{Devmajor: 1 << 56},
    		formats: FormatUnknown,
    	}, {
    		header:  &Header{Devmajor: -1 << 56},
    		formats: FormatGNU,
    	}, {
    		header:  &Header{Devmajor: -1<<56 - 1},
    		formats: FormatUnknown,
    	}, {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/archive/tar/format.go

    //	Uname/Gname       |    32B | unlimited |       32B
    //	ModTime           | uint33 | unlimited |     int89
    //	AccessTime        |    n/a | unlimited |     int89
    //	ChangeTime        |    n/a | unlimited |     int89
    //	Devmajor/Devminor | uint21 |    uint21 |    uint57
    //	------------------+--------+-----------+----------
    //	string encoding   |  ASCII |     UTF-8 |    binary
    //	sub-second times  |     no |       yes |        no
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    			Uname:    "david",
    			Gname:    "david",
    			Devmajor: 0,
    			Devminor: 0,
    			Format:   FormatGNU,
    		}, {
    			Name:     "sparse-posix-0.0",
    			Mode:     420,
    			Uid:      1000,
    			Gid:      1000,
    			Size:     200,
    			ModTime:  time.Unix(1392342187, 0),
    			Typeflag: 0x30,
    			Linkname: "",
    			Uname:    "david",
    			Gname:    "david",
    			Devmajor: 0,
    			Devminor: 0,
    			PAXRecords: map[string]string{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    	verifyNumeric(int64(h.Uid), len(v7.uid()), "Uid", paxUid)
    	verifyNumeric(int64(h.Gid), len(v7.gid()), "Gid", paxGid)
    	verifyNumeric(h.Size, len(v7.size()), "Size", paxSize)
    	verifyNumeric(h.Devmajor, len(ustar.devMajor()), "Devmajor", paxNone)
    	verifyNumeric(h.Devminor, len(ustar.devMinor()), "Devminor", paxNone)
    	verifyTime(h.ModTime, len(v7.modTime()), "ModTime", paxMtime)
    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/archive/tar/writer.go

    	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)
  7. src/archive/tar/reader.go

    	// Unpack format specific fields.
    	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/main/java/jcifs/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            this.binding.getUuid().encode(buf);
            buf.enc_ndr_short(this.binding.getMajor());
            buf.enc_ndr_short(this.binding.getMinor());
            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcBinding.java

        }
    
    
        /**
         * @return the uuid
         */
        UUID getUuid () {
            return this.uuid;
        }
    
    
        /**
         * @return the major
         */
        int getMajor () {
            return this.major;
        }
    
    
        /**
         * @return the minor
         */
        int getMinor () {
            return this.minor;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg archive/tar, type Header struct
    pkg archive/tar, type Header struct, AccessTime time.Time
    pkg archive/tar, type Header struct, ChangeTime time.Time
    pkg archive/tar, type Header struct, Devmajor int64
    pkg archive/tar, type Header struct, Devminor int64
    pkg archive/tar, type Header struct, Gid int
    pkg archive/tar, type Header struct, Gname string
    pkg archive/tar, type Header struct, Linkname string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top