Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,048 for butter (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

                    SmbComReadAndX readCmd = invocation.getArgument(0);
                    SmbComReadAndXResponse response = invocation.getArgument(1);
                    response.dataLength = 1;
                    // The response buffer points to the internal tmp buffer
                    if (response.b != null && response.off < response.b.length) {
                        response.b[response.off] = 42; // Return byte value 42
                    }
                    return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                Smb2LogoffResponse resp = newResponse();
                byte[] buffer = new byte[8];
                byte[] original = buffer.clone();
    
                // Act
                int written = resp.writeBytesWireFormat(buffer, index);
    
                // Assert
                assertEquals(0, written, "Should report 0 bytes written");
                assertArrayEquals(original, buffer, "Buffer must remain unchanged");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                    throw new SMBProtocolDecodingException("Invalid buffer parameters");
                }
                if (bufferIndex + len > buffer.length) {
                    throw new SMBProtocolDecodingException("Buffer overflow");
                }
    
                // Store the decoded data
                this.data = new byte[len];
                System.arraycopy(buffer, bufferIndex, this.data, 0, len);
    
                return len;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

            final int zt = zterm ? 1 : 0;
    
            length = maximum_length = (short) ((len + zt) * 2);
            buffer = new short[len + zt];
    
            int i;
            for (i = 0; i < len; i++) {
                buffer[i] = (short) str.charAt(i);
            }
            if (zterm) {
                buffer[i] = (short) 0;
            }
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        mockResponse.headers = headersOf()
        mockResponse.trailers = headersOf()
        mockResponse = mockResponse.removeHeader("")
        var body: Buffer? = mockResponse.getBody()
        mockResponse = mockResponse.setBody(Buffer())
        mockResponse = mockResponse.setChunkedBody(Buffer(), 0)
        mockResponse = mockResponse.setChunkedBody("", 0)
        var socketPolicy: SocketPolicy = mockResponse.socketPolicy
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top