Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for CurrentTime (0.19 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                final long currentTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); // milliseconds since epoch
                if (tokenExpiryTime < currentTime) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Token expired: expiryTime={}, currentTime={}", tokenExpiryTime, currentTime);
                    }
                    return false;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

            void testTimeOperations() throws CIFSException {
                // Given
                long currentTime = System.currentTimeMillis();
                when(mockResource.lastModified()).thenReturn(currentTime);
                when(mockResource.lastAccess()).thenReturn(currentTime - 1000);
                when(mockResource.createTime()).thenReturn(currentTime - 2000);
    
                // When
                long lastModified = mockResource.lastModified();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

            // Initial value
            assertEquals(0L, t.ltime, "ltime should start at 0");
    
            // Set new value
            long currentTime = System.currentTimeMillis();
            t.ltime = currentTime;
            assertEquals(currentTime, t.ltime, "ltime should be mutable");
        }
    
        @Test
        @DisplayName("TestLocking implements Runnable")
        void testImplementsRunnable() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (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;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. 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)},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. 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)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. 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() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    		// Service accounts might not have expiration in older releases.
    		return nil
    	}
    
    	currentTime := time.Now().UTC()
    	minExpiration := currentTime.Add(minServiceAccountExpiry)
    	maxExpiration := currentTime.Add(maxServiceAccountExpiry)
    	if expirationInUTC.Before(minExpiration) || expirationInUTC.After(maxExpiration) {
    		return errInvalidSvcAcctExpiration
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top