- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isAlgorithmSupported (0.58 sec)
-
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertTrue(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_NONE)); assertTrue(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_LZ77)); assertTrue(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_LZ77_HUFFMAN)); assertFalse(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_LZNT1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
} if (offset < 0 || length < 0 || offset + length > data.length) { throw new CIFSException("Invalid offset or length"); } if (!isAlgorithmSupported(algorithm)) { throw new CIFSException("Unsupported compression algorithm: " + algorithm); } if (length < MIN_COMPRESSION_SIZE) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
/** * Checks if the specified compression algorithm is supported. * * @param algorithm the compression algorithm to check * @return true if the algorithm is supported */ boolean isAlgorithmSupported(int algorithm); /** * Gets the list of supported compression algorithms. * * @return array of supported algorithm constants */ int[] getSupportedAlgorithms();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0)