Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 for 1000L (0.02 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            assertEquals(30L * 24 * 60 * 60 * 1000L, job.getExpiry());
        }
    
        // Test getExpiry with default value
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java

            final String mimeType = "text/plain";
    
            assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType));
            contentLengthHelper.addMaxLength(mimeType, 1000L);
            assertEquals(1000L, contentLengthHelper.getMaxLength(mimeType));
        }
    
        public void test_getMaxLength_blank() {
            String mimeType;
    
            mimeType = null;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/internal/util/SMBUtil.java

         * @return the time value in milliseconds since January 1, 1970 UTC
         */
        public static long readUTime(final byte[] buffer, final int bufferIndex) {
            return (readInt4(buffer, bufferIndex) & 0xFFFFFFFFL) * 1000L;
        }
    
        /**
         * Writes a Java time value as a Unix time (32-bit seconds)
         * @param t the time value in milliseconds since January 1, 1970 UTC
         * @param dst the destination byte array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top