Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for Read (0.15 sec)

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

     * MSIE clients using NTLM SSP. This is similar to <tt>Authentication:
     * BASIC</tt> but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
     * Read <a href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and the Network Explorer Servlet</a> for complete details.
     */
    
    public class NtlmHttpFilter implements Filter {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/AllTests.java

            if ( !fname.endsWith(".conf") ) {
                return;
            }
            Properties props = new Properties();
            try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ);
                  InputStream is = Channels.newInputStream(ch) ) {
                props.load(is);
    
            }
            if ( !props.isEmpty() ) {
                Map<String, String> map = toMap(props);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        }
    
    
        @Override
        public int read () throws SmbException {
            if ( read(this.tmp, 0, 1) == -1 ) {
                return -1;
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        @Override
        public int read ( byte b[] ) throws SmbException {
            return read(b, 0, b.length);
        }
    
    
        @Override
        public int read ( byte b[], int off, int len ) throws SmbException {
    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)
  4. src/test/java/jcifs/tests/RandomAccessFileTest.java

                int rs = Math.min(bufSize, (int) ( length - p ));
                int read = is.read(buffer, 0, rs);
                if ( read < 0 ) {
                    fail("Unexpected EOF");
                }
    
                byte verify[] = new byte[read];
                ReadWriteTest.randBytes(r, verify);
                byte actual[] = Arrays.copyOfRange(buffer, 0, read);
    
                assertArrayEquals("Data matches at offset " + p, actual, verify);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/ReadWriteTest.java

                int rs = Math.min(bufSize, (int) ( length - p ));
                int read = is.read(buffer, 0, rs);
                if ( read < 0 ) {
                    fail("Unexpected EOF at " + p);
                }
    
                byte verify[] = new byte[read];
                randBytes(r, verify);
                byte actual[] = Arrays.copyOfRange(buffer, 0, read);
    
                assertArrayEquals("Data matches at offset " + p, actual, verify);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * exists and is not marked read-only. By default, resources are
         * considered to be read-only and therefore for <code>smb://</code>,
         * <code>smb://workgroup/</code>, and <code>smb://server/</code> resources
         * will be read-only.
         *
         * @return <code>true</code> if the resource exists is not marked
         *         read-only
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * ServerMessageBlock would have to perform the same read
         * operation on the input stream, we might as will pull that
         * common functionality into the superclass and read wordCount
         * and byteCount worth of data.
         * 
         * We will still use the readXxxWireFormat return values to
         * indicate how many bytes(note: readParameterWordsWireFormat
         * returns bytes read and not the number of words(but the
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * ServerMessageBlock would have to perform the same read
         * operation on the input stream, we might as will pull that
         * common functionality into the superclass and read wordCount
         * and byteCount worth of data.
         * 
         * We will still use the readXxxWireFormat return values to
         * indicate how many bytes(note: readParameterWordsWireFormat
         * returns bytes read and not the number of words(but the
    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)
  9. 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)
  10. src/test/java/jcifs/tests/ConcurrencyTest.java

                        while ( is.read() >= 0 ) {
                            readCnt++;
                        }
                    }
                    if ( log.isDebugEnabled() ) {
                        log.debug("Failures " + failCount.get() + " wrote " + writeCount.get() + " read " + readCnt);
                    }
                    assertEquals("Read less than we wrote", writeCount.get(), readCnt);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
Back to top