Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for SetTree (0.06 sec)

  1. src/main/java/jcifs/internal/AllocInfo.java

    public interface AllocInfo extends FileSystemInformation {
    
        /**
         * 
         * @return total capacity
         */
        long getCapacity ();
    
    
        /**
         * 
         * @return free space
         */
        long getFree ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

            if ( !this.handle.isValid() ) {
                throw new SmbException("Watch was broken by tree disconnect");
            }
            try ( SmbTreeHandleImpl th = this.handle.getTree() ) {
    
                CommonServerMessageBlockRequest req;
                NotifyResponse resp = null;
                if ( th.isSMB2() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

        }
    
    
        @Override
        public long getCapacity () {
            return this.alloc * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        @Override
        public long getFree () {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbPipeInputStream.java

         * on the server.
         */
        @Override
        public int available () throws IOException {
            try ( SmbFileHandleImpl fd = this.handle.ensureOpen();
                  SmbTreeHandleImpl th = fd.getTree() ) {
                if ( th.isSMB2() ) {
                    Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_PEEK, fd.getFileId());
                    req.setMaxOutputResponse(16);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            long free;
            int sectPerAlloc;
            int bytesPerSect;
    
            public long getCapacity() {
                return alloc * sectPerAlloc * bytesPerSect;
            }
            public long getFree() {
                return free * sectPerAlloc * bytesPerSect;
            }
            public String toString() {
                return new String( "SmbInfoAllocation[" +
                    "alloc=" + alloc + ",free=" + free +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        @Override
        public int sendrecv ( byte[] buf, int off, int length, byte[] inB, int maxRecvSize ) throws IOException {
            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
    
                if ( th.isSMB2() ) {
                    Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE, fh.getFileId(), inB);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

            }
    
            if ( this.tmp == null ) {
                throw new IOException("Bad file descriptor");
            }
    
            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
                if ( log.isDebugEnabled() ) {
                    log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" +  this.fp);
                }
    
                int w;
                do {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                throw new IOException("Bad file descriptor");
            }
            // ensure file is open
            try ( SmbFileHandleImpl fd = ensureOpen();
                  SmbTreeHandleImpl th = fd.getTree() ) {
    
                /*
                 * Read AndX Request / Response
                 */
    
                if ( log.isTraceEnabled() ) {
                    log.trace("read: fid=" + fd + ",off=" + off + ",len=" + len);
    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. ci/official/utilities/extract_resultstore_links.py

    The links and the invocations' status can then be printed out, or output in the
    form of JUnit-based XML.
    """
    import argparse
    import datetime
    import os
    import re
    from typing import Dict, Union
    import xml.etree.ElementTree as ElemTree
    
    
    ResultDictType = Dict[str, Dict[str, Union[str, int]]]
    
    RESULT_STORE_LINK_RE = re.compile(
        r'^INFO: Streaming build results to: (https://[\w./\-]+)')
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                    this.size = allocInfo.getCapacity();
                    this.sizeExpiration = System.currentTimeMillis() + getContext().getConfig().getAttributeCacheTimeout();
                    return allocInfo.getFree();
                }
                return 0L;
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        /**
         * @return
    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