Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for fh (0.01 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/main/java/jcifs/smb/SmbRandomAccessFile.java

            // ensure file is open
            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
                int w;
                do {
                    w = len > this.writeSize ? this.writeSize : len;
                    long cnt;
    
                    if ( th.isSMB2() ) {
                        Smb2WriteRequest request = new Smb2WriteRequest(th.getConfig(), fh.getFileId());
                        request.setOffset(this.fp);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileOutputStream.java

                try ( SmbFileHandleImpl fh = ensureOpen() ) {
                    if ( append ) {
                        this.fp = fh.getInitialSize();
                    }
                    init(th);
                    if ( !append && this.smb2 ) {
                        // no open option for truncating, need to truncate the file
                        Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

        private final int filter;
        private final boolean recursive;
    
    
        /**
         * @param fh
         * @param filter
         * @param recursive
         * 
         */
        public SmbWatchHandleImpl ( SmbFileHandleImpl fh, int filter, boolean recursive ) {
            this.handle = fh;
            this.filter = filter;
            this.recursive = recursive;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
    
                if ( th.isSMB2() ) {
                    Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE, fh.getFileId(), inB);
                    req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

            }
        }
    
    
        /**
         * @throws SmbException
         * 
         */
        SmbFileInputStream ( SmbFile file, SmbTreeHandleImpl th, SmbFileHandleImpl fh ) throws SmbException {
            this.file = file;
            this.handle = fh;
            this.unsharedFile = false;
            this.smb2 = th.isSMB2();
            try {
                init(th);
            }
            catch ( CIFSException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    conn.uk
    copro.uk
    hosp.uk
    
    // Fermax : https://fermax.com/
    // submitted by Koen Van Isterdael <******@****.***>
    mydobiss.com
    
    // FH Muenster : https://www.fh-muenster.de
    // Submitted by Robin Naundorf <r.naundorf@fh-muenster.de>
    fh-muenster.io
    
    // Filegear Inc. : https://www.filegear.com
    // Submitted by Jason Zhu <******@****.***>
    filegear.me
    filegear-au.me
    filegear-de.me
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
Back to top