Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for newMap (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerWeakKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerWeakKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertTrue(map.remove(one, one));
        assertEquals(0, map.size());
    
        cache.getUnchecked(one);
        Map<Object, Object> newMap = ImmutableMap.of(one, one);
        assertEquals(newMap, map);
        assertEquals(newMap.entrySet(), map.entrySet());
        assertEquals(newMap.keySet(), map.keySet());
        Set<Object> expectedValues = ImmutableSet.of(one);
        Set<Object> actualValues = ImmutableSet.copyOf(map.values());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertTrue(map.remove(one, one));
        assertEquals(0, map.size());
    
        cache.getUnchecked(one);
        Map<Object, Object> newMap = ImmutableMap.of(one, one);
        assertEquals(newMap, map);
        assertEquals(newMap.entrySet(), map.entrySet());
        assertEquals(newMap.keySet(), map.keySet());
        Set<Object> expectedValues = ImmutableSet.of(one);
        Set<Object> actualValues = ImmutableSet.copyOf(map.values());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        val state = AddressState(address, taskRunner.newQueue(), policy)
        val newConnectionsNeeded: Int
    
        while (true) {
          val oldMap = this.addressStates
          val newMap = oldMap + (address to state)
          if (addressStatesUpdater.compareAndSet(this, oldMap, newMap)) {
            val oldPolicyMinimumConcurrentCalls = oldMap[address]?.policy?.minimumConcurrentCalls ?: 0
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object six = new Object();
    
        map.put(one, two);
        map.put(one, three);
        assertNotified(listener, one, two, RemovalCause.REPLACED);
    
        Map<Object, Object> newMap = ImmutableMap.of(one, four);
        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object six = new Object();
    
        map.put(one, two);
        map.put(one, three);
        assertNotified(listener, one, two, RemovalCause.REPLACED);
    
        Map<Object, Object> newMap = ImmutableMap.of(one, four);
        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  8. api/go1.5.txt

    pkg go/types, func NewFunc(token.Pos, *Package, string, *Signature) *Func
    pkg go/types, func NewInterface([]*Func, []*Named) *Interface
    pkg go/types, func NewLabel(token.Pos, *Package, string) *Label
    pkg go/types, func NewMap(Type, Type) *Map
    pkg go/types, func NewMethodSet(Type) *MethodSet
    pkg go/types, func NewNamed(*TypeName, Type, []*Func) *Named
    pkg go/types, func NewPackage(string, string) *Package
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeMultiset.java

            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeMultiset.java

            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top