- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,956 for mmap (0.04 sec)
-
guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
NavigableMap<String, Integer> map = new SafeTreeMap<>(); map.put("one", 1); map.put("two", 2); map.put("three", 3); return SerializableTester.reserialize(map); } @Override protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException { NavigableMap<String, Integer> map = new SafeTreeMap<>(); return SerializableTester.reserialize(map); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
} @LazyInit @CheckForNull private transient ColumnMap columnMap; @Override public Map<C, Map<R, @Nullable V>> columnMap() { ColumnMap map = columnMap; return (map == null) ? columnMap = new ColumnMap() : map; } @WeakOuter private class ColumnMap extends ArrayMap<C, Map<R, @Nullable V>> { private ColumnMap() { super(columnKeyToIndex); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
map.put("bar", 1); map.put("foo", 2); map.put("bar", 3); map.put("bar", 4); assertEquals("[1, 2, 3, 4]", map.values().toString()); map.values().remove(2); assertEquals("{bar=[1, 3, 4]}", map.toString()); } public void testLinkedEntries() { Multimap<String, Integer> map = create(); map.put("bar", 1); map.put("foo", 2); map.put("bar", 3);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.fess.unit.UnitFessTestCase; public class DocumentUtilTest extends UnitFessTestCase { public void test_string() { Map<String, Object> doc = new HashMap<>(); String expected = "1"; doc.put("key1", expected);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
// Hack around K not being a subtype of Comparable. // Unsafe, see ImmutableSortedSetFauxverideShim. @SuppressWarnings("unchecked") Ordering<K> naturalOrder = (Ordering<K>) NATURAL_ORDER; return copyOfInternal(map, naturalOrder); } /** * Returns an immutable map containing the same entries as {@code map}, with keys sorted by the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
clause/clause_test.go
var ( buildNames []string buildNamesMap = map[string]bool{} user, _ = schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy) stmt = gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}} ) for _, c := range clauses { if _, ok := buildNamesMap[c.Name()]; !ok {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Jun 02 02:50:38 UTC 2020 - 1012 bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_test.go
type fields struct { activeBuckets map[BucketOptions]*bucketMeasurement endTime time.Time update2 uint64 endTime2 time.Time } start := time.Now() m0 := newBucketMeasurement(start) m0.incrementBytes(0) m1MiBPS := newBucketMeasurement(start) m1MiBPS.incrementBytes(oneMiB) test1Want := make(map[BucketOptions]Details)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
this.delegates = delegates; Map<String, ClassLoader> foreignImports = exports.getExportedPackages(); this.mavenApiRealm = createRealm( API_REALMID, RealmType.Core, null /* parent */, null /* parentImports */, foreignImports, null /* artifacts */); Map<String, ClassLoader> apiV4Imports = new HashMap<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
} public void testCreateFromMap() { /* Test with non-empty Map. */ Map<Currency, String> map = ImmutableMap.of( Currency.DOLLAR, "dollar", Currency.PESO, "peso", Currency.FRANC, "franc"); EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); assertEquals("dollar", bimap.get(Currency.DOLLAR));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
final ConcurrentMap<?, ?> map; AbstractCacheSet(ConcurrentMap<?, ?> map) { this.map = map; } @Override public int size() { return map.size(); } @Override public boolean isEmpty() { return map.isEmpty(); } @Override public void clear() { map.clear(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 21.6K bytes - Viewed (0)