- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for limited (0.03 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
byte[] buffer = createBasicNegotiateResponseBuffer(); // Set SMB 3.1.1 dialect SMBUtil.writeInt2(0x0311, buffer, 4); // Set excessive negotiate context count (should be limited to 100) SMBUtil.writeInt2(1000, buffer, 6); // Set negotiate context offset to valid value SMBUtil.writeInt4(128, buffer, 60);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
} /** * Set the key rotation bytes limit * * @param limit number of bytes to encrypt before rotating keys */ public void setKeyRotationBytesLimit(long limit) { this.keyRotationBytesLimit = limit; } /** * Set the key rotation time limit * * @param limit time in milliseconds before rotating keys */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
* * Performance optimizations: * - Uses ConcurrentLinkedQueue for O(1) operations * - Lock-free operations for better concurrency * - Proper buffer validation and limits */ public class BufferCache { /** * Private constructor to prevent instantiation of this utility class. */ private BufferCache() { // Utility class - not instantiable }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return whether to ignore exceptions that occur during file copy */ boolean isIgnoreCopyToException(); /** * Gets the batch limit for a specific SMB command * * @param cmd the SMB command name * @return the batch limit for the given command */ int getBatchLimit(String cmd); /** *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
@DisplayName("Should not reuse connection when session limit reached") void testSessionLimitPreventsReuse() throws Exception { // Given: Config with session limit of 1 when(config.getSessionLimit()).thenReturn(1); // Create first connection SmbTransportImpl first = pool.getSmbTransport(ctx, address, 445, false); // Mock that session limit is reached
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
encKey, decKey, sessionKey, preauthHash); // When - Set very low rotation limits to trigger rotation context.setKeyRotationBytesLimit(100); // Rotate after 100 bytes // Encrypt first message - should work byte[] plaintext1 = "Message before rotation".getBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
return this.andx; } /** * Gets the batch limit for chained commands * @param cfg the configuration * @param cmd the command byte * @return the batch limit */ protected int getBatchLimit(final Configuration cfg, final byte cmd) { /* * the default limit is 0 batched messages before this * one, meaning this message cannot be batched.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
double noneRatio = compressionService.estimateCompressionRatio(testData, CompressionService.COMPRESSION_NONE); assertEquals(1.0, noneRatio, 0.001); } @Test @DisplayName("Test configuration limits") public void testConfigurationLimits() { assertTrue(compressionService.getMinCompressionSize() > 0); assertTrue(compressionService.getMaxCompressionSize() > compressionService.getMinCompressionSize());
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/config/BaseConfiguration.java
return true; } return !this.disallowCompound.contains(command); } /** * Gets the batch limit for a specific command * * @param cmd the command to get the batch limit for * @return the batch limit for the command, or null if not set */ protected Integer doGetBatchLimit(final String cmd) { return null; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)