Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 44 for currentTime (0.06 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
                copyBeanToBean(form, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFile.java

            return response;
        }
    
        @Override
        public boolean exists() throws SmbException {
    
            // Improved attribute caching with more granular cache validation
            long currentTime = System.currentTimeMillis();
            if (this.attrExpiration > currentTime) {
                log.trace("Using cached attributes (expires in {}ms)", this.attrExpiration - currentTime);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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