Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for longDate (0.17 sec)

  1. src/archive/tar/strconv_test.go

    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    		in      string
    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    		{"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true},
    		{"210 path=" + longName + "\nabc", "abc", "path", longName, true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    	const longName = "././@LongLink"
    	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
    		}
    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)
  3. src/archive/tar/testdata/ustar.tar

    longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/file.txt hello...
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 2K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "16gig.txt",
    				Size:     16 << 30,
    				Mode:     0644,
    				Uid:      1000,
    				Gid:      1000,
    				Uname:    "guillaume",
    				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",
    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)
Back to top