- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 650 for 1000L (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
// UTime is seconds since epoch, so divide by 1000 long unixTime = time / 1000L; // Mocking date for timezone consistency TimeZone original = TimeZone.getDefault(); try { TimeZone.setDefault(TimeZone.getTimeZone("UTC")); ServerMessageBlock.writeUTime(unixTime * 1000L, buffer, 0); long readTime = ServerMessageBlock.readUTime(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertEquals(1000, info.alloc); assertEquals(500, info.free); assertEquals(100, info.sectPerAlloc); assertEquals(512, info.bytesPerSect); assertEquals(1000L * 100 * 512, info.getCapacity(), "Capacity calculation should be correct");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1 Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 })); } /** * When lastWriteTime is zero the encoded unsigned time must be all 1s. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/resources/fess_indices/fess_config.scheduled_job/scheduled_job.bulk
{"name":"Thumbnail Purger","target":"all","cronExpression":"0 0 * * *","scriptType":"groovy","scriptData":"return container.getComponent(\"purgeThumbnailJob\").expiry(30 * 24 * 60 * 60 * 1000L).execute();","jobLogging":true,"crawler":false,"available":true,"sortOrder":7,"createdBy":"system","createdTime":0,"updatedBy":"system","updatedTime":0} {"index":{"_index":"fess_config.scheduled_job","_id":"reload_config"}}
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Nov 07 06:19:20 UTC 2024 - 4.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
// Add URLs up to capacity (10000) for (int i = 0; i < 10000; i++) { urlSet.add("http://example" + i + ".com/robots.txt"); } assertEquals(10000, urlSet.size()); // Add one more should maintain size at 10000 (LRU eviction) urlSet.add("http://overflow.com/robots.txt"); assertEquals(10000, urlSet.size());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
case TIME_1970_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L), dst, di); case TIME_1970_SEC_32LE -> enc_uint32le((int) (date.getTime() / 1000L), dst, di); case TIME_1904_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L + SEC_BETWEEEN_1904_AND_1970 & 0xFFFFFFFF), dst, di); case TIME_1904_SEC_32LE -> enc_uint32le((int) (date.getTime() / 1000L + SEC_BETWEEEN_1904_AND_1970 & 0xFFFFFFFF), dst, di);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
*/ @Test @DisplayName("verify getters return stubbed values") void testGettersHappyPath() { when(mockAllocInfo.getCapacity()).thenReturn(1000L); when(mockAllocInfo.getFree()).thenReturn(400L); assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value"); assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java
// Test setting negative values webFsIndexHelper.setMaxAccessCount(-1L); assertEquals(-1L, webFsIndexHelper.maxAccessCount); webFsIndexHelper.setCrawlingExecutionInterval(-1000L); assertEquals(-1000L, webFsIndexHelper.crawlingExecutionInterval); // Test setting out of normal thread priority range webFsIndexHelper.setIndexUpdaterPriority(0);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/JobLogService.java
@Resource protected FessConfig fessConfig; /** * Time interval in milliseconds after which jobs are considered expired. * Default is 2 hours (2 * 60 * 60 * 1000L). */ protected long expiredJobInterval = 2 * 60 * 60 * 1000L; // 2hours /** * Retrieves a paginated list of job logs based on the provided pager configuration. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true); SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); int expectedSeconds = (int) (testTime / 1000L); int actualSeconds = SMBUtil.readInt4(dst, 0); assertEquals(expectedSeconds, actualSeconds); // Test when current time is in DST but test time is not
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)