Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,599 for removal (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            recurse(level + 1);
          }
        }
      }
    
      private void compareResultsForThisListOfStimuli() {
        int removes = frequency(asList(stimuli), remove);
        if ((!features.contains(IteratorFeature.SUPPORTS_REMOVE) && removes > 1)
            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        map.remove("a");
        assertFalse(underlying.containsKey("a"));
    
        Set<String> keys = map.keySet();
        keys.remove("b");
        assertFalse(underlying.containsKey("b"));
    
        Iterator<String> keyIterator = keys.iterator();
        keyIterator.next();
        keyIterator.remove();
        assertFalse(underlying.containsKey("c"));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          },
        )
      }
    
      /**
       * Holding the lock of the connection being added or removed when mutating this, and check its
       * [RealConnection.noNewExchanges] property. This defends against races where a connection is
       * simultaneously adopted and removed.
       */
      private val connections = ConcurrentLinkedQueue<RealConnection>()
    
      init {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractBiMap.java

          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
          inverse.delegate.remove(entry.getValue());
          /*
           * Remove the mapping in inverse before removing from esDelegate because
           * if entry is part of esDelegate, entry might be invalidated after the
           * mapping is removed from esDelegate.
           */
          esDelegate.remove(entry);
          return true;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. docs/security/tls_configuration_history.md

     * TLS_RSA_WITH_AES_128_CBC_SHA[²][http2_naughty]
     * TLS_RSA_WITH_AES_256_CBC_SHA[²][http2_naughty]
     * TLS_RSA_WITH_3DES_EDE_CBC_SHA[²][http2_naughty]
     * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_128_CBC_SHA~~
     * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_128_GCM_SHA256~~
     * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_256_CBC_SHA~~
    
    [OkHttp 3.0][OkHttp30]
    ----------------------
    
    _2016-01-13_
    
    ##### MODERN_TLS / COMPATIBLE_TLS cipher suites
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return asMap().get(key) != null;
      }
    
      @Override
      public Collection<V> removeAll(@CheckForNull Object key) {
        return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection());
      }
    
      Collection<V> unmodifiableEmptyCollection() {
        // These return false, rather than throwing a UOE, on remove calls.
        return (unfiltered instanceof SetMultimap)
            ? Collections.<V>emptySet()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *
       * @param o element to be removed from this queue, if present
       * @return {@code true} if this queue changed as a result of the call
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public boolean remove(@Nullable Object o) {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.remove(o);
        } finally {
          monitor.leave();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    			if len(*lri) == 1 {
    				// Remove the write lock.
    				delete(l.lockMap, name)
    			} else {
    				// Remove the appropriate read lock.
    				*lri = append((*lri)[:index], (*lri)[index+1:]...)
    				l.lockMap[name] = *lri
    			}
    			delete(l.lockUID, formatUUID(args.UID, entry.idx))
    			return true
    		}
    	}
    
    	// None found return false, perhaps entry removed in previous run.
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

          if (currentSubscribers == null || !currentSubscribers.removeAll(listenerMethodsForType)) {
            // if removeAll returns true, all we really know is that at least one subscriber was
            // removed... however, barring something very strange we can assume that if at least one
            // subscriber was removed, all subscribers on listener for that event type were... after
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals("old count", originalCount, getMultiset().remove(e0(), 0));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_present() {
        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top