Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for Read (0.01 sec)

  1. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Read request message.
     *
     * This command is used to read data from a file that has been
     * previously opened with a Create request.
     *
     * @author mbechler
     */
    public class Smb2ReadRequest extends ServerMessageBlock2Request<Smb2ReadResponse> implements RequestWithFileId {
    
        /**
         * Flag to indicate unbuffered read operation
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

        /**
         * Read and Write caching (RW)
         */
        public static final int SMB2_LEASE_READ_WRITE = 0x05;
    
        /**
         * Full caching - Read, Write and Handle (RWH)
         */
        public static final int SMB2_LEASE_FULL = 0x07;
    
        private Smb2LeaseState() {
            // Utility class
        }
    
        /**
         * Check if state has read caching
         * @param state lease state
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/text/Tokenizer.java

            ttype = peekc;
            return ttype;
        }
    
        /**
         * Returns the string that has already been read.
         *
         * @return The string that has already been read.
         */
        public String getReadString() {
            return str.substring(0, colno - 1);
        }
    
        private int read() {
            if (colno >= str.length()) {
                return -1;
            }
            return str.charAt(colno++);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Read AndX Response message.
     *
     * This response contains the data that was read from the file
     * along with information about the read operation.
     */
    public class SmbComReadAndXResponse extends AndXServerMessageBlock {
    
        private byte[] data;
        private int offset, dataCompactionMode, dataLength, dataOffset;
    
        /**
         * Constructs a Read AndX response.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbRandomAccess.java

         */
        int read(byte[] b) throws SmbException;
    
        /**
         * Read into buffer from current position
         *
         * @param b
         *            buffer
         * @param off
         *            offset into buffer
         * @param len
         *            read up to <code>len</code> bytes
         * @return number of bytes read
         * @throws SmbException if an I/O error occurs during read
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         */
        @Override
        public int read() throws IOException {
            return inputStream.read();
        }
    
        /**
         * Reads up to len bytes of data from the input stream into an array of bytes.
         *
         * @param b the buffer into which the data is read
         * @param off the start offset in array b at which the data is written
         * @param len the maximum number of bytes to read
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. 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(final byte b[]) throws SmbException {
            return read(b, 0, b.length);
        }
    
        @Override
        public int read(final byte b[], int off, int len) throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

            // Read some data
            assertEquals('T', stream.read());
    
            // Close should be ignored
            stream.close();
    
            // Should still be able to read
            assertEquals('e', stream.read());
            assertEquals('s', stream.read());
            assertEquals('t', stream.read());
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        }
    
        @Override
        public synchronized int read() throws IOException {
            if (read(tmp, 0, 1) < 0) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        @Override
        public synchronized int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /* This method will not return until len bytes have been read
         * or the stream has been closed.
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

            }
    
            // Read from TemporaryFileInputStream
            try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) {
                assertEquals('T', stream.read());
                assertEquals('e', stream.read());
                assertEquals('s', stream.read());
                assertEquals('t', stream.read());
                assertEquals(' ', stream.read());
                assertEquals('d', stream.read());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top