Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FormatGNU (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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