- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 2,582 for map (0.01 seconds)
-
guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation. * * @author George van den Driessche */ @GwtIncompatible public class MapTestSuiteBuilder<K, V>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/site-replication-metrics.go
case st.Pending: } sr.M[dID] = srs } func (sr *SRStats) get() map[string]SRMetric { epMap := globalBucketTargetSys.healthStats() sr.lock.RLock() defer sr.lock.RUnlock() m := make(map[string]SRMetric, len(sr.M)) for dID, v := range sr.M { t := newXferStats() mx := make(map[RMetricName]XferStats) if v.XferRateLrg != nil { mx[Large] = *v.XferRateLrg.Clone()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
} return result; } /** * Creates an error response map. * * @param message the error message * @return a map containing the error response data */ protected Map<String, Object> createErrorResponse(final String message) { final Map<String, Object> result = new HashMap<>(); result.put("status", "error");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
} /** Case 1: Normal merge (no duplicates) */ @Test public void test_mergeResponseData_noOverwrite() { Map<String, Object> dataMap = new HashMap<>(); dataMap.put("a", "A0"); Map<String, Object> responseDataMap = new HashMap<>(); responseDataMap.put("b", "B1"); indexUpdateCallback.mergeResponseData(dataMap, responseDataMap);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 19.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
} /** * Creates a stream of map entries from the given map. * * @param <K> the type of keys in the map * @param <V> the type of values in the map * @param map the map to create a stream from; if {@code null}, an empty stream is returned * @return a {@link StreamOf} containing the entries of the map, or an empty stream if the map is {@code null} */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java
} @Override protected Map<String, Collection<Integer>> makeEmptyMap() { Map<String, Integer> map = new HashMap<>(); return Multimaps.forMap(map).asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Map<String, Integer> map = new HashMap<>(); map.put("foo", 1); map.put("bar", 2); map.put("cow", 3); return Multimaps.forMap(map).asMap();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
* key * @throws NullPointerException if any key or value in {@code map} is null */ public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) { if (map instanceof ImmutableBiMap) { @SuppressWarnings("unchecked") // safe since map is not writable ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; // TODO(lowasser): if we need to make a copy of a BiMap because theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
assertTrue("Deserialized object should be a Map", deserialized instanceof Map); @SuppressWarnings("unchecked") Map<String, Object> deserializedMap = (Map<String, Object>) deserialized; assertEquals("Map size should match", original.size(), deserializedMap.size()); assertEquals("Map contents should match", original, deserializedMap); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/ExtensionPlugin.java
import org.opensearch.plugins.AnalysisPlugin; import org.opensearch.plugins.Plugin; public class ExtensionPlugin extends Plugin implements AnalysisPlugin { @Override public Map<String, AnalysisProvider<CharFilterFactory>> getCharFilters() { final Map<String, AnalysisProvider<CharFilterFactory>> extra = new HashMap<>(); extra.put("iteration_mark", IterationMarkCharFilterFactory::new);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Tue Jul 08 14:37:06 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 15.2K bytes - Click Count (0)