- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for 1800000 (1.04 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000); when(mockFile1.lastAccess()).thenReturn(System.currentTimeMillis() - 1800000); when(mockFile2.getName()).thenReturn("subfolder");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
String name; int level; /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min. */ Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000"); Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200"); /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle * techinque that NTLMv2 specifically thwarts. A real NTLM Filter wouldRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
final Properties p = new Properties(); /* * Set jcifs properties we know we want; soTimeout and cachePolicy to 30min. */ p.setProperty("jcifs.smb.client.soTimeout", "1800000"); p.setProperty("jcifs.netbios.cachePolicy", "1200"); /* * The Filter can only work with NTLMv1 as it uses a man-in-the-middleRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
// sectPerAlloc (4 bytes) SMBUtil.writeInt4(8, buffer, offset); offset += 4; // alloc (4 bytes) SMBUtil.writeInt4(1000000, buffer, offset); offset += 4; // free (4 bytes) SMBUtil.writeInt4(500000, buffer, offset); offset += 4; // bytesPerSect (2 bytes + 2 padding) SMBUtil.writeInt2(512, buffer, offset); offset += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
void testValidBufferSize() { assertDoesNotThrow(() -> InputValidator.validateBufferSize(100, 1000, "test")); assertDoesNotThrow(() -> InputValidator.validateBufferSize(0, 1000, "test")); assertDoesNotThrow(() -> InputValidator.validateBufferSize(1000, 1000, "test")); } @Test @DisplayName("Test invalid buffer size validation") void testInvalidBufferSize() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
basicInfo.attributes = 0x20; // Archive attribute basicInfo.createTime = 1000000L; basicInfo.lastWriteTime = 2000000L; basicInfo.lastAccessTime = 1500000L; basicInfo.changeTime = 2500000L; assertEquals(0x20, basicInfo.getAttributes()); assertEquals(1000000L, basicInfo.getCreateTime()); assertEquals(2000000L, basicInfo.getLastWriteTime());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
int consumed = Math.min(19, reqPath.length()); data1 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed); data2 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed); } @Test @DisplayName("Should be equal for same values") void testEquals() {
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/util/ServerResponseValidatorTest.java
assertThrows(SmbException.class, () -> { validator.validateArrayAllocation(-1, 10, 1000); }); } @Test public void testArrayAllocationInvalidElementSize() throws Exception { assertThrows(SmbException.class, () -> { validator.validateArrayAllocation(100, 0, 1000); }); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java
controller.setDelayMillisAfterProcessing(0L); final long start = System.nanoTime(); controller.delayAfterProcessing(); final long elapsed = (System.nanoTime() - start) / 1000000; assertTrue("No delay expected", elapsed < 50); // Should be nearly instant } /** * Test delayAfterProcessing with actual delay */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 8.1K bytes - Viewed (0)