Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 250 for cleanup2 (0.07 seconds)

  1. cmd/metacache-manager.go

    		var exit bool
    		for !exit {
    			select {
    			case <-t.C:
    			case <-GlobalContext.Done():
    				exit = true
    			}
    			m.mu.RLock()
    			for _, v := range m.buckets {
    				if !exit {
    					v.cleanup()
    				}
    			}
    			m.mu.RUnlock()
    			m.mu.Lock()
    			for k, v := range m.trash {
    				if time.Since(v.lastUpdate) > metacacheMaxRunningAge {
    					v.delete(context.Background())
    					delete(m.trash, k)
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Click Count (0)
  2. internal/lru/lru.go

    		return 0
    	}
    	diff := c.evictList.Length() - size
    	if diff < 0 {
    		diff = 0
    	}
    	for i := 0; i < diff; i++ {
    		c.removeOldest()
    	}
    	c.size = size
    	return diff
    }
    
    // Close destroys cleanup goroutine. To clean up the cache, run Purge() before Close().
    // func (c *LRU[K, V]) Close() {
    //	c.mu.Lock()
    //	defer c.mu.Unlock()
    //	select {
    //	case <-c.done:
    //		return
    //	default:
    //	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.30.md

        - [Container Images](#container-images-3)
      - [Changelog since v1.30.10](#changelog-since-v13010)
      - [Changes by Kind](#changes-by-kind-3)
        - [Bug or Regression](#bug-or-regression-2)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake)
      - [Dependencies](#dependencies-3)
        - [Added](#added-3)
        - [Changed](#changed-3)
        - [Removed](#removed-3)
    - [v1.30.10](#v13010)
      - [Downloads for v1.30.10](#downloads-for-v13010)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jun 18 18:59:10 GMT 2025
    - 398.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

         * Called by the DI container on shutdown.
         */
        @PreDestroy
        public void close() {
            scriptCache.invalidateAll();
            scriptCache.cleanUp();
        }
    
        /**
         * Returns the name identifier for this script engine.
         *
         * @return "groovy" - the identifier used to register and retrieve this engine
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            injectAnnotation.fullyQualifiedName >> Inject.name
    
            repository = BinaryCompatibilityRepository.openRepositoryFor([new File(tmp.absolutePath)], [])
        }
    
        def cleanup() {
            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        }
    
        override fun secureConnectEnd(
          call: Call,
          handshake: Handshake?,
        ) {
          logger.removeHandler(loggerHandler)
        }
    
        override fun callEnd(call: Call) {
          // Cleanup log handler if failed.
          logger.removeHandler(loggerHandler)
        }
    
        override fun connectionAcquired(
          call: Call,
          connection: Connection,
        ) {
          if (random != null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

    import org.slf4j.LoggerFactory;
    
    /**
     * Secure key management for SMB encryption.
     * Provides centralized management of encryption keys with secure storage and cleanup.
     *
     * Features:
     * - Secure key storage with optional KeyStore integration
     * - Automatic key cleanup on close
     * - Thread-safe key management
     * - Key derivation utilities
     * - Memory wiping capabilities
     */
    public class SecureKeyManager implements AutoCloseable {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.32.md

      - [Changelog since v1.32.11](#changelog-since-v13211)
      - [Changes by Kind](#changes-by-kind-1)
        - [Feature](#feature-1)
        - [Bug or Regression](#bug-or-regression)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake)
      - [Dependencies](#dependencies-1)
        - [Added](#added-1)
        - [Changed](#changed-1)
        - [Removed](#removed-1)
    - [v1.32.11](#v13211)
      - [Downloads for v1.32.11](#downloads-for-v13211)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 26 23:58:21 GMT 2026
    - 470.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/Constants.java

        /** Property key for crawling user agent configuration. */
        public static final String CRAWLING_USER_AGENT_PROPERTY = "crawling.user.agent";
    
        /** Property key for cleanup day interval configuration. */
        public static final String DAY_FOR_CLEANUP_PROPERTY = "day.for.cleanup";
    
        // ============================================================
        // Web API Property Keys
        // ============================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                log.error("Failed to create handle state directory: " + stateDirectory, e);
            }
    
            // Load persisted handles on startup
            loadPersistedHandles();
    
            // Schedule periodic persistence and cleanup
            scheduler.scheduleAtFixedRate(this::periodicMaintenance, 30, 30, TimeUnit.SECONDS);
        }
    
        /**
         * Request a new durable handle
         * @param path the file path
         * @param type the handle type
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top