- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for 1800000 (0.05 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: Sun Sep 07 00:10:21 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 would
Registered: Sun Sep 07 00:10:21 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-middle
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
cmd/data-usage_test.go
const bucket = "bucket" files := []usageTestFile{ {name: "rootfile", size: 10000}, {name: "rootfile2", size: 10000}, {name: "dir1/d1file", size: 2000}, {name: "dir2/d2file", size: 300}, {name: "dir1/dira/dafile", size: 100000}, {name: "dir1/dira/dbfile", size: 200000}, {name: "dir1/dira/dirasub/dcfile", size: 1000000}, {name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10}, }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} /** https://github.com/google/guava/issues/1791 */ public void testInfinity_bustyTimeElapsed() { RateLimiter limiter = RateLimiter.create(Double.POSITIVE_INFINITY, stopwatch); stopwatch.instant += 1000000; limiter.setRate(2.0); for (int i = 0; i < 5; i++) { limiter.acquire(); } assertEvents( "R0.00", // First comes the saved-up burst, which defaults to a 1-second burst (2 requests).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} /** https://github.com/google/guava/issues/1791 */ public void testInfinity_bustyTimeElapsed() { RateLimiter limiter = RateLimiter.create(Double.POSITIVE_INFINITY, stopwatch); stopwatch.instant += 1000000; limiter.setRate(2.0); for (int i = 0; i < 5; i++) { limiter.acquire(); } assertEvents( "R0.00", // First comes the saved-up burst, which defaults to a 1-second burst (2 requests).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
} @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrime() { // Defer correctness tests to Long.isPrime // Check the first 100,000 integers for (int i = 0; i < 100000; i++) { assertEquals(LongMath.isPrime(i), IntMath.isPrime(i)); } // Then check 1000 deterministic pseudo-random int values. Random rand = new Random(1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0)