Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 0xffffff (0.19 sec)

  1. src/archive/tar/stat_unix.go

    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    			minor := uint32(dev & 0xffffff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "dragonfly":
    			// Copied from golang.org/x/sys/unix/dev_dragonfly.go.
    			major := uint32((dev >> 8) & 0xff)
    			minor := uint32(dev & 0xffff00ff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "freebsd":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    				t.Fatal(err)
    			}
    		}
    	}
    	t.Run("uint32max-2_NoZip64", func(t *testing.T) {
    		t.Parallel()
    		if generatesZip64(t, gen(0xfffffffe)) {
    			t.Error("unexpected zip64")
    		}
    	})
    	t.Run("uint32max-1_Zip64", func(t *testing.T) {
    		t.Parallel()
    		if !generatesZip64(t, gen(0xffffffff)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    // At 16k records, we need to generate a zip64 file.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    		return nil, 0, errors.New("zip: invalid comment length")
    	}
    	d.comment = string(b[:l])
    
    	// These values mean that the file can be a zip64 file
    	if d.directoryRecords == 0xffff || d.directorySize == 0xffff || d.directoryOffset == 0xffffffff {
    		p, err := findDirectory64End(r, directoryEndOffset)
    		if err == nil && p >= 0 {
    			directoryEndOffset = p
    			err = readDirectory64End(r, p, d)
    		}
    		if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    fields. The 64 bit fields will always contain the correct value and
    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    [ZIP specification]: https://support.pkware.com/pkzip/appnote
    */
    package zip
    
    import (
    	"io/fs"
    	"path"
    	"time"
    )
    
    // Compression methods.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
Back to top