Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getDataCount (1.02 sec)

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

            response.setDataCount(10);
            assertEquals(10, response.getDataCount());
    
            // Test with large data count
            response.setDataCount(65535);
            assertEquals(65535, response.getDataCount());
    
            // Test with zero data count
            response.setDataCount(0);
            assertEquals(0, response.getDataCount());
        }
    
        @Test
        @DisplayName("Test entry management")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

        }
    
        /**
         * Gets the length of the response data received from the named pipe.
         *
         * @return response data length
         */
        public int getResponseLength() {
            return getDataCount();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            }
    
            int getTotalDataCount() {
                return totalDataCount;
            }
    
            int getParameterCount() {
                return parameterCount;
            }
    
            int getDataCount() {
                return dataCount;
            }
    
            int getSetupCount() {
                return setupCount;
            }
    
            boolean isParametersDone() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

        }
    
        /**
         * Gets the length of the response data received from the named pipe.
         *
         * @return response data length
         */
        public int getResponseLength() {
            return getDataCount();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            final int start = bufferIndex;
            final FileInformation inf = createFileInformation();
            if (inf != null) {
                bufferIndex += inf.decode(buffer, bufferIndex, getDataCount());
                this.info = inf;
            }
            return bufferIndex - start;
        }
    
        private FileInformation createFileInformation() {
            FileInformation inf;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            setResults(results);
    
            /*
             * last nextEntryOffset for NT 4(but not 98) is 0 so we must
             * use dataCount or our accounting will report an error for NT :~(
             */
            return getDataCount();
        }
    
        @Override
        public String toString() {
            String c;
            if (this.getSubCommand() == SmbComTransaction.TRANS2_FIND_FIRST2) {
                c = "Trans2FindFirst2Response[";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

            final int start = bufferIndex;
            final AllocInfo inf = createInfo();
            if (inf != null) {
                bufferIndex += inf.decode(buffer, bufferIndex, getDataCount());
                this.info = inf;
            }
            return bufferIndex - start;
        }
    
        /**
         * @return
         */
        private AllocInfo createInfo() {
            AllocInfo inf;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            super(config, command);
            this.subCommand = subcommand;
        }
    
        /**
         * Gets the data count for this transaction response
         * @return the dataCount
         */
        protected final int getDataCount() {
            return this.dataCount;
        }
    
        /**
         * Sets the data count for this transaction response
         * @param dataCount
         *            the dataCount to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        void testInheritedProperties() {
            // Test that inherited properties are accessible
    
            // Test dataCount property - using public method
            response.setDataCount(100);
            // Note: getDataCount() is protected, so we can't test it directly
    
            // Test subCommand property
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.getSubCommand());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

                return parameterDisplacement;
            }
    
            public void setParameterDisplacement(int value) {
                this.parameterDisplacement = value;
            }
    
            public int getDataCount() {
                return dataCount;
            }
    
            public void setDataCount(int value) {
                this.dataCount = value;
            }
    
            public int getDataOffset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top