Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for Read (0.37 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

    import jcifs.smb1.ntlmssp.Type2Message;
    import jcifs.smb1.ntlmssp.Type3Message;
    import jcifs.smb1.util.Base64;
    
    /**
     * Wraps an <code>HttpURLConnection</code> to provide NTLM authentication
     * services.
     *
     * Please read <a href="../../../httpclient.html">Using jCIFS NTLM Authentication for HTTP Connections</a>.
     */
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final int MAX_REDIRECTS =
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * 
         */
        public static final int FSCTL_SRV_REQUEST_RESUME_KEY = 0x00140078;
        /**
         * 
         */
        public static final int FSCTL_SRV_READ_HASH = 0x001441bb;
        /**
         * 
         */
        public static final int FSCTL_SRV_COPYCHUNK_WRITE = 0x001480F2;
        /**
         * 
         */
        public static final int FSCTL_LRM_REQUEST_RESILENCY = 0x001401D4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbRandomAccess.java

        void close () throws SmbException;
    
    
        /**
         * Read a single byte from the current position
         * 
         * @return read byte, -1 if EOF
         * @throws SmbException
         */
        int read () throws SmbException;
    
    
        /**
         * Read into buffer from current position
         * 
         * @param b
         *            buffer
         * @return number of bytes read
         * @throws SmbException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
    /**
     * Reads up to len bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b, int off, int len ) throws IOException {
            return readDirect(b, off, len);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                }
                else {
                    SmbPipeOutputStream out = getOutput();
                    SmbPipeInputStream in = getInput();
                    out.write(buf, off, length);
                    return in.read(inB);
                }
            }
        }
    
    
        @Override
        public int recv ( byte[] buf, int off, int len ) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
    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)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
    
        @Override
        public int read ( byte[] b ) throws IOException {
            return read(b, 0, b.length);
        }
    
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read ( byte[] b, int off, int len ) throws IOException {
    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)
  7. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    buf.enc_ndr_short(msg.getOpnum());
                }
    
                if ( ( msg.flags & DCERPC_LAST_FRAG ) != DCERPC_LAST_FRAG ) {
                    // all fragment but the last get written using read/write semantics
                    doSendFragment(out, off, msg.length);
                    off += fragSize;
                }
                else {
                    return off;
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/Lmhosts.java

                        }
                    }
                    result = this.table.get(name);
                }
            }
            catch ( IOException fnfe ) {
                log.error("Could not read lmhosts " + tc.getConfig().getLmHostsFileName(), fnfe); //$NON-NLS-1$
            }
            return result;
        }
    
    
        void populate ( Reader r, CIFSContext tc ) throws IOException {
            String line;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     * credentials are retrieved from the <tt>jcifs.smb1.smb1.client.domain</tt>,
     * <tt>jcifs.smb1.smb1.client.username</tt>, and <tt>jcifs.smb1.smb1.client.password</tt>
     * properties.
     * <p>
     * Read <a href="../../../authhandler.html">jCIFS Exceptions and
     * NtlmAuthenticator</a> for related information.
     */
    
    public final class NtlmPasswordAuthentication implements Principal, Serializable {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

            return 0;
        }
        int readTrailerWireFormat( InputStream in,
                                byte[] buffer,
                                int bufferIndex )
                                throws IOException {
            if( in.read( buffer, bufferIndex, length ) != length ) {
                throw new IOException( "unexpected EOF reading netbios retarget session response" );
            }
            int addr = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.8K bytes
    - Viewed (0)
Back to top