Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getTree (0.07 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

            return this.ctx.getConfig();
        }
    
    
        private synchronized SmbTreeImpl getTree () {
            SmbTreeImpl t = this.tree;
            if ( t != null ) {
                return t.acquire(false);
            }
            else if ( this.delegate != null ) {
                this.tree = this.delegate.getTree();
                return this.tree;
            }
            return t;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.versionedGraph)) {
                return new MetadataGraph(getTree(), true, false);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.scopedGraph)) {
                return new MetadataGraph(getTree(), true, true);
            }
            return null;
        }
        // ----------------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbFileHandle.java

    package jcifs;
    
    
    /**
     * Handle to an open file
     * 
     * @author mbechler
     *
     */
    public interface SmbFileHandle extends AutoCloseable {
    
        /**
         * @return the tree
         */
        SmbTreeHandle getTree ();
    
    
        /**
         * @return whether the file descriptor is valid
         */
        boolean isValid ();
    
    
        /**
         * @param lastWriteTime
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        @Override
        public long getInitialSize () {
            return this.initialSize;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbFileHandle#getTree()
         */
        @Override
        public SmbTreeHandleImpl getTree () {
            return this.tree.acquire();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbFileHandle#isValid()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            if ( len <= 0 ) {
                return 0;
            }
            long start = this.fp;
    
            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
    
                int r, n;
                SmbComReadAndXResponse response = new SmbComReadAndXResponse(th.getConfig(), b, off);
                do {
                    r = len > this.readSize ? this.readSize : len;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top