Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for newMap (0.19 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. 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)
  7. 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)
  8. 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)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        applyLogger {
          addHandler(testLogHandler)
          level = Level.FINEST
          useParentHandlers = false
        }
      }
    
      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
          assertTrue(changed ? newFpp > fpp : newFpp == fpp);
          fpp = newFpp;
        }
      }
    
      @AndroidIncompatible // slow
      public void testBitSize() {
        double fpp = 0.03;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top