Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for LRU (0.03 sec)

  1. README.md

    - **Collections** (`org.codelibs.core.collection`) - Enhanced collection utilities, array operations, and specialized map/set implementations including LRU caches and case-insensitive collections
    - **I/O Operations** (`org.codelibs.core.io`) - File handling, resource management, stream utilities, and traversal utilities for efficient resource processing
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

    ### Creating the `Settings` only once with `lru_cache` { #creating-the-settings-only-once-with-lru-cache }
    
    Reading a file from disk is normally a costly (slow) operation, so you probably want to do it only once and then reuse the same settings object, instead of reading it for each request.
    
    But every time we do:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. go.mod

    	github.com/hashicorp/errwrap v1.1.0 // indirect
    	github.com/hashicorp/go-multierror v1.1.1 // indirect
    	github.com/hashicorp/go-uuid v1.0.3 // indirect
    	github.com/hashicorp/golang-lru v1.0.2 // indirect
    	github.com/jcmturner/aescts/v2 v2.0.0 // indirect
    	github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
    	github.com/jcmturner/gofork v1.7.6 // indirect
    	github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. docs/smb3-features/01-smb3-lease-design.md

            // Verify caching behavior
            assertTrue(file.canCacheWrite());
        }
    }
    ```
    
    ## 9. Performance Considerations
    
    ### 9.1 Memory Management
    - Lease entries should be evicted based on LRU when max leases reached
    - Implement periodic cleanup of expired leases
    
    ### 9.2 Thread Safety
    - Use concurrent data structures for lease storage
    - Minimize lock contention in hot paths
    - Async handling of lease breaks
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. gorm.go

    	NowFunc func() time.Time
    	// DryRun generate sql without execute
    	DryRun bool
    	// PrepareStmt executes the given query in cached statement
    	PrepareStmt bool
    	// PrepareStmt cache support LRU expired,
    	// default maxsize=int64 Max value and ttl=1h
    	PrepareStmtMaxSize int
    	PrepareStmtTTL     time.Duration
    
    	// DisableAutomaticPing
    	DisableAutomaticPing bool
    	// DisableForeignKeyConstraintWhenMigrating
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

        public void registerFileCache(String path, SmbFile file) {
            if (file != null) {
                fileCache.put(path, new WeakReference<>(file));
            }
        }
    
        /**
         * Evict oldest leases based on LRU
         *
         * @param count number of leases to evict
         */
        private void evictOldestLeases(int count) {
            if (count <= 0 || leases.isEmpty()) {
                return;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. go.sum

    github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
    github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
    github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c=
    github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 79.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

      }
    
      void incrementModCount() {
        metadata += CompactHashing.MODIFICATION_COUNT_INCREMENT;
      }
    
      /**
       * Mark an access of the specified entry. Used only in {@code CompactLinkedHashMap} for LRU
       * ordering.
       */
      void accessEntry(int index) {
        // no-op by default
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V put(@ParametricNullness K key, @ParametricNullness V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
       * operates per-segment rather than globally for increased implementation simplicity. We expect
       * the cache hit rate to be similar to that of a global LRU algorithm.
       */
    
      // Constants
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.32.md

    - github.com/hashicorp/go-uuid: [v1.0.1](https://github.com/hashicorp/go-uuid/tree/v1.0.1)
    - github.com/hashicorp/go.net: [v0.0.1](https://github.com/hashicorp/go.net/tree/v0.0.1)
    - github.com/hashicorp/golang-lru: [v0.5.1](https://github.com/hashicorp/golang-lru/tree/v0.5.1)
    - github.com/hashicorp/hcl: [v1.0.0](https://github.com/hashicorp/hcl/tree/v1.0.0)
    - github.com/hashicorp/logutils: [v1.0.0](https://github.com/hashicorp/logutils/tree/v1.0.0)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 14:49:49 UTC 2025
    - 412.3K bytes
    - Viewed (0)
Back to top