- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,599 for map (0.01 seconds)
-
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
*/ private transient Map<K, Collection<V>> map; private transient int totalSize; /** * Creates a new multimap that uses the provided map. * * @param map place to store the mapping from each key to its corresponding values * @throws IllegalArgumentException if {@code map} is not empty */ protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) { checkArgument(map.isEmpty());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
MapsImplEnum mapsImpl; /** * A map of contents pre-created before experiment starts to only measure map creation cost. The * implementation for the creation of contents is independent and could be different from that of * the map under test. */ Map<Element, Element> contents; /** Map pre-created before experiment starts to only measure iteration cost during experiment. */ Map<Element, Element> map;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.4K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
checks = errorproneExtension.disabledChecks.map { it.associateWith { CheckSeverity.OFF } } nullaway { checkContracts = true isJSpecifyMode = true severity = errorproneExtension.nullawayEnabled.map { if (it) CheckSeverity.ERROR else CheckSeverity.OFF } } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 01 11:57:43 GMT 2025 - 9.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Table.java
* putAll()}. * * @return a map view from each row key to a secondary map from column keys to values */ Map<R, Map<C, V>> rowMap(); /** * Returns a view that associates each column key with the corresponding map from row keys to * values. Changes to the returned map will update this table. The returned map does not support
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
ImmutableList<Cell<R, C, V>> cellList, ImmutableSet<R> rowSpace, ImmutableSet<C> columnSpace) { Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); Map<R, Map<C, V>> rows = new LinkedHashMap<>(); for (R row : rowSpace) { rows.put(row, new LinkedHashMap<C, V>()); } Map<C, Map<R, V>> columns = new LinkedHashMap<>(); for (C col : columnSpace) { columns.put(col, new LinkedHashMap<R, V>());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (1) -
guava/src/com/google/common/collect/ForwardingMap.java
} /** * A sensible definition of {@link #putAll(Map)} in terms of {@link #put(Object, Object)}. If you * override {@link #put(Object, Object)}, you may wish to override {@link #putAll(Map)} to forward * to this implementation. * * @since 7.0 */ protected void standardPutAll(Map<? extends K, ? extends V> map) { Maps.putAllImpl(this, map); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3K bytes - Click Count (0) -
tests/create_test.go
} // case 1: one record, create from map[string]interface{} mapValue1 := map[string]interface{}{"name": "create_from_map_with_schema1", "age": 1} if err := DB.Model(&User{}).Create(mapValue1).Error; err != nil { t.Fatalf("failed to create data from map, got error: %v", err) } if _, ok := mapValue1["id"]; !ok { t.Fatal("failed to create data from map with table, returning map has no primary key") }Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
@TempDir File testDir ViolationCheckContext context = new ViolationCheckContext() { Map userData = [seenApiChanges: [] as Set] String getClassName() { return null } Map<String, ?> getUserData() { return userData } Object getUserData(String key) { return userData[key] }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
private final ClassLoader parentRealm; private final Map<String, ClassLoader> foreignImports; private final DependencyFilter filter; private final int hashCode; public CacheKey( Plugin plugin, ClassLoader parentRealm, Map<String, ClassLoader> foreignImports, DependencyFilter dependencyFilter,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.5K bytes - Click Count (0)