- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getBatchLimit (0.09 sec)
-
src/test/java/jcifs/config/BaseConfigurationTest.java
assertNull(config.getMachineId()); } @Test @DisplayName("Test getBatchLimit method") void testGetBatchLimit() { // Test default batch limit assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation")); // Test unspecified batch limit assertEquals(1, config.getBatchLimit("UnknownCommand")); // Test caching behavior
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
assertNull(testBlock.getAndx()); } @Test @DisplayName("Test getBatchLimit returns 0 by default") void testGetBatchLimit() { testBlock = new TestAndXServerMessageBlock(mockConfig); assertEquals(0, testBlock.getBatchLimit(mockConfig, (byte) 0x25)); } @Test @DisplayName("Test encode without andx command")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertSame(next, block.andx, "andx should reference provided SMB"); } @Test @DisplayName("getBatchLimit defaults to 0") void testGetBatchLimitDefault() { DummyAndXBlock block = new DummyAndXBlock(); assertEquals(0, block.getBatchLimit((byte) 0x25)); } @Test @DisplayName("encode without andx succeeds and signs when digest present")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
} AndXServerMessageBlock(final ServerMessageBlock andx) { if (andx != null) { this.andx = andx; andxCommand = andx.command; } } int getBatchLimit(final byte command) { /* the default limit is 0 batched messages before this * one, meaning this message cannot be batched. */ return 0; } /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.isIgnoreCopyToException(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getBatchLimit(java.lang.String) */ @Override public int getBatchLimit(final String cmd) { return this.delegate.getBatchLimit(cmd); } /** * {@inheritDoc} * * @see jcifs.Configuration#isAllowCompound(java.lang.String) */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
// Given String operation = "TestOperation"; when(mockDelegate.getBatchLimit(operation)).thenReturn(100); // When int batchLimit = delegatingConfig.getBatchLimit(operation); // Then assertEquals(100, batchLimit, "Should delegate batch limit"); verify(mockDelegate).getBatchLimit(operation); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
} /** * 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. */ return 0; }
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/config/BaseConfiguration.java
return this.channelHealthCheckInterval; } /** * {@inheritDoc} * * @see jcifs.Configuration#getBatchLimit(java.lang.String) */ @Override public int getBatchLimit(final String cmd) { Integer set = this.batchLimits.get(cmd); if (set != null) { return set; } set = doGetBatchLimit(cmd);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
/** * 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); /** * * Property {@code jcifs.smb.client.notify_buf_size} (int, default 1024) * * @return the size of the requested server notify buffer */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0)