Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMaxCompressionSize (0.38 sec)

  1. src/main/java/jcifs/smb/compression/CompressionService.java

        /**
         * Gets the maximum data size that can be compressed in a single operation.
         *
         * @return maximum size in bytes that can be compressed
         */
        int getMaxCompressionSize();
    
        /**
         * Gets a human-readable name for the compression algorithm.
         *
         * @param algorithm the algorithm constant
         * @return the algorithm name
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

        @Test
        @DisplayName("Test configuration limits")
        public void testConfigurationLimits() {
            assertTrue(compressionService.getMinCompressionSize() > 0);
            assertTrue(compressionService.getMaxCompressionSize() > compressionService.getMinCompressionSize());
        }
    
        @Test
        @DisplayName("Test algorithm names")
        public void testAlgorithmNames() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

        }
    
        @Override
        public int getMinCompressionSize() {
            return MIN_COMPRESSION_SIZE;
        }
    
        @Override
        public int getMaxCompressionSize() {
            return MAX_COMPRESSION_SIZE;
        }
    
        @Override
        public String getAlgorithmName(int algorithm) {
            switch (algorithm) {
            case COMPRESSION_NONE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top