Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for pax (0.13 sec)

  1. src/archive/tar/testdata/pax-bad-hdr-large.tar.bz2

    pax-bad-hdr-large.tar XXXXXXXXXXXXXXXXXXXX...
    Bz2 Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 05 20:40:43 GMT 2022
    - 156 bytes
    - Viewed (0)
  2. src/archive/tar/format.go

    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    	//	http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
    	FormatUSTAR
    
    	// FormatPAX represents the PAX header format defined in POSIX.1-2001.
    	//
    	// PAX extends USTAR by writing a special file with Typeflag TypeXHeader
    	// preceding the original header. This file contains a set of key-value
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	//
    	// To use AccessTime or ChangeTime, specify the Format as PAX or GNU.
    	// To use sub-second resolution, specify the Format as PAX.
    	ModTime    time.Time // Modification time
    	AccessTime time.Time // Access time (requires either PAX or GNU support)
    	ChangeTime time.Time // Change time (requires either PAX or GNU support)
    
    	Devmajor int64 // Major device number (valid for TypeChar or TypeBlock)
    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)
  4. src/archive/tar/writer_test.go

    				},
    			}, nil},
    			testClose{nil},
    		},
    	}, {
    		// Craft a theoretically valid PAX archive with global headers.
    		// The GNU and BSD tar tools do not parse these the same way.
    		//
    		// BSD tar v3.1.2 parses and ignores all global headers;
    		// the behavior is verified by researching the source code.
    		//
    		//	$ bsdtar -tvf pax-global-records.tar
    		//	----------  0 0      0           0 Dec 31  1969 file1
    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)
  5. src/archive/tar/reader.go

    	case major != "" || minor != "":
    		return nil, nil // Unknown GNU sparse PAX version
    	case hdr.PAXRecords[paxGNUSparseMap] != "":
    		is1x0 = false // 0.0 and 0.1 did not have explicit version records, so guess
    	default:
    		return nil, nil // Not a PAX format GNU sparse file.
    	}
    	hdr.Format.mayOnlyBe(FormatPAX)
    
    	// Update hdr from GNU sparse PAX headers.
    	if name := hdr.PAXRecords[paxGNUSparseName]; name != "" {
    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)
  6. src/archive/tar/strconv.go

    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    // parsePAXTime takes a string of the form %d.%d as described in the PAX
    // specification. Note that this implementation allows for negative timestamps,
    // which is allowed for by the PAX specification, but not always portable.
    func parsePAXTime(s string) (time.Time, error) {
    	const maxNanoSecondDigits = 9
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		file: "testdata/pax-bad-hdr-file.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/pax-bad-hdr-large.tar.bz2",
    		err:  ErrFieldTooLong,
    	}, {
    		file: "testdata/pax-bad-mtime-file.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/pax-pos-size-file.tar",
    		headers: []*Header{{
    			Name:     "foo",
    			Mode:     0640,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    		}
    	}
    
    	// Round ModTime and ignore AccessTime and ChangeTime unless
    	// the format is explicitly chosen.
    	// This ensures nominal usage of WriteHeader (without specifying the format)
    	// does not always result in the PAX format being chosen, which
    	// causes a 1KiB increase to every header.
    	if tw.hdr.Format == FormatUnknown {
    		tw.hdr.ModTime = tw.hdr.ModTime.Round(time.Second)
    		tw.hdr.AccessTime = time.Time{}
    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)
  9. src/archive/tar/tar_test.go

    		}
    	}
    }
    
    func TestHeaderAllowedFormats(t *testing.T) {
    	vectors := []struct {
    		header  *Header           // Input header
    		paxHdrs map[string]string // Expected PAX headers that may be needed
    		formats Format            // Expected formats that can encode the header
    	}{{
    		header:  &Header{},
    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. ci/devinfra/docker_windows/Dockerfile

        msys 'pacman --noconfirm -Syy flex gawk gcc-libs grep gzip inetutils info'; \
        msys 'pacman --noconfirm -Syy less lndir mintty ncurses pactoys-git patch'; \
        msys 'pacman --noconfirm -Syy pax-git pkgfile rebase sed tar tftp-hpa time tzcode util-linux which'; \
        $old_path = [Environment]::GetEnvironmentVariable(\"PATH\", \"Machine\"); \
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
Back to top