- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 122 for 300000 (0.04 sec)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
this.leaseKey = key; this.scope = scope; this.createTime = System.currentTimeMillis(); this.lastUpdateTime = createTime; this.lastAccessTime = createTime; this.maxAge = 30000; // 30 seconds default this.children = new ConcurrentHashMap<>(); this.lock = new ReentrantReadWriteLock(); this.isComplete = false; this.hasChanges = false; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
lenient().when(mockConfig.isUseWitness()).thenReturn(true); lenient().when(mockConfig.getWitnessHeartbeatTimeout()).thenReturn(120000L); lenient().when(mockConfig.getWitnessRegistrationTimeout()).thenReturn(300000L); lenient().when(mockConfig.getWitnessReconnectDelay()).thenReturn(1000L); lenient().when(mockConfig.isWitnessServiceDiscovery()).thenReturn(true); } @AfterEach void tearDown() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
@Test void isUnknown_withNonZeroHexCode_shouldReturnFalse() { Name name = new Name(mockConfig, "0.0.0.0", 0x20, null); name.scope = null; assertFalse(name.isUnknown()); } @Test void isUnknown_withScope_shouldReturnFalse() { Name name = new Name(mockConfig, "0.0.0.0", 0, "scope"); assertFalse(name.isUnknown()); } @Test
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/smb/PreauthIntegrityTest.java
@BeforeEach void setUp() throws Exception { when(context.getConfig()).thenReturn(config); when(config.isSigningEnforced()).thenReturn(false); when(config.getSessionTimeout()).thenReturn(30_000); when(config.getResponseTimeout()).thenReturn(5_000); when(address.getHostAddress()).thenReturn("127.0.0.1"); when(address.getHostName()).thenReturn("testhost");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
void setCreateTime(long time) throws CIFSException; /** * Retrieve the last acces time of the file represented by this <code>SmbResource</code> * * @return The number of milliseconds since the 00:00:00 GMT, January 1, * 1970 as a <code>long</code> value * @throws CIFSException if an error occurs accessing the resource */ long lastAccess() throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/SmbConstants.java
*/ int DEFAULT_MAX_MPX_COUNT = 10; /** * Default timeout in milliseconds for SMB responses. */ int DEFAULT_RESPONSE_TIMEOUT = 30000; /** * Default socket timeout in milliseconds. */ int DEFAULT_SO_TIMEOUT = 35000; /** * Default receive buffer size for SMB transport. */ int DEFAULT_RCV_BUF_SIZE = 0xFFFF; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertEquals(3, defaultPolicy.getMaxAttempts()); assertEquals(1000, defaultPolicy.getInitialDelayMs()); assertEquals(30000, defaultPolicy.getMaxDelayMs()); assertEquals(2.0, defaultPolicy.getBackoffMultiplier()); assertTrue(defaultPolicy.isExponentialBackoff()); // AGGRESSIVE policy
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
void testDefaultConstants() { assertEquals(445, SmbConstants.DEFAULT_PORT); assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT); assertEquals(30000, SmbConstants.DEFAULT_RESPONSE_TIMEOUT); assertEquals(35000, SmbConstants.DEFAULT_SO_TIMEOUT); assertEquals(0xFFFF, SmbConstants.DEFAULT_RCV_BUF_SIZE); assertEquals(0xFFFF, SmbConstants.DEFAULT_SND_BUF_SIZE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testSetFuture_stackOverflow() { SettableFuture<String> orig = SettableFuture.create(); SettableFuture<String> prev = orig; for (int i = 0; i < 100000; i++) { SettableFuture<String> curr = SettableFuture.create(); prev.setFuture(curr); prev = curr; } // prev represents the 'innermost' future prev.set("done");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
assertTrue(s1.isEmpty()); // isBlank will fail if sub_authority is null, so we skip that check for s1 // All-zero subauthorities byte[] ident = new byte[] { 0, 0, 0, 0, 0, 0 }; rpc.sid_t st = buildSidT((byte) 1, ident, 0, 0); SID s2 = new SID(st, jcifs.SID.SID_TYPE_USE_NONE, null, null, false); assertFalse(s2.isEmpty());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)