- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 4,588 for expires (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(newState, entry.getLeaseState()); } @Test @DisplayName("Should clean up expired leases with custom timeout") void testCleanupExpiredLeasesWithCustomTimeout() throws InterruptedException { String path1 = "/share/expired1.txt"; String path2 = "/share/expired2.txt"; Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
this.leaseKey = leaseKey; this.reconnecting = false; } /** * Check if this handle has expired * @return true if expired */ public boolean isExpired() { if (type == HandleType.PERSISTENT) { return false; // Persistent handles don't expire } long elapsed = System.currentTimeMillis() - lastAccessTime; return elapsed > timeout; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java
// Guava Cache handles expiration automatically // Wait for cache to expire and call cleanup try { Thread.sleep(100L); } catch (final InterruptedException e) { // ignore } rateLimitHelper.cleanup(); // After cleanup, the expired entry should be removed // Note: The actual expiration depends on the configured block durationCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4K bytes - Click Count (0) -
docs/config/README.md
transition_workers (number) set the number of transition workers (default: '100') stale_uploads_expiry (duration) set to expire stale multipart uploads older than this values (default: '24h') stale_uploads_cleanup_interval (duration) set to change intervals when stale multipart uploads are expired (default: '6h')
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.1K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
DirectoryCacheScope.IMMEDIATE_CHILDREN); // Make the cache entry expired DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); entry.setMaxAge(1); // 1ms to expire immediately try { Thread.sleep(10); } catch (InterruptedException e) { // Ignore }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
} @Test public void test_expired_method_exists() throws Exception { assertNotNull(SystemMonitorTarget.class.getMethod("expired"), "expired method should exist"); } @Test public void test_expired_method_can_be_called() { // Instead of directly calling expired() which may fail due to system dependencies // in test environments, we test that the method exists and can be invokedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
* * <p>Valid: * * <ul> * <li>Live: valid key/value are set * <li>Loading: loading is pending * </ul> * * <p>Invalid: * * <ul> * <li>Expired: time expired (key/value may still be set) * <li>Collected: key/value was partially collected, but not yet cleaned up * <li>Unset: marked as unset, awaiting cleanup or reuse * </ul> */ @GwtIncompatible @J2ktIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
try { // Clean up expired handles handles.entrySet().removeIf(entry -> { HandleInfo info = entry.getValue(); if (info.isExpired() && !info.isReconnecting()) { guidToHandle.remove(info.getCreateGuid()); removePersistedHandle(info); log.debug("Removed expired handle: {}", info.getPath());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
docs_src/security/tutorial005_an_py310.py
def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt async def get_current_user(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
private static final String NOTIFICATION_QUEUE_INDEX = "fess_log.notification_queue"; private static final int BATCH_SIZE = 100; private volatile boolean indexChecked = false; @Override public void expired() { try { if (!ComponentUtil.getFessConfig().isLogNotificationEnabled()) { return; } } catch (final Exception e) { return; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0)