Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,596 for writeTo (0.03 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            return 0;
        }
    
        /**
         * Writes setup data in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         * @return number of bytes written
         */
        protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex);
    
        /**
         * Writes parameters in wire format
         * @param dst destination buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Finished to write {}", url);
                }
            });
            return response;
        }
    
        /**
         * Writes no-cache headers to the response.
         *
         * @param response the stream response
         * @param responseData the response data
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

                this.buf[this.index - i] = value;
                i--;
            }
            return n;
        }
    
        /**
         * Writes an octet array to the buffer.
         *
         * @param b the byte array to write
         * @param i the starting index in the array
         * @param l the number of bytes to write
         */
        public void writeOctetArray(final byte[] b, final int i, final int l) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertTrue(stats.getAverageWriteLatencyMicros() > 0, "Write latency should be positive");
    
            System.out.println("RDMA Statistics: " + stats);
    
            // Test statistics reset functionality
            stats.reset();
            assertEquals(0, stats.getRdmaReads(), "Reads should be reset to 0");
            assertEquals(0, stats.getRdmaWrites(), "Writes should be reset to 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            assertEquals(expectedSize, size, "Size calculation should be correct and 8-byte aligned");
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat writes correct bytes")
        void testWriteBytesWireFormat() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
            byte[] buffer = new byte[100];
            int offset = 10;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Then
            assertNotNull(transCallNamedPipe);
            assertEquals(TEST_PIPE_NAME, transCallNamedPipe.name);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat writes correct bytes")
        void testWriteSetupWireFormat() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] dst = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

            public XmlWriterRequestBuilder<T> writer(Writer writer) {
                this.writer = writer;
                return this;
            }
    
            public XmlWriterRequestBuilder<T> content(T content) {
                this.content = content;
                return this;
            }
    
            public XmlWriterRequestBuilder<T> inputLocationFormatter(Function<Object, String> inputLocationFormatter) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                System.arraycopy(buffer, bufferIndex, this.errorData, 0, bc);
                bufferIndex += bc;
            }
            return bufferIndex - start;
        }
    
        /**
         * Writes the SMB2 header to the wire format.
         *
         * @param dst the destination buffer
         * @param dstIndex the starting position in the buffer
         * @return number of bytes written
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NetworkExplorerTest.java

        void setUp() throws Exception {
            // Setup response writers
            stringWriter = new StringWriter();
            printWriter = new PrintWriter(stringWriter);
            outputStream = new ByteArrayOutputStream();
    
            servletOutputStream = new ServletOutputStream() {
                @Override
                public void write(int b) throws IOException {
                    outputStream.write(b);
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

                return ((Smb2ReadRequest) message).getReadLength() > 1048576; // 1MB
            }
            if (message instanceof Smb2WriteRequest) {
                // Data length not accessible, assume large writes for now
                return true;
            }
            return false;
        }
    
        private boolean isMetadataOperation(CommonServerMessageBlock message) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top