- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 642 for Entries (0.48 sec)
-
guava/src/com/google/common/collect/RegularImmutableMap.java
} /** * Constructs a new entry array where each duplicated key from the original appears only once, at * its first position but with its final value. The {@code duplicates} map is modified. * * @param entries the original array of entries including duplicates * @param n the number of valid entries in {@code entries} * @param newN the expected number of entries once duplicates are removed
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map @CanIgnoreReturnValue private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) { for (Entry<T, String> entry : entries) { map.put(entry.getKey(), entry.getValue());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 21.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map @CanIgnoreReturnValue private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) { for (Entry<T, String> entry : entries) { map.put(entry.getKey(), entry.getValue());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 17.2K bytes - Viewed (0) -
cmd/data-usage-cache.go
// dataUsageCacheV2 contains a cache of data usage entries version 2. type dataUsageCacheV2 struct { Info dataUsageCacheInfo Cache map[string]dataUsageEntryV2 } // dataUsageCacheV3 contains a cache of data usage entries version 3. type dataUsageCacheV3 struct { Info dataUsageCacheInfo Cache map[string]dataUsageEntryV3 } // dataUsageCacheV4 contains a cache of data usage entries version 4. type dataUsageCacheV4 struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
+ " even if some keys are null.", getMap().equals(newHashMap(entries))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherContainsNullKey() { Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); entries.add(entry(null, v3())); Map<K, V> other = newHashMap(entries); assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/os-readdir_test.go
entries = append(entries, name2) } if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil { t.Fatalf("Unable to create \"mydir\", %s", err) } entries = append(entries, "mydir/") // Keep entries sorted for easier comparison. sort.Strings(entries) // Add entries slice for this test directory. testResults = append(testResults, result{dir, entries}) return testResults }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
} private Entry<K, V>[] getEntriesMultipleNullKeys() { Entry<K, V>[] entries = createArrayWithNullKey(); entries[0] = entry(null, entries[0].getValue()); return entries; } private Entry<K, V>[] getEntriesMultipleNonNullKeys() { Entry<K, V>[] entries = createSamplesArray(); entries[0] = entry(k1(), v0()); return entries; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
sort(entries, sortedMultiset.comparator()); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0))); if (entries.size() >= 3) { b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1))); c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2))); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
cmd/metacache-stream_test.go
entries, err = r.readN(0, false, false, false, "") if err != nil { t.Fatal(err, entries.len()) } if entries.len() != len(want) { t.Fatal("unexpected length:", entries.len(), "want:", len(want)) } entries, err = r.readN(5, false, false, false, "") if err != nil { t.Fatal(err, entries.len()) } want = noDirs[:5] if entries.len() != len(want) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
entry.getKey(), getMap().inverse().get(entry.getValue())); } } @Override protected void expectMissing(Entry<K, V>... entries) { super.expectMissing(entries); for (Entry<K, V> entry : entries) { Entry<V, K> reversed = reverseEntry(entry); BiMap<V, K> inv = getMap().inverse(); assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0)