- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 422 for entries (0.19 sec)
-
cmd/metacache-entries.go
// Reusable slice for resolution candidates [][]xlMetaV2ShallowVersion } // resolve multiple entries. // entries are resolved by majority, then if tied by mod-time and versions. // Names must match on all entries in m. func (m metaCacheEntries) resolve(r *metadataResolutionParams) (selected *metaCacheEntry, ok bool) { if len(m) == 0 { return nil, false }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 19 16:43:43 GMT 2024 - 23.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
} // looking for of() with > 10 entries? Use the builder or ofEntries instead. /** * Returns an immutable map containing the given entries, in order. * * @throws IllegalArgumentException if duplicate keys or values are provided * @since 31.0 */ @SafeVarargs public static <K, V> ImmutableBiMap<K, V> ofEntries(Entry<? extends K, ? extends V>... entries) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.4K bytes - Viewed (0) -
cmd/metacache-set.go
pr.CloseWithError(err) tmp.Close() entries.o = append(entries.o, e.o...) if o.Limit > 0 && entries.len() > o.Limit { entries.truncate(o.Limit) return entries, nil } if err == nil { // We stopped within the listing, we are done for now... return entries, nil } if err != nil && !errors.Is(err, io.EOF) { switch toObjectErr(err, minioMetaBucket, o.objectPath(partN)).(type) {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 26 19:52:52 GMT 2024 - 30.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
Builder(int initialCapacity) { this.entries = new @Nullable Entry[initialCapacity]; this.size = 0; this.entriesUsed = false; } private void ensureCapacity(int minCapacity) { if (minCapacity > entries.length) { entries = Arrays.copyOf( entries, ImmutableCollection.Builder.expandedCapacity(entries.length, minCapacity)); entriesUsed = false;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 44.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
List<Entry<K, V>> entries = Helpers.copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator())); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsCollectionTest.java
protected Map<String, String> create(Entry<String, String>[] entries) { Map<String, String> map = Maps.newHashMap(); putEntries(map, entries); map.putAll(ENTRIES_TO_FILTER); map = Maps.filterEntries(map, FILTER_ENTRIES_1); return Maps.filterEntries(map, FILTER_ENTRIES_2); } })
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 32.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
private static Map<String, String> toHashMap(Entry<String, String>[] entries) { return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map 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()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1))); c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2))); } } } /** Resets the contents of sortedMultiset to have entries a, c, for the navigation tests. */ // Needed to stop Eclipse whining private void resetWithHole() { List<E> container = new ArrayList<>();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 25.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
private static Map<String, String> toHashMap(Entry<String, String>[] entries) { return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map 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()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 17K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator())); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { b = entries.get(1); c = entries.get(2); } } } /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.9K bytes - Viewed (0)