Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for fh (0.04 sec)

  1. src/archive/zip/struct.go

    	size := fi.Size()
    	fh := &FileHeader{
    		Name:               fi.Name(),
    		UncompressedSize64: uint64(size),
    	}
    	fh.SetModTime(fi.ModTime())
    	fh.SetMode(fi.Mode())
    	if fh.UncompressedSize64 > uint32max {
    		fh.UncompressedSize = uint32max
    	} else {
    		fh.UncompressedSize = uint32(fh.UncompressedSize64)
    	}
    	return fh, nil
    }
    
    type directoryEnd struct {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    	}
    
    	// update FileHeader
    	fh := w.header.FileHeader
    	fh.CRC32 = w.crc32.Sum32()
    	fh.CompressedSize64 = uint64(w.compCount.count)
    	fh.UncompressedSize64 = uint64(w.rawCount.count)
    
    	if fh.isZip64() {
    		fh.CompressedSize = uint32max
    		fh.UncompressedSize = uint32max
    		fh.ReaderVersion = zipVersion45 // requires 4.5 - File uses ZIP64 format extensions
    	} else {
    		fh.CompressedSize = uint32(fh.CompressedSize64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    		ModifiedDate:     5678,
    	}
    	testHeaderRoundTrip(fh, fh.UncompressedSize, uint64(fh.UncompressedSize), t)
    }
    
    func TestFileHeaderRoundTrip64(t *testing.T) {
    	fh := &FileHeader{
    		Name:               "foo.txt",
    		UncompressedSize64: 9876543210,
    		ModifiedTime:       1234,
    		ModifiedDate:       5678,
    	}
    	testHeaderRoundTrip(fh, uint32max, fh.UncompressedSize64, t)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        SmbFileHandleImpl openUnshared ( String uncPath, int flags, int access, int sharing, int attrs, int options ) throws CIFSException {
            SmbFileHandleImpl fh = null;
            try ( SmbTreeHandleImpl h = ensureTreeConnected() ) {
    
                if ( log.isDebugEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top