Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for getAll (0.03 sec)

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

        assertEquals(0, stats.hitCount());
    
        assertEquals(ImmutableMap.of(), cache.getAll(ImmutableList.<Integer>of()));
        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertEquals(ImmutableMap.of(1, 1), cache.getAll(asList(1)));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
    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. guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link
       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // reorder
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(2, MILLISECONDS);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // 3 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // reorder
        getAll(cache, asList(5, 7, 9));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
        }
    
        @Override
        public final V apply(K key) {
          return getUnchecked(key);
        }
    
        @Override
        public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
          Map<K, V> map = new HashMap<K, V>();
          for (K key : keys) {
            map.put(key, localCache.getOrLoad(key));
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheStats.java

     *
     * <p>A lookup is specifically defined as an invocation of one of the methods {@link
     * LoadingCache#get(Object)}, {@link LoadingCache#getUnchecked(Object)}, {@link Cache#get(Object,
     * Callable)}, or {@link LoadingCache#getAll(Iterable)}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                        }
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("smbUrl:{} roleType:{}", responseData.getUrl(), roleTypeList);
                    }
                } else if (responseData.getUrl().startsWith("smb1:")) {
                    final jcifs.smb1.smb1.SID[] allowedSids =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            /**
             * @return URL
             */
            public URL getURL() {
                return url_;
            }
    
            /**
             * @param url
             */
            public void setURL(final URL url) {
                url_ = url;
            }
    
            /**
             * @return Returns the cal.
             */
            public Calendar getCal() {
                return cal;
            }
    
            /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            super("ECL0072", asArray(getSql(cause), getRealMessage(cause), Integer.toString(cause.getErrorCode()), cause.getSQLState()), cause);
        }
    
        /**
         * Returns the <code>SQL</code>.
         *
         * @param cause the underlying exception
         * @return the <code>SQL</code>
         */
        protected static String getSql(final SQLException cause) {
            if (cause instanceof ClSQLException) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            // Test that multiple calls to getUrl() return the same value
            String url = "http://example.com/test";
            String message = "Test message";
            Exception cause = new RuntimeException("Test cause");
    
            DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause);
    
            // Call getUrl() multiple times
            assertEquals(url, exception.getUrl());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals("plugin/repo3/fess-crawler-smbj/14.14.0/fess-crawler-smbj-14.14.0.jar", list.get(0).getUrl());
            assertEquals("fess-crawler-smbj", list.get(1).getName());
            assertEquals("14.15.0", list.get(1).getVersion());
            assertEquals("plugin/repo3/fess-crawler-smbj/14.15.0/fess-crawler-smbj-14.15.0.jar", list.get(1).getUrl());
        }
    
        public void test_getArtifactFromFileName1() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top