- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,409 for key2 (0.02 sec)
-
guava-testlib/src/com/google/common/collect/testing/Helpers.java
return copyToSet(asList(elements)); } // Would use Maps.immutableEntry public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> mapEntry( K key, V value) { return singletonMap(key, value).entrySet().iterator().next(); } private static boolean isEmpty(Iterable<?> iterable) { return iterable instanceof Collection ? ((Collection<?>) iterable).isEmpty()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
for (K element : insertionOrder) { entries.add(mapEntry(element, v)); } List<K> keys = new ArrayList<>(); for (Entry<K, V> entry : mapGenerator.order(entries)) { keys.add(entry.getKey()); } return keys; } @Override public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() { return mapGenerator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k1(), v0())); Multiset<K> keys = multimap().keys(); assertEquals(2, keys.count(k0())); assertEquals(1, keys.count(k1())); assertEquals(3, keys.size()); assertContainsAllOf(keys, k0(), k1()); assertContainsAllOf( keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// Set configuration key and value using coordination service. // If coordination service is enabled, the key-value will be stored on the // leader and become accessible to all workers in the cluster. // Currently, a config key can only be set with one value, and subsequently // setting the same key will lead to errors. // // Note that the key-values are only expected to be used for cluster
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k1(), v0())); Multiset<K> keys = multimap().keys(); assertEquals(2, keys.count(k0())); assertEquals(1, keys.count(k1())); assertEquals(3, keys.size()); assertContainsAllOf(keys, k0(), k1()); assertContainsAllOf( keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
/** The key of the message: </ul> */ public static final String ERRORS_FOOTER = "{errors.footer}"; /** The key of the message: <li><i class="fa fa-exclamation-circle"></i> */ public static final String ERRORS_PREFIX = "{errors.prefix}"; /** The key of the message: </li> */ public static final String ERRORS_SUFFIX = "{errors.suffix}"; /** The key of the message: {item} must be false. */
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 119.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java
/** The key of the message: Created by */ public static final String LABELS_CREATED_BY = "{labels.createdBy}"; /** The key of the message: Created Time */ public static final String LABELS_CREATED_TIME = "{labels.createdTime}"; /** The key of the message: Depth */ public static final String LABELS_DEPTH = "{labels.depth}"; /** The key of the message: Excluded Paths For Crawling */
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Mar 22 11:58:34 UTC 2024 - 146.4K bytes - Viewed (0) -
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)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K 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)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
this.keys = keys; this.values = values; } @Override public SampleElements<Entry<K, V>> samples() { return SampleElements.mapEntries(keys, values); } @Override public Set<Entry<K, V>> create(Object... elements) { Entry<K, V>[] entries = createArray(elements.length); arraycopy(elements, 0, entries, 0, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0)