Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FormatGNU (0.07 sec)

  1. src/archive/tar/tar_test.go

    		paxHdrs: map[string]string{paxSize: "8589934592"},
    		formats: FormatGNU,
    	}, {
    		header:  &Header{Mode: 07777777},
    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{Mode: 07777777 + 1},
    		formats: FormatGNU,
    	}, {
    		header:  &Header{Devmajor: -123},
    		formats: FormatGNU,
    	}, {
    		header:  &Header{Devmajor: 1<<56 - 1},
    		formats: FormatGNU,
    	}, {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    		wantErr: ErrHeader,
    	}, {
    		input:    makeInput(FormatGNU, "1234", "fewa"),
    		wantSize: 01234,
    		wantErr:  ErrHeader,
    	}, {
    		input:    makeInput(FormatGNU, "0031"),
    		wantSize: 031,
    	}, {
    		input:   makeInput(FormatGNU, "80"),
    		wantErr: ErrHeader,
    	}, {
    		input: makeInput(FormatGNU, "1234",
    			makeSparseStrings(sparseDatas{{0, 0}, {1, 1}})...),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    			}
    			if h.Typeflag == TypeGNUSparse {
    				whyOnlyGNU = "only GNU supports TypeGNUSparse"
    				format.mayOnlyBe(FormatGNU)
    			} else {
    				whyNoGNU = "GNU supports sparse files only with TypeGNUSparse"
    				format.mustNotBe(FormatGNU)
    			}
    			whyNoUSTAR = "USTAR does not support sparse files"
    			format.mustNotBe(FormatUSTAR)
    		}
    	*/
    
    	// Check desired format.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    				Size:     16 << 30,
    				Mode:     0640,
    				Uid:      73025,
    				Gid:      5000,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				ModTime:  time.Unix(1254699560, 0),
    				Format:   FormatGNU,
    			}, nil},
    		},
    	}, {
    		// This truncated file was produced using this library.
    		// It was verified to work with GNU tar 1.27.1 and BSD tar 3.1.2.
    		//  dd if=/dev/zero bs=1G count=16 >> writer-big-long.tar
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    	if len(hdr.Name) > nameSize {
    		data := hdr.Name + "\x00"
    		if err := tw.writeRawFile(longName, data, TypeGNULongName, FormatGNU); err != nil {
    			return err
    		}
    	}
    	if len(hdr.Linkname) > nameSize {
    		data := hdr.Linkname + "\x00"
    		if err := tw.writeRawFile(longName, data, TypeGNULongLink, FormatGNU); err != nil {
    			return err
    		}
    	}
    
    	// Pack the main header.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top