Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,199 for butter (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        protected void haveResponse(final byte[] buffer, final int start, final int len) throws SMBProtocolDecodingException {
            if (isRetainPayload()) {
                final byte[] payload = new byte[len];
                System.arraycopy(buffer, start, payload, 0, len);
                setRawPayload(payload);
            }
    
            if (!verifySignature(buffer, start, len)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            return new Smb2WriteResponse(tc.getConfig());
        }
    
        /**
         * Sets the data to be written to the file.
         *
         * @param data the data buffer to write
         * @param offset the offset in the data buffer
         * @param length the number of bytes to write
         */
        public void setData(final byte[] data, final int offset, final int length) {
            this.data = data;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

        }
    
        @Override
        public int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED) {
                throw new IOException("Connection not established");
            }
    
            try {
                // In real implementation, this would perform RDMA read into the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransWaitNamedPipeResponse.java

            return 0;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

            .Builder()
            .body(
              Buffer()
                .write(ByteArray(responseBodySize)),
            ).throttleBody(64 * 1024, 125, MILLISECONDS) // 500 Kbps
            .build(),
        )
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        cancelLater(call, 500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          else -> "MockWebServer{new}"
        }
      }
    
      /** A buffer wrapper that drops data after [bodyLimit] bytes. */
      private class TruncatingBuffer(
        private var remainingByteCount: Long,
      ) : Sink {
        val buffer = Buffer()
        var receivedByteCount = 0L
    
        @Throws(IOException::class)
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testVerifySignature() {
            byte[] buffer = new byte[] { 1, 2, 3 };
            int offset = 0;
            int size = 3;
    
            // Simulate successful verification
            when(mockResponse.verifySignature(buffer, offset, size)).thenReturn(true);
            assertTrue(mockResponse.verifySignature(buffer, offset, size));
    
            // Simulate failed verification
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            String[] lines = output.split("\n");
    
            assertTrue("Buffer should be limited to 10 items", lines.length <= 10);
            assertTrue("Last lines should be kept", output.contains("line15"));
        }
    
        public void test_run_maxBufferSizeConstant() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlResponseTest.java

            try (InputStream stream = response.getContentAsStream()) {
                assertNotNull(stream);
                byte[] buffer = new byte[1024];
                int bytesRead = stream.read(buffer);
                assertEquals(data.length, bytesRead);
                assertArrayEquals(data, Arrays.copyOf(buffer, bytesRead));
            }
        }
    
        @Test
        public void testGetContentAsStreamWithoutCache() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top