- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 594 for setKey (0.04 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) { for (Artifact artifact : artifacts) { if (artifact.isSnapshot()) { Object key = LocalSnapshotMetadata.getKey(artifact); LocalSnapshotMetadata snapshotMetadata = snapshots.get(key); if (snapshotMetadata == null) { snapshotMetadata = new LocalSnapshotMetadata(artifact, timestamp);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
public void testPutDuplicateValue() { List<Entry<K, V>> entries = copyToList(multimap().entries()); for (Entry<K, V> entry : entries) { resetContainer(); K k = entry.getKey(); V v = entry.getValue(); Set<V> values = multimap().get(k); Set<V> expectedValues = copyToSet(values); assertFalse(multimap().put(k, v)); assertEquals(expectedValues, values);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
count.incrementAndGet(); lastNotification = notification; } public int getCount() { return count.get(); } public K getLastEvictedKey() { return lastNotification.getKey(); } public V getLastEvictedValue() { return lastNotification.getValue(); } public RemovalNotification<K, V> getLastNotification() { return lastNotification; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/de/docs/advanced/response-headers.md
**FastAPI** bietet dieselben `starlette.responses` auch via `fastapi.responses` an, als Annehmlichkeit für Sie, den Entwickler. Die meisten verfügbaren Responses kommen aber direkt von Starlette. Und da die `Response` häufig zum Setzen von Headern und Cookies verwendet wird, stellt **FastAPI** diese auch unter `fastapi.Response` bereit. /// ## Benutzerdefinierte Header { #custom-headers }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 2.6K bytes - Click Count (2) -
guava/src/com/google/common/collect/DenseImmutableTable.java
} abstract ImmutableMap<K, Integer> keyToIndex(); // True if getValue never returns null. private boolean isFull() { return size == keyToIndex().size(); } K getKey(int index) { return keyToIndex().keySet().asList().get(index); } abstract @Nullable V getValue(int keyIndex); @Override ImmutableSet<K> createKeySet() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
for (RemovalNotification<String, String> notification : listener) { removalNotifications.put(notification.getKey(), notification.getValue()); assertWithMessage("Unexpected key/value pair passed to removalListener") .that(notification.getValue()) .isEqualTo(notification.getKey()); } // All of the seed values should have been visible, so we should have gotten removal
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
for (RemovalNotification<String, String> notification : listener) { removalNotifications.put(notification.getKey(), notification.getValue()); assertWithMessage("Unexpected key/value pair passed to removalListener") .that(notification.getValue()) .isEqualTo(notification.getKey()); } // All of the seed values should have been visible, so we should have gotten removal
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); for (Entry<String, String> entry : entries) { builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } @J2ktIncompatible @AndroidIncompatible // test-suite builders public static class ImmutableListMultimapCopyOfEntriesGenerator
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 26.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
List<ConflictResolver> conflictResolvers) throws ArtifactResolutionException { fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node); Object key = node.getKey(); // TODO Does this check need to happen here? Had to add the same call // below when we iterate on child nodes -- will that suffice? if (managedVersions.containsKey(key)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 36.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
} 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(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.5K bytes - Click Count (0)