Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 118 for oldest (0.04 seconds)

  1. cmd/metacache-bucket.go

    	// If above limit, remove the caches with the oldest handout time.
    	if len(caches)-len(remove) > metacacheMaxEntries {
    		remainCaches := make([]metacache, 0, len(caches)-len(remove))
    		for id, cache := range caches {
    			if _, ok := remove[id]; ok {
    				continue
    			}
    			remainCaches = append(remainCaches, cache)
    		}
    		if len(remainCaches) > metacacheMaxEntries {
    			// Sort oldest last...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        val toEvictIdleAtNs: Long
        when {
          // We had at least one OLD connection. Close the oldest one.
          earliestOldConnection != null -> {
            toEvict = earliestOldConnection
            toEvictIdleAtNs = earliestOldIdleAtNs
          }
    
          // We have too many EVICTABLE connections. Close the oldest one.
          evictableConnectionCount > maxIdleConnections -> {
            toEvict = earliestEvictableConnection
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            }
        }
    
        /**
         * Evict oldest leases based on LRU
         *
         * @param count number of leases to evict
         */
        private void evictOldestLeases(int count) {
            if (count <= 0 || leases.isEmpty()) {
                return;
            }
    
            // Find oldest leases by last access time
            leases.entrySet()
                    .stream()
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/collection/LruHashMap.java

    package org.codelibs.core.collection;
    
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    /**
     * {@link HashMap} with an upper limit on the number of entries. When a new entry is added, the oldest entry is discarded using LRU if the limit is exceeded.
     * <p>
     * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>.
     * It extends {@link LinkedHashMap} without synchronization. If multiple threads access
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. ci/official/utilities/rename_and_verify_wheels.sh

    # Move extra wheel files somewhere out of the way. This script
    # expects just one wheel file to exist.
    if [[ "$(ls *.whl | wc -l | tr -d ' ')" != "1" ]]; then
      echo "More than one wheel file is present: moving the oldest to"
      echo "$TFCI_OUTPUT_DIR/extra_wheels."
      # List all .whl files by their modification time (ls -t) and move anything
      # other than the most recently-modified one (the newest one).
      mkdir -p $TFCI_OUTPUT_DIR/extra_wheels
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Sep 22 21:39:32 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. internal/store/queuestore.go

    	})
    
    	for i := range entries {
    		keys = append(keys, parseKey(entries[i]))
    	}
    
    	return keys
    }
    
    // list will read all entries from disk.
    // Entries are returned sorted by modtime, oldest first.
    // Underlying entry list in store is *not* updated.
    func (store *QueueStore[_]) list() ([]os.DirEntry, error) {
    	files, err := os.ReadDir(store.directory)
    	if err != nil {
    		return nil, err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         *
         * <p>Be careful when targeting an older SDK than you are building against (most commonly when
         * building for Android): Ensure that any object you pass implements the interface not just in
         * your current SDK version but also at the oldest version you support. For example, <a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
    
            if (isDirectory()) {
                SmbFile[] files;
                SmbFile ndest;
    
                final String path = dest.getUncPath0();
                if (path.length() > 1) {
                    try {
                        dest.mkdir();
                        dest.setPathInformation(attributes, createTime, lastModified);
                    } catch (final SmbException se) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/TopKSelector.java

    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
     * create the {@code TopKSelector} instance.
     *
     * <p>If your input data is available as an {@link Iterable} or {@link Iterator}, prefer {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. cmd/config-migrate.go

    		if err == nil {
    			return newCfg, nil
    		}
    
    		// Read older `.minio.sys/config/config.json`, if not
    		// possible just fail.
    		if err = json.Unmarshal(data, cfg); err != nil {
    			// Unable to parse old JSON simply re-initialize a new one.
    			return newServerCfg()
    		}
    	}
    
    	if !globalCredViaEnv && cfg.Credential.IsValid() {
    		// Preserve older credential if we do not have
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top