Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Key (0.02 sec)

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

        assertEquals(0, stats.hitCount());
    
        Object key = new Object();
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(1, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        key = new Object();
        assertSame(key, cache.getUnchecked(key));
        stats = cache.stats();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

        @SuppressWarnings("unchecked")
        @Override
        public @Nullable Collection<V> get(@Nullable Object key) {
          return containsKey(key) ? multimap.get((K) key) : null;
        }
    
        @Override
        public @Nullable Collection<V> remove(@Nullable Object key) {
          return containsKey(key) ? multimap.removeAll(key) : null;
        }
    
        @Override
        public Set<K> keySet() {
          return multimap.keySet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multimaps.java

        @SuppressWarnings("unchecked")
        @Override
        public @Nullable Collection<V> get(@Nullable Object key) {
          return containsKey(key) ? multimap.get((K) key) : null;
        }
    
        @Override
        public @Nullable Collection<V> remove(@Nullable Object key) {
          return containsKey(key) ? multimap.removeAll(key) : null;
        }
    
        @Override
        public Set<K> keySet() {
          return multimap.keySet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).getEntry(key, hash);
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String getSystemProperty(final String key) {
            return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key));
        }
    
        default String getSystemProperty(final String key, final String defaultValue) {
            return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key, defaultValue));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * </p>
         *
         * @param <K> the key type of {@link HashMap}
         * @param <V> the value type of {@link HashMap}
         * @param map the map
         * @param key the key with which the specified value is to be associated
         * @param value the value to be associated with the specified key
         * @return the previous value associated with the specified key, or the specified value if the key was not present
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

    ```
    KEY:
    notify_redis[:name]  publish bucket notifications to Redis datastores
    
    ARGS:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
        }
    
        /**
         * Escapes a JSON key-value pair.
         * @param key The key.
         * @param value The value.
         * @return The escaped key-value pair.
         */
        protected String escapeJsonKeyValue(final String key, final String value) {
            return "\"" + key + "\":" + escapeJson(value);
        }
    
        /**
         * Writes a JSON response.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * {@snippet :
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
     *           public Graph load(Key key) throws AnyException {
     *             return createExpensiveGraph(key);
     *           }
     *         });
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        var key = ""
        assertFailsWith<IllegalArgumentException> {
          key = "has_space "
          cache.edit(key)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"")
        }
        assertFailsWith<IllegalArgumentException> {
          key = "has_CR\r"
          cache.edit(key)
        }.also { expected ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
Back to top