Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 906 for buffer1 (0.07 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            this.dataCompactionMode = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            this.dataLength = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

        /**
         * Gets the send buffer size of the underlying SMB connection
         * @return the send buffer size of the underlying connection
         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getSendBufferSize() throws CIFSException;
    
        /**
         * Gets the receive buffer size of the underlying SMB connection
         * @return the receive buffer size of the underlying connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionServicePacket.java

            return HEADER_LENGTH;
        }
    
        int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) {
            this.type = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            this.length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1);
            return HEADER_LENGTH;
        }
    
        abstract int writeTrailerWireFormat(byte[] dst, int dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Gets the negotiated send buffer size.
         *
         * @return the send buffer size
         */
        int getSendBufferSize();
    
        /**
         * Gets the negotiated receive buffer size.
         *
         * @return the receive buffer size
         */
        int getReceiveBufferSize();
    
        /**
         * Gets the negotiated maximum transaction buffer size.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. cmd/site-replication-metrics_gen_test.go

    func BenchmarkEncodeRStat(b *testing.B) {
    	v := RStat{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeRStat(b *testing.B) {
    	v := RStat{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @param length length of data to send
         * @throws IOException if an I/O error occurs
         */
        void send(byte[] buf, int off, int length) throws IOException;
    
        /**
         * Performs a transaction on the pipe.
         *
         * @param buf the buffer containing the transaction data
         * @param off the offset in the buffer
         * @param length the length of data to send
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

        }
    
        @Override
        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.Interceptor.Chain
    import okio.Buffer
    import okio.BufferedSink
    import okio.ForwardingSink
    import okio.Sink
    import okio.buffer
    
    /** Rewrites the request body sent to the server to be all uppercase.  */
    class UppercaseRequestInterceptor : Interceptor {
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

            SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();
            byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            // The count should be read from the buffer.
            assertEquals(10L, response.count);
            // The method should return the number of bytes read.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            /** Maximum number of lines to buffer. */
            private final int maxLineBuffer;
    
            /**
             * Constructor for InputStreamThread.
             * @param is The input stream to read from.
             * @param charset The character encoding to use.
             * @param maxOutputLineBuffer The maximum number of lines to buffer.
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top