Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 140 for writeBytesWireFormat (0.34 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            return 0;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            }
            return this;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        }
    
        @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;
    
            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

        }
    
        @Test
        @DisplayName("writeBytesWireFormat should return 0 for response class")
        void testWriteBytesWireFormatReturnsZero() throws Exception {
            Smb2SessionSetupResponse resp = newResponse();
            byte[] dst = new byte[32];
            int written = resp.writeBytesWireFormat(dst, 0);
            assertEquals(0, written);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.offset >> 32, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.offset >> 32, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            while (this.pad-- > 0) {
                dst[dstIndex] = (byte) 0xEE;
                dstIndex++;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

         * @return the share access hint
         */
        public int getShareAccessHint() {
            return shareAccessHint;
        }
    
        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
            // Lease break notifications are sent by the server, not written by client
            return 0;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            for (int i = 0; i < 8; i++) {
                dst[dstIndex] = 0x00;
                dstIndex++;
            }
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.isUseUnicode()) {
                dst[dstIndex] = (byte) '\0';
                dstIndex++;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex] = (byte) (wordCount / 2 & 0xFF);
            dstIndex++;
            dstIndex += wordCount;
            wordCount /= 2;
            byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[dstIndex++] = (byte) (byteCount & 0xFF);
            dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF);
            dstIndex += byteCount;
    
            length = dstIndex - start;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            wordCount += 4; // for command, reserved, and offset
            dstIndex += wordCount + 1;
            wordCount /= 2;
            dst[start] = (byte) (wordCount & 0xFF);
    
            byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[dstIndex] = (byte) (byteCount & 0xFF);
            dstIndex++;
            dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF);
            dstIndex += byteCount;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top