Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for th (0.33 sec)

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

                    }
                    th.send(req, resp, RequestParam.NO_RETRY);
                    return resp.getResponseLength();
                }
                else if ( this.call ) {
                    th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    TransCallNamedPipeResponse resp = new TransCallNamedPipeResponse(th.getConfig(), inB);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

                throws CIFSException {
            this.file = file;
            this.handle = handle;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
            this.append = false;
            this.smb2 = th.isSMB2();
            init(th);
        }
    
    
        /**
         * @param th
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

        /**
         * @param f
         * @param th
         * @throws SmbException
         */
        private void init ( SmbTreeHandleInternal th ) throws CIFSException {
            if ( this.smb2 ) {
                this.readSize = th.getReceiveBufferSize();
                this.readSizeFile = th.getReceiveBufferSize();
                return;
            }
    
            this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                return rpc.getEntries();
            }
        }
    
    
        static FileEntry[] doNetShareEnum ( SmbTreeHandleImpl th ) throws CIFSException {
            SmbComTransaction req = new NetShareEnum(th.getConfig());
            SmbComTransactionResponse resp = new NetShareEnumResponse(th.getConfig());
            th.send(req, resp);
            if ( resp.getStatus() != WinError.ERROR_SUCCESS )
                throw new SmbException(resp.getStatus(), true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileOperationsTest.java

                        tgt.delete();
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
                    try ( SmbTreeHandle th = defaultShareRoot.getTreeHandle() ) {
                        Assume.assumeTrue("Not SMB2", th.isSMB2());
                    }
                    throw e;
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                    this.largeReadX = true;
                    this.readSize = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
                }
    
                // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/KerberosTest.java

            try ( SmbFile f = new SmbFile(getTestShareURL(), ctx);
                  SmbTreeHandleInternal th = (SmbTreeHandleInternal) f.getTreeHandle();
                  SmbSessionInternal session = (SmbSessionInternal) th.getSession() ) {
                Assume.assumeTrue("Not SMB2", th.isSMB2());
                f.exists();
                session.reauthenticate();
                f.exists();
            }
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

        public void testNoLeakRequest () throws CIFSException, MalformedURLException {
            try ( SmbFile f = getDefaultShareRoot() ) {
                try ( SmbTreeHandleInternal th = (SmbTreeHandleInternal) f.getTreeHandle();
                      SmbSessionInternal sess = th.getSession().unwrap(SmbSessionInternal.class);
                      SmbTransportInternal t = (SmbTransportInternal) sess.getTransport() ) {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

        }
    
        /**
         * Returns the type of this SID indicating the state or type of account.
         * <p>
         * SID types are described in the following table.
         * <tt>
         * <table>
         * <tr><th>Type</th><th>Name</th></tr>
         * <tr><td>SID_TYPE_USE_NONE</td><td>0</td></tr>
         * <tr><td>SID_TYPE_USER</td><td>User</td></tr>
         * <tr><td>SID_TYPE_DOM_GRP</td><td>Domain group</td></tr>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/TimeoutTest.java

                f.createNewFile();
                try {
                    SmbTransportInternal t;
                    try ( SmbTreeHandleInternal th = (SmbTreeHandleInternal) f.getTreeHandle();
                          SmbSessionInternal session = th.getSession().unwrap(SmbSessionInternal.class);
                          SmbTransportInternal trans = session.getTransport().unwrap(SmbTransportInternal.class) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
Back to top