Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 694 for key4 (0.01 sec)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

              .addEqualityGroup(cache.asMap().keySet(), keys)
              .addEqualityGroup(ImmutableSet.of())
              .testEquals();
          assertEquals(WARMUP_SIZE, keys.size());
          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Object key = warmed.get(i - WARMUP_MIN).getKey();
            assertTrue(keys.contains(key));
            assertTrue(keys.remove(key));
            assertFalse(keys.remove(key));
            assertFalse(keys.contains(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

        private final ImmutableList<String> keys;
        private final Random random = new Random();
    
        private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) {
          this.multiset = multiset;
          this.keys = keys;
        }
    
        @Override
        public int[] call() throws Exception {
          int iterations = 100000;
          int nKeys = keys.size();
          int[] deltas = new int[nKeys];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashMap.java

        int[] entries = requireEntries();
        @Nullable Object[] keys = requireKeys();
        @Nullable Object[] values = requireValues();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object key = keys[srcIndex];
          keys[dstIndex] = key;
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = null;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @SuppressWarnings("unchecked")
        final Object legacyReadResolve() {
          K[] keys = (K[]) this.keys;
          V[] values = (V[]) this.values;
    
          Builder<K, V> builder = makeBuilder(keys.length);
    
          for (int i = 0; i < keys.length; i++) {
            builder.put(keys[i], values[i]);
          }
          return builder.buildOrThrow();
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest result = request.param("key1", "value1").param("key2", "value2");
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testParamWithNullValue() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.param("key", null);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      Multiset<K> createKeys() {
        return new Keys();
      }
    
      @WeakOuter
      final class Keys extends Multimaps.Keys<K, V> {
        Keys() {
          super(FilteredEntryMultimap.this);
        }
    
        @Override
        public int remove(@Nullable Object key, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(key);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Cache.java

      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimap.java

       *     multimap already contained the key-value pair and doesn't allow duplicates
       */
      @CanIgnoreReturnValue
      boolean put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
       * Removes a single key-value pair with the key {@code key} and the value {@code value} from this
       * multimap, if such exists. If multiple key-value pairs in the multimap fit this description,
       * which one is removed is unspecified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeBasedTable.java

          }
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return rangeContains(key) && super.containsKey(key);
        }
    
        @Override
        public @Nullable V put(C key, V value) {
          checkArgument(rangeContains(checkNotNull(key)));
          return super.put(key, value);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MultimapBuilder.java

      }
    
      /**
       * Uses a hash table to map keys to value collections.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in the order that they were first added to the
       * multimap, save that if all values associated with a key are removed and then the key is added
       * back into the multimap, that key will come last in the key iteration order.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top