Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for getAll (0.83 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. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    && isValidCanonicalUrl(responseData.getUrl(), canonicalUrl)) {
                final Set<RequestData> childUrlSet = new HashSet<>();
                childUrlSet.add(RequestDataBuilder.newRequestData().get().url(canonicalUrl).build());
                logger.info("CANONICAL: {} -> {}", responseData.getUrl(), canonicalUrl);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

            return getCell(index);
          }
        };
      }
    
      @Override
      Spliterator<Cell<R, C, @Nullable V>> cellSpliterator() {
        return CollectSpliterators.<Cell<R, C, @Nullable V>>indexed(
            size(), Spliterator.ORDERED | Spliterator.NONNULL | Spliterator.DISTINCT, this::getCell);
      }
    
      private Cell<R, C, @Nullable V> getCell(int index) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                        }
                        break;
                    default:
                        logger.error("Unknown thumbnail result: {} -> {}", thumbnailId, responseData.getUrl());
                        break;
                    }
                } catch (final Throwable t) {
                    logger.warn("Failed to create thumbnail: {} -> {} ({}:{})", thumbnailId, responseData.getUrl(),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        appendJson("user-info-id", entity.getUserInfoId(), buf).append(',');
                        appendJson("doc-id", entity.getDocId(), buf).append(',');
                        appendJson("url", entity.getUrl(), buf);
                        buf.append('}');
                        buf.append('\n');
                        try {
                            writer.write(buf.toString());
                        } catch (final IOException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        if (logger.isDebugEnabled()) {
                            logger.debug("Skipping crawl request for url='{}' at depth={} (maxDepth={}, alreadyProcessed={})",
                                    crawlRequest.getUrl(), crawlRequest.getDepth(), maxDepth, processedUrls.contains(crawlRequest.getUrl()));
                        }
                        continue;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                        }
                    }
    
                });
            } catch (final Exception e) {
                final CrawlingAccessException rcae = new CrawlingAccessException("Could not get a text from " + responseData.getUrl(), e);
                rcae.setLogLevel(CrawlingAccessException.WARN);
                throw rcae;
            }
            if (content == null) {
                content = StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top