Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 3,818 for Avoid (0.09 sec)

  1. guava/src/com/google/common/collect/Maps.java

            }
    
            @Override
            public void forEach(Consumer<? super Entry<K, V>> action) {
              forEachEntry(action);
            }
          };
        }
    
        void forEachEntry(Consumer<? super Entry<K, V>> action) {
          entryIterator().forEachRemaining(action);
        }
    
        @Override
        public void clear() {
          Iterators.clear(entryIterator());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

      /**
       * Returns a successful {@code ListenableFuture<Void>}. This method is equivalent to {@code
       * immediateFuture(null)} except that it is restricted to produce futures of type {@code Void}.
       *
       * @since 29.0
       */
      @SuppressWarnings("unchecked")
      public static ListenableFuture<@Nullable Void> immediateVoidFuture() {
        return (ListenableFuture<@Nullable Void>) ImmediateFuture.NULL;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

            }
          } else if (!isMultiplexed || e is ConnectionShutdownException) {
            noNewExchangesEvent = !noNewExchanges
            noNewExchanges = true
    
            // If this route hasn't completed a call, avoid it for new connections.
            if (successCount == 0) {
              if (e != null) {
                connectFailed(call.client, route, e)
              }
              routeFailureCount++
            }
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        public V remove(@CheckForNull Object key) {
          return filteredDelegate.remove(key);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> m) {
          filteredDelegate.putAll(m);
        }
    
        @Override
        public void clear() {
          filteredDelegate.clear();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      }
    
      public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception {
        final SettableFuture<@Nullable Void> settableFuture = SettableFuture.create();
        ListenableFuture<@Nullable Void> unused =
            serializer.submitAsync(
                new AsyncCallable<@Nullable Void>() {
                  @Override
                  public ListenableFuture<@Nullable Void> call() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      /**
       * Starts the server on the loopback interface for the given port.
       *
       * @param port the port to listen to, or 0 for any available port. Automated tests should always
       * use port 0 to avoid flakiness when a specific port is unavailable.
       */
      @Throws(IOException::class)
      @JvmOverloads
      fun start(port: Int = 0) = start(InetAddress.getByName("localhost"), port)
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

      }
    
      public void testCount_elementAbsent() {
        when(backingMap.get(KEY)).thenReturn(null);
    
        assertEquals(0, multiset.count(KEY));
      }
    
      public void testAdd_zero() {
        final int INITIAL_COUNT = 32;
    
        when(backingMap.get(KEY)).thenReturn(new AtomicInteger(INITIAL_COUNT));
        assertEquals(INITIAL_COUNT, multiset.add(KEY, 0));
      }
    
      public void testAdd_firstFewWithSuccess() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. CHANGELOG.md

     *  Fix: Don't hang when the public suffix database cannot be loaded. We had a bug where a failure
        reading the public suffix database would cause subsequent reads to hang when they should have
        crashed.
    
     *  Fix: Avoid `InetAddress.getCanonicalHostName()` in MockWebServer. This avoids problems if the
        host machine's IP address has additional DNS registrations.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       * filters are appropriately sized to avoid saturating them.
       *
       * @param that The Bloom filter to combine this Bloom filter with. It is not mutated.
       * @throws IllegalArgumentException if {@code isCompatible(that) == false}
       * @since 15.0
       */
      public void putAll(BloomFilter<T> that) {
        checkNotNull(that);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top