- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 769 for Keys (0.16 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutPresentKeyPropagatesToGet() { List<K> keys = Helpers.copyToList(multimap().keySet()); for (K key : keys) { resetContainer(); int size = getNumElements(); Collection<V> collection = multimap().get(key);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
this.keys = new @Nullable Object[initialCapacity]; this.values = new @Nullable Object[initialCapacity]; } private void ensureCapacity(int minCapacity) { if (minCapacity > keys.length) { int newCapacity = ImmutableCollection.Builder.expandedCapacity(keys.length, minCapacity); this.keys = Arrays.copyOf(keys, newCapacity);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
map.put(element, element); } return map; } }, UnmodHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.unmodifiableMap(Hash.create(keys)); } }, SyncHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.synchronizedMap(Hash.create(keys)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
map.put(element, element); } return map; } }, UnmodHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.unmodifiableMap(Hash.create(keys)); } }, SyncHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.synchronizedMap(Hash.create(keys)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0) -
cmd/api-resources.go
func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType string, errCode APIErrorCode) { errCode = ErrNone if values.Get("max-keys") != "" { var err error if maxkeys, err = strconv.Atoi(values.Get("max-keys")); err != nil { errCode = ErrInvalidMaxKeys return } } else { maxkeys = maxObjectList } prefix = values.Get("prefix") marker = values.Get("marker")
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Jun 07 18:25:26 GMT 2023 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
.withFeatures( MapFeature.GENERAL_PURPOSE, MapFeature.ALLOWS_NULL_KEYS, MapFeature.ALLOWS_NULL_VALUES, MapFeature.ALLOWS_ANY_NULL_QUERIES, MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION, MapFeature.RESTRICTS_KEYS, MapFeature.RESTRICTS_VALUES, CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
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) -
bin/diff_yaml.py
common = k0s.intersection(k1s) return added, removed, common def drop_keys(res, k1, k2): if k2 in res[k1]: del res[k1][k2] def normalize_configmap(res): try: if res['kind'] != "ConfigMap": return res data = res['data'] # some times keys are yamls... # so parse them for k in data: try:
Python - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Mar 03 16:14:57 GMT 2021 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
} @SuppressWarnings("unchecked") final Object legacyReadResolve() { K[] keys = (K[]) this.keys; V[] values = (V[]) this.values; Builder<K, V> builder = makeBuilder(keys.length); for (int i = 0; i < keys.length; i++) { builder.put(keys[i], values[i]); } return builder.buildOrThrow(); } /**
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) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
int minIndex = 0; for (int i = 1; i < keys.size(); i++) { if (keys.get(i) < keys.get(minIndex)) { minIndex = i; } } Optional<BinaryNode> leftChild = createTreap(keys.subList(0, minIndex)); Optional<BinaryNode> rightChild = createTreap(keys.subList(minIndex + 1, keys.size())); return Optional.of(new BinaryNode(keys.get(minIndex), leftChild, rightChild)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 26 19:18:53 GMT 2019 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
super.put(entry); return this; } /** * Associates all of the given map's keys and values in the built map. Duplicate keys, according * to the comparator (which might be the keys' natural order), are not allowed, and will cause * {@link #build} to fail. * * @throws NullPointerException if any key or value in {@code map} is null */ @CanIgnoreReturnValue @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 50.3K bytes - Viewed (0)