Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,217 for differ (3.37 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            byte[] buffer = new byte[10];
    
            // Act
            int bytesWritten = transPeekNamedPipe.writeSetupWireFormat(buffer, 0);
    
            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[0]);
            assertEquals((byte) 0x00, buffer[1]);
            assertEquals((byte) 0x00, buffer[2]);
            assertEquals((byte) 0x00, buffer[3]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Write to buffer
            SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex);
            System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
            SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20);
            SMBUtil.writeInt2(testDialect, buffer, bufferIndex + 22);
    
            // Execute decode
            int bytesDecoded = response.decode(buffer, bufferIndex, 24);
    
            // Verify results
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            byte[] buffer = new byte[512];
            // Fill buffer with non-zero values to ensure padding writes zeros
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) 0xFF;
            }
    
            int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);
    
            // Should report 26 bytes written (20 from encode + 6 increment)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/AllocInfoTest.java

                // Given
                byte[] buffer = new byte[100];
                when(mockAllocInfo.decode(any(byte[].class), anyInt(), anyInt())).thenReturn(42);
    
                // When
                int result = mockAllocInfo.decode(buffer, 10, 50);
    
                // Then
                assertEquals(42, result);
                verify(mockAllocInfo, times(1)).decode(buffer, 10, 50);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. docs/bigdata/README.md

    fs.s3a.fast.upload.buffer=disk # Use disk as the buffer for uploads
    fs.s3a.fast.upload=true # Turn on fast upload mode
    fs.s3a.max.total.tasks=2048 # Maximum number of parallel tasks
    fs.s3a.multipart.size=512M # Size of each multipart chunk
    fs.s3a.multipart.threshold=512M # Size before using multipart uploads
    fs.s3a.socket.recv.buffer=65536 # Read socket buffer hint
    fs.s3a.socket.send.buffer=65536 # Write socket buffer hint
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.converter = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // Verify output buffer length
                assertEquals(0x8000, SMBUtil.readInt4(buffer, 68));
    
                // Verify input buffer offset (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt2(buffer, 72));
    
                // Verify input buffer length (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt4(buffer, 76));
    
                // Verify additional information
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        public String toString() {
            return this.binding.toString();
        }
    
        /**
         * Sends a DCERPC fragment to the remote endpoint
         * @param buf the buffer containing the fragment data
         * @param off the offset into the buffer
         * @param length the length of data to send
         * @throws IOException if an I/O error occurs during transmission
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/CommonServerMessageBlock.java

        /**
         * Decode message data from the given byte array
         *
         * @param buffer the byte array containing the message data
         * @param bufferIndex the starting index in the buffer
         * @return message length
         * @throws SMBProtocolDecodingException if decoding fails
         */
        int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        void testWireFormatStructure() {
            byte[] buffer = new byte[256];
            Arrays.fill(buffer, (byte) 0xCC); // Fill with pattern to detect unwritten areas
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            // Verify structure according to SMB2 FLUSH specification
            // Structure Size (2 bytes) - should be 24
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top