- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 827 for entryOf (0.07 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
"map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString()); } private String expectedToString(Set<Entry<K, V>> entries) { Map<K, V> reference = new LinkedHashMap<>(); for (Entry<K, V> entry : entries) { reference.put(entry.getKey(), entry.getValue()); } return reference.toString(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException { stream.writeInt(multimap.asMap().size()); for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) { stream.writeObject(entry.getKey()); stream.writeInt(entry.getValue().size()); for (V value : entry.getValue()) { stream.writeObject(value); } } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* either of these would recurse back to us again! */ private List<E> snapshot() { List<E> list = newArrayListWithExpectedSize(size()); for (Multiset.Entry<E> entry : entrySet()) { E element = entry.getElement(); for (int i = entry.getCount(); i > 0; i--) { list.add(element); } } return list; } // Modification Operations /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
cmd/data-usage-cache.go
return } // Check for abandoned entries. found := make(map[string]struct{}, len(d.Cache)) // Mark all children recursively var mark func(entry dataUsageEntry) mark = func(entry dataUsageEntry) { for k := range entry.Children { found[k] = struct{}{} if ch, ok := d.Cache[k]; ok { mark(ch) } } } found[top] = struct{}{} mark(*topE)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 34.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
throw new UnsupportedOperationException(); } /** @since 12.0 */ @Override public void putAll(Map<? extends K, ? extends V> m) { for (Entry<? extends K, ? extends V> entry : m.entrySet()) { put(entry.getKey(), entry.getValue()); } } @Override public void cleanUp() {} @Override public long size() { throw new UnsupportedOperationException(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
return values().asList().get(index + 1); }); List<Entry<K, V>> expectedEntries = new ArrayList<>(); for (Entry<K, V> entry : getSampleEntries()) { int index = keys().asList().indexOf(entry.getKey()); expectedEntries.add(Helpers.mapEntry(entry.getKey(), values().asList().get(index + 1))); } expectContents(expectedEntries); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
args: strings.Split("entry configure --name foo -o temp --clusterID cid", " "), expectedException: true, expectedOutput: "Error: expecting a WorkloadGroup artifact file or the name and namespace of an existing WorkloadGroup\n", }, { description: "Invalid command args - missing valid input spec", args: strings.Split("entry configure -n bar -o temp --clusterID cid", " "),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0) -
cmd/peer-s3-server.go
// Initialize sync waitgroup. g := errgroup.WithNErrs(len(localDrives)) // Disk states slices beforeState := make([]string, len(localDrives)) afterState := make([]string, len(localDrives)) // Make a volume entry on all underlying storage disks. for index := range localDrives { index := index g.Go(func() (serr error) { if localDrives[index] == nil { beforeState[index] = madmin.DriveStateOffline
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
*/ private int getPredecessor(int entry) { return ((int) (link(entry) >>> 32)) - 1; } @Override int getSuccessor(int entry) { return ((int) link(entry)) - 1; } private void setSuccessor(int entry, int succ) { long succMask = (~0L) >>> 32; setLink(entry, (link(entry) & ~succMask) | ((succ + 1) & succMask)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 8.5K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
} public static <K, T extends Map<K, Artifact>> T copyArtifacts(Map<K, ? extends Artifact> from, T to) { if (from != null) { for (Map.Entry<K, ? extends Artifact> entry : from.entrySet()) { to.put(entry.getKey(), ArtifactUtils.copyArtifact(entry.getValue())); } } return to; } private static <T> List<T> copyList(List<T> original) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0)