Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,873 for xmap (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        }
    
        public void test_updateDocument_emptyDoc() {
            Map<String, Object> doc = new HashMap<>();
    
            languageHelper.updateDocument(doc);
    
            // Should not add any language fields
            assertNull(doc.get("lang"));
            assertEquals(0, doc.size());
        }
    
        public void test_updateDocument_skipExistingLangFields() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("lang", "ja");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

    import java.util.Collection;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of ImmutableMultiset backed by a JDK Map and a list of entries. Used to protect
     * against hash flooding attacks.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class JdkBackedImmutableMultiset<E> extends ImmutableMultiset<E> {
      private final Map<E, Integer> delegateMap;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. cmd/metacache-bucket.go

    }
    
    // cloneCaches will return a clone of all current caches.
    func (b *bucketMetacache) cloneCaches() (map[string]metacache, map[string][]string) {
    	b.mu.RLock()
    	defer b.mu.RUnlock()
    	dst := make(map[string]metacache, len(b.caches))
    	maps.Copy(dst, b.caches)
    	// Copy indexes
    	dst2 := make(map[string][]string, len(b.cachesRoot))
    	for k, v := range b.cachesRoot {
    		tmp := make([]string, len(v))
    		copy(tmp, v)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        try {
          assertEmpty(map);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertEqualInOrder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        try {
          assertEmpty(map);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertEqualInOrder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractTable.java

      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

        assertThrows(NullPointerException.class, () -> getMap().putAll(null));
      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java

        public String getLogMessage() {
            return getSearchWord();
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = super.toSource();
            if (fields != null) {
                sourceMap.putAll(fields);
            }
            final Map<String, List<String>> searchFieldMap = searchFieldLogList.stream()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Primitives.java

      @SuppressWarnings("ConstantCaseForConstants")
      private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE;
    
      /** A map from wrapper types to their corresponding primitive types. */
      // It's a constant, and we can't use ImmutableMap here without creating a circular dependency.
      @SuppressWarnings("ConstantCaseForConstants")
      private static final Map<Class<?>, Class<?>> WRAPPER_TO_PRIMITIVE_TYPE;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         * The cache is implemented as an LRU map to limit memory usage.
         *
         * @param session the HTTP session
         * @return the result document IDs cache map
         */
        private Map<String, String[]> getResultDocIdsCache(final HttpSession session) {
            @SuppressWarnings("unchecked")
            Map<String, String[]> resultDocIdsCache = (Map<String, String[]>) session.getAttribute(Constants.RESULT_DOC_ID_CACHE);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top