- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for 6000051 (0.07 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
when(mockReferral.getNode()).thenReturn("\\server2\\share2\\path2"); second = DfsReferralDataImpl.fromReferral(mockReferral, "\\\\server2\\share2\\path2", System.currentTimeMillis() + 20000, 15); second.setDomain("DOMAIN"); // Combine DfsReferralDataInternal combined = first.combine(second); assertNotNull(combined);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
void testBinaryConstructorAndToByteArray() { // Arrange: revision=1, count=2, identAuth zeros except last byte, subauth 10, 20 byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; rpc.sid_t st = buildSidT((byte) 1, ident, 10, 20); byte[] bytes = SID.toByteArray(st); // Act: construct from bytes and re-encode
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
context.setCacheScope(DirectoryCacheScope.RECURSIVE_TREE); assertEquals(DirectoryCacheScope.RECURSIVE_TREE, context.getCacheScope()); context.setMaxCacheAge(60000L); assertEquals(60000L, context.getMaxCacheAge()); context.setNotificationEnabled(false); assertFalse(context.isNotificationEnabled()); context.setNotificationFilter(0xFF);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
private static final int DEFAULT_MAX_POOL_SIZE = 100; private static final int DEFAULT_MAX_IDLE_TIME = 300000; // 5 minutes in ms private static final int DEFAULT_HEALTH_CHECK_INTERVAL = 60000; // 1 minute in ms private static final int DEFAULT_PROACTIVE_CHECK_INTERVAL = 30000; // 30 seconds in ms private int maxPoolSize = DEFAULT_MAX_POOL_SIZE; private int maxIdleTime = DEFAULT_MAX_IDLE_TIME;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
@Test void testInternalConstructor() { rpc.sid_t rpcSid = new rpc.sid_t(); rpcSid.revision = 1; rpcSid.sub_authority_count = 2; rpcSid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 }; rpcSid.sub_authority = new int[] { 32, 544 }; SID sid = new SID(rpcSid, SID.SID_TYPE_WKN_GRP, "BUILTIN", "Administrators", false); assertEquals(SID.SID_TYPE_WKN_GRP, sid.getType());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key = leaseManager.requestLease(path, requestedState); assertNotNull(leaseManager.getLease(key)); int cleaned = leaseManager.cleanupExpiredLeases(60000); // 1 minute expiration assertEquals(0, cleaned); assertNotNull(leaseManager.getLease(key)); } @Test @DisplayName("Should detect lease capabilities")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
} @Test @DisplayName("Test Response interface methods - setExpiration") void testSetExpiration() { // Given Long expiration = System.currentTimeMillis() + 60000L; doNothing().when(response).setExpiration(expiration); // When response.setExpiration(expiration); // Then verify(response).setExpiration(expiration); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
README.md
}); ``` ## Troubleshooting ### Common Issues #### Connection Timeouts ```java // Increase timeout values client.setConnectionTimeout(60000); // 60 seconds client.setSocketTimeout(120000); // 120 seconds ``` #### Memory Issues ```java // Reduce concurrent threads and batch sizes crawler.crawlerContext.setNumOfThread(5);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
long now = System.currentTimeMillis(); long windowStart = currentWindowStart.get(); // Check if we need to reset the window (1 minute window) if (now - windowStart > 60000) { currentWindowStart.compareAndSet(windowStart, now); globalAttemptsInCurrentWindow.set(0); } int attempts = globalAttemptsInCurrentWindow.incrementAndGet();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)