Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for _clear (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    Thread.currentThread().interrupt();
                }
            }
    
            // Clean up expired weak references
            cleanupExpiredReferences();
    
            // Release all leases
            releaseAll();
    
            // Clear file cache
            fileCache.clear();
        }
    
        /**
         * Clean up expired weak references from the file cache
         */
        private void cleanupExpiredReferences() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            List<SmbTransportImpl> toClose = new ArrayList<>(this.connections);
            toClose.addAll(this.nonPooledConnections);
    
            // Clear the collections (thread-safe operations)
            this.connections.clear();
            this.nonPooledConnections.clear();
            this.activeConnections.set(0);
    
            // Close all connections outside of synchronization
            for (final SmbTransportImpl conn : toClose) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                    ipAttempts.size());
        }
    
        /**
         * Reset all rate limiting state
         */
        public void reset() {
            accountAttempts.clear();
            ipAttempts.clear();
            globalAttemptsInCurrentWindow.set(0);
            currentWindowStart.set(System.currentTimeMillis());
            totalAttemptsBlocked.set(0);
            totalAccountsLocked.set(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/PreauthIntegrityService.java

            }
        }
    
        /**
         * Clears all session contexts (for cleanup).
         */
        public void cleanup() {
            for (PreauthIntegrityContext context : sessionContexts.values()) {
                context.invalidate();
            }
            sessionContexts.clear();
            log.debug("Cleaned up all preauth integrity contexts");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureKeyManager.java

            return key;
        }
    
        /**
         * Clear all stored keys
         */
        public void clearAllKeys() {
            checkNotClosed();
    
            log.info("Clearing all stored keys");
    
            // Wipe all raw keys
            for (Map.Entry<String, byte[]> entry : rawKeys.entrySet()) {
                Arrays.fill(entry.getValue(), (byte) 0);
            }
            rawKeys.clear();
    
            // Destroy all secret keys
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            // Clear the filter
            urlFilter.clear();
    
            // After clear, all URLs should match (no filters applied)
            assertTrue(urlFilter.match("https://example.com/page"));
            assertTrue(urlFilter.match("https://other.com/page"));
            assertTrue(urlFilter.match("https://any.com/image.jpg"));
        }
    
        /**
         * Test clear method without initialization
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

            List<CompletableFuture<Void>> taskFutures = new ArrayList<>(asyncNotifyTasks.values());
            for (CompletableFuture<Void> task : taskFutures) {
                task.cancel(true);
            }
            asyncNotifyTasks.clear();
    
            // Unregister all active registrations
            List<CompletableFuture<Void>> unregisterFutures = new ArrayList<>();
    
            for (WitnessRegistration registration : registrations.values()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SecureKeyManagerTest.java

            }
    
            assertEquals(5, keyManager.getKeyCount(), "Should have 5 keys");
    
            keyManager.clearAllKeys();
    
            assertEquals(0, keyManager.getKeyCount(), "Should have no keys after clear");
    
            // Verify all keys are removed
            for (int i = 0; i < 5; i++) {
                assertFalse(keyManager.hasSessionKey("session-" + i), "Key should be removed");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. cmd/bucket-targets.go

    				sys.hMutex.Unlock()
    			}
    			hcTimer.Reset(defaultHealthCheckDuration)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // periodically rebuild the healthCheck map from list of targets to clear
    // out stale endpoints
    func (sys *BucketTargetSys) reloadHealthCheckers(ctx context.Context) {
    	m := make(map[string]epHealth)
    	tgts := sys.ListTargets(ctx, "", "")
    	sys.hMutex.Lock()
    	for _, t := range tgts {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            return count;
        }
    
        /**
         * Clears a scroll context.
         *
         * @param scrollId The scroll ID to clear.
         */
        public void clearScroll(final String scrollId) {
            if (scrollId != null) {
                prepareClearScroll().addScrollId(scrollId)
                        .execute(ActionListener.wrap(res -> {}, e -> logger.warn("Failed to clear " + scrollId, e)));
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top