Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 652 for buffered (0.09 sec)

  1. src/main/java/org/codelibs/fess/util/InputStreamThread.java

        /** Buffered reader for reading from the input stream */
        private final BufferedReader br;
    
        /** Maximum buffer size constant */
        public static final int MAX_BUFFER_SIZE = 1000;
    
        /** List storing recent lines from the input stream */
        private final List<String> list = new LinkedList<>();
    
        /** Maximum number of lines to keep in the buffer */
        private final int bufferSize;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbWatchHandle.java

         *
         * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling
         * this method should provide all changes (size of that buffer can be adjusted through
         * {@link jcifs.Configuration#getNotifyBufferSize()}).
         * If the server cannot fulfill the request because the changes did not fit the buffer
         * it will return an empty list of changes.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * to buffer chunks; typically by using a buffered sink with this sink.
       */
      private inner class ChunkedSink : Sink {
        private val timeout = ForwardingTimeout(socket.sink.timeout())
        private var closed: Boolean = false
    
        override fun timeout(): Timeout = timeout
    
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            // that happens, then we will have buffered bytes that are needed by the SSLSocket!
            // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
            // that it will almost certainly fail because the proxy has sent unexpected data.
            if (!socket.source.buffer.exhausted() || !socket.sink.buffer.exhausted()) {
              throw IOException("TLS tunnel buffered too many bytes!")
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Flush request message.
     *
     * This command is used to flush buffered data to the
     * underlying storage device for a given file handle.
     *
     * @author mbechler
     */
    public class Smb2FlushRequest extends ServerMessageBlock2Request<Smb2FlushResponse> implements RequestWithFileId {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        void availableReturnsUnderlyingWhenNoMessage() throws IOException {
            // Mock input stream that reports available bytes
            InputStream mockIn = mock(InputStream.class);
            when(mockIn.available()).thenReturn(42);
    
            SocketInputStream sis = new SocketInputStream(mockIn);
    
            // When no message is buffered, should return underlying stream's available
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       */
      @Throws(IOException::class)
      fun peekBody(byteCount: Long): ResponseBody {
        val peeked = body.source().peek()
        val buffer = Buffer()
        peeked.request(byteCount)
        buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
        return buffer.asResponseBody(body.contentType(), buffer.size)
      }
    
      @JvmName("-deprecated_body")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                return teminated;
            }
        }
    
        /**
         * Thread that reads input stream data and buffers it for later retrieval.
         * Captures output from command execution with configurable line buffering.
         */
        protected static class InputStreamThread extends Thread {
    
            /** Buffered reader for input stream. */
            private BufferedReader br;
    
            /** List to store captured output lines. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        public static final int FILE_WRITE_THROUGH = 0x2;
        /**
         * Access to the file is sequential only
         */
        public static final int FILE_SEQUENTIAL_ONLY = 0x4;
        /**
         * File cannot be cached or buffered at intermediate levels
         */
        public static final int FILE_NO_IMTERMEDIATE_BUFFERING = 0x8;
        /**
         * All operations on the file are performed synchronously with alerts
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top