- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for supportsAlgorithm (0.33 seconds)
-
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
/** * Checks if a specific compression algorithm is supported. * * @param algorithm the algorithm to check * @return true if the algorithm is supported */ public boolean supportsAlgorithm(int algorithm) { if (this.compressionAlgorithms == null) { return false; } for (int algo : this.compressionAlgorithms) { if (algo == algorithm) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
assertEquals(3, algorithms.length); assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77)); assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77_HUFFMAN)); assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZNT1)); assertFalse(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_PATTERN_V1)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.6K bytes - Click Count (0)