- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for supportsAlgorithm (1.26 sec)
-
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0)