Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 181 for readBytesWireFormat (0.22 sec)

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

            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

            return dstIndex - start;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            protected int readParameterWordsWireFormat(byte[] src, int srcIndex) {
                paramWordsRead = 10;
                return paramWordsRead;
            }
    
            @Override
            protected int readBytesWireFormat(byte[] src, int srcIndex) {
                bytesRead = 20;
                return bytesRead;
            }
    
            @Override
            public boolean isRetainPayload() {
                return retainPayload;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            @Override
            int readParameterWordsWireFormat(byte[] buffer, int bufferIndex) {
                paramWordsRead = 10;
                return paramWordsRead;
            }
    
            @Override
            int readBytesWireFormat(byte[] buffer, int bufferIndex) {
                bytesRead = 20;
                return bytesRead;
            }
    
            // Allow tests to control batching limit
            @Override
            int getBatchLimit(byte command) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                    lengthField.setInt(this, length);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            @Override
            protected int readBytesWireFormat(byte[] buffer, int bufferIndex) {
                return 0;
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                return 0;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            bufferIndex += 2;
    
            if (this.byteCount != 0) {
                // Read byte count for AndX message - this is correct per SMB1 specification
                final int n = readBytesWireFormat(buffer, bufferIndex);
                if (n != this.byteCount && log.isTraceEnabled()) {
                    log.trace("Short read, have " + n + ", want " + this.byteCount);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            return bos.size();
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

                requestWithNull.writeBytesWireFormat(buffer, 0);
            });
        }
    
        @Test
        @DisplayName("readBytesWireFormat should return 0")
        void testReadBytesWireFormat() {
            byte[] buffer = new byte[256];
            int result = request.readBytesWireFormat(buffer, 0);
    
            assertEquals(0, result);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
            // This is a response, not a request, so this method is not used
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            // StructureSize (2 bytes) - must be 36
            this.structureSize = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

            deviceState = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            directory = (buffer[bufferIndex++] & 0xFF) > 0;
    
            return bufferIndex - start;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top