Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 181 for readBytesWireFormat (0.19 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.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() {
            return ("SmbComQueryInformation[" + super.toString() + ",filename=" + this.path + "]");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            assertEquals(0, result);
        }
    
        /**
         * Test readBytesWireFormat.
         */
        @Test
        void testReadBytesWireFormat() {
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            byte[] buffer = new byte[10];
            int result = sdd.readBytesWireFormat(buffer, 0);
            assertEquals(0, result);
        }
    
        /**
         * Test toString method.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

            bufferIndex += 2;
            lastWriteTime = readUTime(buffer, bufferIndex);
            bufferIndex += 4;
            fileSize = readInt4(buffer, bufferIndex);
            return 20;
        }
    
        @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
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            final int len = super.decode(buffer, bufferIndex);
            if (this.byteCount == 0) {
                // otherwise hasMore may not be correctly set
                readBytesWireFormat(buffer, len + bufferIndex);
            }
            nextElement();
            return len;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat returns 0")
        void testReadBytesWireFormat() {
            setupMockConfig();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
            byte[] buffer = new byte[1024];
    
            int read = request.readBytesWireFormat(buffer, 0);
    
            // This method always returns 0 for requests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComFindClose2.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() {
            return ("SmbComFindClose2[" + super.toString() + ",sid=" + sid + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            assertEquals(0, result);
        }
    
        /**
         * Test of readBytesWireFormat method
         */
        @Test
        public void testReadBytesWireFormat() {
            // Given
            byte[] buffer = new byte[10];
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

            dstIndex += data.length;
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

        }
    
        /**
         * Test readBytesWireFormat always returns 0
         */
        @Test
        public void testReadBytesWireFormat() {
            SmbComWrite write = new SmbComWrite();
            byte[] buffer = new byte[10];
            int result = write.readBytesWireFormat(buffer, 0);
            assertEquals(0, result, "readBytesWireFormat should always return 0");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

            return dstIndex - start;
        }
    
        @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
    - 2K bytes
    - Viewed (0)
Back to top