Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 44 for currentSize (0.06 seconds)

  1. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            searchRenderData.setRequestedTime(0L);
            assertEquals(0L, searchRenderData.getRequestedTime());
    
            // Test with current time
            long currentTime = System.currentTimeMillis();
            searchRenderData.setRequestedTime(currentTime);
            assertEquals(currentTime, searchRenderData.getRequestedTime());
    
            // Test with specific timestamp
            long timestamp = 1609459200000L; // 2021-01-01 00:00:00 UTC
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        @Test
        public void test_getCurrentTime() {
            final Date currentTime = systemHelper.getCurrentTime();
            assertNotNull(currentTime);
            final long now = System.currentTimeMillis();
            assertTrue(Math.abs(currentTime.getTime() - now) < 1000);
        }
    
        @Test
        public void test_getCurrentTimeAsLong() {
            final long currentTime = systemHelper.getCurrentTimeAsLong();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

         */
        public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) {
            getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> {
                if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) {
                    throw new DictionaryException(dictFile.getPath() + " was updated.");
                }
    
                // TODO use stream
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            long processingTime = 0;
            long currentTime = System.currentTimeMillis();
    
            @Override
            public boolean calibrateCpuLoad() {
                // Do nothing
                return true;
            }
    
            @Override
            public long getCurrentTimeAsLong() {
                long time = currentTime;
                currentTime += processingTime;
                return time;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
    
            long currentTime = roleQueryHelper.getCurrentTime();
            assertTrue(currentTime > 0);
    
            long currentTimeMillis = System.currentTimeMillis();
            // Allow for small time difference
            assertTrue(Math.abs(currentTime - currentTimeMillis) < 1000);
        }
    
        @Test
        public void test_constants() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                }
            } catch (IOException e) {
                // ignore
            }
            return false;
        }
    
        private String getFileName(String match, File currentFile) {
            if (match.isEmpty()) {
                return currentFile.getName();
            } else {
                if (match.endsWith(".adoc")) {
                    return match;
                }
                return match + ".adoc";
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  7. docs/iam/access-management-plugin.md

            "AWS4-HMAC-SHA256 Credential=minio/20220507/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=62012db6c47d697620cf6c68f0f45f6e34894589a53ab1faf6dc94338468c78a"
          ],
          "CurrentTime": [
            "2022-05-07T18:31:41Z"
          ],
          "Delimiter": [
            "/"
          ],
          "EpochTime": [
            "1651948301"
          ],
          "Prefix": [
            ""
          ],
          "Referer": [
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Click Count (1)
  8. cmd/bucket-policy.go

    	case authTypeSignedV2, authTypeSigned, authTypeStreamingSigned:
    		authtype = "REST-HEADER"
    	case authTypePostPolicy:
    		authtype = "POST"
    	}
    
    	args := map[string][]string{
    		"CurrentTime":      {currTime.Format(time.RFC3339)},
    		"EpochTime":        {strconv.FormatInt(currTime.Unix(), 10)},
    		"SecureTransport":  {strconv.FormatBool(r.TLS != nil)},
    		"SourceIp":         {handlers.GetSourceIPRaw(r)},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         * @param additionalBytes bytes about to be encrypted
         * @return true if key rotation is needed
         */
        public boolean needsKeyRotation(int additionalBytes) {
            long currentTime = System.currentTimeMillis();
            long timeSinceStart = currentTime - encryptionStartTime;
            long totalBytes = bytesEncrypted.get() + additionalBytes;
    
            boolean needsRotation = (keyRotationBytesLimit > 0 && totalBytes >= keyRotationBytesLimit)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            crawler.pathMappingService = pathMappingService;
    
            crawlingInfoService = new CrawlingInfoService() {
                @Override
                public void deleteSessionIdsBefore(String sessionId, String name, long currentTime) {
                    // Mock implementation
                }
            };
            crawler.crawlingInfoService = crawlingInfoService;
    
            crawlingInfoHelper = new CrawlingInfoHelper() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top