Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 494 for evicting (0.16 sec)

  1. android/guava/src/com/google/common/cache/CacheStats.java

     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
     *   <li>When a cache lookup first encounters a missing cache entry, a new entry is loaded.
     *       <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. cmd/erasure-metadata_test.go

    func TestAddObjectPart(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{1, 0},
    		{2, 1},
    		{4, 2},
    		{5, 3},
    		{7, 4},
    		// Insert part.
    		{3, 2},
    		// Replace existing part.
    		{4, 3},
    		// Missing part.
    		{6, -1},
    	}
    
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        int maxSize = 10;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(1).maximumSize(maxSize));
    
        // manually add elements to avoid eviction
        int originalCount = 1024;
        LinkedHashMap<Object, Object> originalMap = new LinkedHashMap<>();
        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = new Object();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            E first = table.get(index);
    
            // Look for an existing entry.
            for (E e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
                  && map.keyEquivalence.equivalent(key, entryKey)) {
                // We found an existing entry.
    
                V entryValue = e.getValue();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  5. cmd/tier.go

    		config.lastRefreshedAt = UTCNow()
    		return nil
    	default:
    		return err
    	}
    
    	// Reset drivercache built using current config
    	clear(config.drivercache)
    	// Remove existing tier configs
    	clear(config.Tiers)
    	// Copy over the new tier configs
    	maps.Copy(config.Tiers, newConfig.Tiers)
    	config.lastRefreshedAt = UTCNow()
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      static final String ERROR_ADDED_PARALLEL_EDGE = "Should not be allowed to add a parallel edge.";
      static final String ERROR_ADDED_EXISTING_EDGE =
          "Reusing an existing edge to connect different nodes succeeded";
    
      /** Creates and returns an instance of the graph to be tested. */
      abstract Network<Integer, String> createGraph();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Network.java

     * the network), you should use the non-mutating {@link Network} interface, or an {@link
     * ImmutableNetwork}.
     *
     * <p>You can create an immutable copy of an existing {@code Network} using {@link
     * ImmutableNetwork#copyOf(Network)}:
     *
     * {@snippet :
     * ImmutableNetwork<Integer, MyEdge> immutableGraph = ImmutableNetwork.copyOf(network);
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  8. android/pom.xml

              <version>4.5.0</version>
              <executions>
                <!--
                We can apparently have only one <jdk> per execution: Others are silently ignored :(
                To properly test this, you need to remove existing toolchains:
                rm -rf ~/.m2/jdks/ ~/.m2/toolchains.xml
                (But don't run that if you have put something into ~/.m2/toolchains.xml yourself.)
                -->
                <execution>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

     * usually include:
     *
     * <ul>
     *   <li>Static methods named {@code of}, accepting an explicit list of elements or entries.
     *   <li>Static methods named {@code copyOf} (or {@code copyOfSorted}), accepting an existing
     *       collection whose contents should be copied.
     *   <li>A static nested {@code Builder} class which can be used to populate a new immutable
     *       instance.
     * </ul>
     *
     * <h4>Warnings</h4>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. pom.xml

              <version>4.5.0</version>
              <executions>
                <!--
                We can apparently have only one <jdk> per execution: Others are silently ignored :(
                To properly test this, you need to remove existing toolchains:
                rm -rf ~/.m2/jdks/ ~/.m2/toolchains.xml
                (But don't run that if you have put something into ~/.m2/toolchains.xml yourself.)
                -->
                <execution>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top