Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for HERE (0.14 sec)

  1. src/test/java/jcifs/tests/TimeoutTest.java

                    return 2000;
                }
            });
        }
    
    
        @Test
        public void testTimeoutOpenFile () throws IOException, InterruptedException {
            // use separate context here as the settings stick to the transport
            CIFSContext ctx = lowTimeout(withTestNTLMCredentials(getNewContext()));
            try ( SmbFile f = new SmbFile(new SmbFile(getTestShareURL(), ctx), makeRandomName()) ) {
    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)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    }
                }
    
                out.write( sbuf, 0, 4 + n );
                out.flush();
                /* Note the Transport thread isn't running yet so we can
                 * read from the socket here.
                 */
                if (peekKey() == null) /* try to read header */
                    throw new IOException( "transport closed in negotiate" );
                int size = Encdec.dec_uint16be( sbuf, 2 ) & 0xFFFF;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
                // If we get here, we got the 'The Parameter is incorrect' error or a transport exception
                // Disconnect and try again from scratch.
    
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Retrying (%d/%d) request %s", retries, maxRetries, request));
                }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            // observed two zero bytes here with at least win98
            return 2;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

                        log.trace("byteCount=" + this.byteCount + " but readBytesWireFormat returned " + n);
                    }
                }
                // Don't think we can rely on n being correct here. Must use byteCount.
                // Last paragraph of section 3.13.3 eludes to this.
    
                bufferIndex += this.byteCount;
            }
    
            int len = bufferIndex - start;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

     * are. It is also likely that properties must be specified for jcifs
     * to function (See <a href="../../overview-summary.html#scp">Setting
     * JCIFS Properties</a>). Here are some examples of SMB URLs with brief
     * descriptions of what they do:
     *
     * <p>
     * [1] This URL scheme is based largely on the <i>SMB
     * Filesharing URL Scheme</i> IETF draft.
     * 
     * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            this.dataOffset = ( dstIndex - this.headerStart ) + 26; // 26 = off from here to pad
    
            this.pad = ( this.dataOffset - this.headerStart ) % 4;
            this.pad = this.pad == 0 ? 0 : 4 - this.pad;
            this.dataOffset += this.pad;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            // observed two zero bytes here with at least win98
            return 2;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            switch( informationLevel ) {
                case SMB_QUERY_FILE_BASIC_INFO:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Lmhosts.java

         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         */
    
        public synchronized static NbtAddress getByName( String host ) {
            return getByName( new Name( host, 0x20, null ));
        }
    
        synchronized static NbtAddress getByName( Name name ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                        if ( log.isDebugEnabled() ) {
                            log.debug("sessionSetup: " + this.credentials);
                        }
    
                        /*
                         * We explicitly set uid to 0 here to prevent a new
                         * SMB_COM_SESSION_SETUP_ANDX from having it's uid set to an
                         * old value when the session is re-established. Otherwise a
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
Back to top