- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 331 for 1000L (1.31 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
// Setup mock files when(mockFile1.getName()).thenReturn("file1.txt"); when(mockFile1.length()).thenReturn(1024L); when(mockFile1.lastModified()).thenReturn(1000L); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); when(mockFile1.createTime()).thenReturn(500L); when(mockFile1.lastAccess()).thenReturn(800L);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
DirectoryCacheEntry.FileInfo fileInfo = new DirectoryCacheEntry.FileInfo("test.txt", 1024L, 1000L, false, 0x20, 500L, 800L); // Should match with same values assertTrue(fileInfo.matches(1024L, 1000L, 0x20)); // Should not match with different size assertFalse(fileInfo.matches(2048L, 1000L, 0x20)); // Should not match with different last modified
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
when(mockAllocInfo.getCapacity()).thenReturn(1000L, 2000L, 3000L); when(mockAllocInfo.getFree()).thenReturn(500L, 1000L, 1500L); // When & Then assertEquals(1000L, mockAllocInfo.getCapacity()); assertEquals(500L, mockAllocInfo.getFree()); assertEquals(2000L, mockAllocInfo.getCapacity()); assertEquals(1000L, mockAllocInfo.getFree());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java
client.checkMaxContentLength(responseData); responseData.setContentLength(-1); client.checkMaxContentLength(responseData); responseData.setContentLength(1000L); client.checkMaxContentLength(responseData); responseData.setContentLength(1000000L); client.checkMaxContentLength(responseData); responseData.setContentLength(1000000000L);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java
assertEquals(0L, controller.getDelayMillisAfterProcessing()); assertEquals(500L, controller.getDelayMillisAtNoUrlInQueue()); assertEquals(0L, controller.getDelayMillisBeforeProcessing()); assertEquals(1000L, controller.getDelayMillisForWaitingNewUrl()); } /** * Test constructor with parameters */ public void test_constructorWithParams() { final Map<String, Long> params = new HashMap<>();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 8.1K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 07 06:19:20 UTC 2024 - 4.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0)