- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 263 for webconfig (0.05 sec)
-
src/main/java/jcifs/internal/witness/WitnessClient.java
return shareMatch || addressMatch; } /** * Checks for expired registrations based on heartbeat timeouts. */ private void checkHeartbeats() { long timeout = context.getConfig().getWitnessHeartbeatTimeout(); for (WitnessRegistration registration : registrations.values()) { if (registration.isExpired(timeout)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
new BaseContext(new PropertyConfiguration(System.getProperties())), "domain", "user", "password"); when(mockCifsContext.getCredentials()).thenReturn(creds); when(mockCifsContext.getConfig()).thenReturn(new PropertyConfiguration(System.getProperties())); when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); when(mockConfig.getMachineId()).thenReturn(testMachineId); when(mockConfig.getRandom()).thenReturn(mockRandom); when(mockContext.getConfig()).thenReturn(mockConfig); // Mock random for predictable salt generation doAnswer(invocation -> { byte[] buffer = invocation.getArgument(0);
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/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
private Smb2FlushRequest request; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); // Create a test file ID (16 bytes) testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg); assertEquals(mockConfig, msg.getConfig()); assertEquals(0, msg.getCommand()); } @Test @DisplayName("Should create with configuration and command") void testConstructorWithConfigAndCommand() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
ntlmSsp = new NtlmSsp(); // Use lenient stubbing to avoid UnnecessaryStubbing errors for tests that don't need all mocks lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig); lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
void testConstructor() { Smb2EchoResponse response = new Smb2EchoResponse(mockConfig); assertNotNull(response); assertEquals(mockConfig, response.getConfig()); } @Test @DisplayName("Should extend ServerMessageBlock2Response") void testInheritance() { assertTrue(echoResponse instanceof ServerMessageBlock2Response); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
@BeforeEach void setUp() { // Create a fresh pool instance for each test pool = new SmbTransportPoolImpl(); // Setup default mock behaviors when(ctx.getConfig()).thenReturn(config); when(ctx.getNameServiceClient()).thenReturn(nameSvc); when(ctx.getCredentials()).thenReturn(creds); when(ctx.getTransportPool()).thenReturn(pool);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
} for offset < len(splitDataShards) { newConfig := false for shardIdx, shard := range splitFilled[:k] { if shardConfig[shardIdx] != shard[offset] { newConfig = true break } } if newConfig { if offset > startOffset && reconstructAbleConfig {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
final UniAddress dc = new UniAddress(addr); try (SmbTransportInternal trans = tf.getTransportPool() .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced()) .unwrap(SmbTransportInternal.class)) { if (!tf.hasDefaultCredentials()) { trans.ensureConnected(); log.warn("""
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0)