Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 520 for _clear (0.1 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                }
            }
        }
    
        /**
         * Cleans up the crawled data for a given session.
         * Deletes URL queue data and access result data, and clears the URL filter.
         * @param sessionId The session ID to clean up.
         */
        public void cleanup(final String sessionId) {
            if (logger.isInfoEnabled()) {
                logger.info("Starting crawler cleanup: sessionId={}", sessionId);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial002.py

    from sqlmodel import SQLModel, create_engine
    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    try {
                        final int sessionIdListSize = finishedSessionIdList.size();
                        intervalControlHelper.setCrawlerRunning(true);
    
                        docList.clear();
                        accessResultList.clear();
    
                        updateTime = systemHelper.getCurrentTimeAsLong() - updateTime;
    
                        final long interval = updateInterval - updateTime;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            // Stop all change watchers
            for (String path : directoryCache.keySet()) {
                changeNotifier.stopWatching(path);
            }
    
            // Clear caches
            directoryCache.clear();
            leaseToPath.clear();
        }
    
        /**
         * Clean up expired cache entries
         */
        private void cleanupExpiredEntries() {
            List<String> expiredPaths = new ArrayList<>();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_tutorial001.py

    from sqlmodel import SQLModel, create_engine
    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. src/builtin/builtin.go

    func imag(c ComplexType) FloatType
    
    // The clear built-in function clears maps and slices.
    // For maps, clear deletes all entries, resulting in an empty map.
    // For slices, clear sets all elements up to the length of the slice
    // to the zero value of the respective element type. If the argument
    // type is a type parameter, the type parameter's type set must
    // contain only map or slice types, and clear performs the operation
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            last = null;
          }
        };
      }
    
      @Override
      public Iterator<E> iterator() {
        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public void clear() {
        countMap.clear();
      }
    
      @WeakOuter
      private final class EntrySet extends AbstractMultiset<E>.EntrySet {
        @Override
        ConcurrentHashMultiset<E> multiset() {
          return ConcurrentHashMultiset.this;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top