Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 381 for getWhy (0.08 sec)

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

        for (RemovalNotification<String, String> notification : listener) {
          removalNotifications.put(notification.getKey(), notification.getValue());
          assertEquals(
              "Unexpected key/value pair passed to removalListener",
              notification.getKey(),
              notification.getValue());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            statsCache.asMap().entrySet().stream().forEach(e -> {
                final StatsObject data = e.getValue();
                final Long begin = data.remove(BEGIN_KEY);
                if (begin != null) {
                    printStats(e.getKey(), data, begin, false);
                }
            });
    
        }
    
        public void begin(final Object keyObj) {
            getCacheKey(keyObj).ifPresent(key -> {
                try {
                    statsCache.get(key);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableEnumMap.java

        switch (map.size()) {
          case 0:
            return ImmutableMap.of();
          case 1:
            Entry<K, V> entry = getOnlyElement(map.entrySet());
            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            return new ImmutableEnumMap<>(map);
        }
      }
    
      private final transient EnumMap<K, V> delegate;
    
      private ImmutableEnumMap(EnumMap<K, V> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                target = userAgent;
            }
    
            int maxUaLength = -1;
            Directive matchedDirective = null;
            for (final Map.Entry<Pattern, Directive> entry : directiveMap.entrySet()) {
                if (entry.getKey().matcher(target).find()) {
                    final Directive directive = entry.getValue();
                    final String ua = directive.getUserAgent();
                    int uaLength = 0;
                    if (!ALL_BOTS.equals(ua)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

            return packages;
        }
    
        /**
         * The key that can must used to identify the configuration using the
         * {@link javax.inject.Named} annotation.
         */
        public String getKey() {
            return key;
        }
    
        /**
         * Returns the configuration for this extension.
         */
        public XmlNode getConfiguration() {
            return configuration;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/MemoryUtil.java

                return size;
            }
            if (obj instanceof Map<?, ?>) {
                long size = 0;
                for (final Map.Entry<?, ?> entry : ((Map<?, ?>) obj).entrySet()) {
                    size += sizeOf(entry.getKey());
                    size += sizeOf(entry.getValue());
                }
                return size;
            }
            return 16L;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java

        }
    
        @Override
        public void putAll(final Map<? extends String, ? extends V> map) {
            for (final Map.Entry<? extends String, ? extends V> entry : map.entrySet()) {
                put(convertKey(entry.getKey()), entry.getValue());
            }
        }
    
        @Override
        public final V remove(final Object key) {
            return super.remove(convertKey(key));
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

        protected int maxClientFactorySize = 10000;
    
        public synchronized void register(final CrawlerClientFactory crawlerClientFactory) {
            clientMap.entrySet().stream().forEach(e -> load(crawlerClientFactory, e.getKey(), e.getValue()));
            clientFactoryList.add(crawlerClientFactory);
            if (clientFactoryList.size() > maxClientFactorySize) {
                clientFactoryList.remove(0);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

            "Should not contain null after unsupported putIfAbsent(present, null)");
      }
    
      @CanIgnoreReturnValue
      private V putIfAbsent(Entry<K, V> entry) {
        return getMap().putIfAbsent(entry.getKey(), entry.getValue());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/ReferenceEntry.java

      /** Returns the next entry in the chain. */
      @CheckForNull
      ReferenceEntry<K, V> getNext();
    
      /** Returns the entry's hash. */
      int getHash();
    
      /** Returns the key for this entry. */
      @CheckForNull
      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
Back to top