- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 1,351 for putA (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
public void testEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Map<K, Collection<V>> expected = new HashMap<>(); expected.put(k0(), newHashSet(v0(), v3())); expected.put(k1(), newHashSet(v0())); new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals(); } @CollectionSize.Require(SEVERAL) public void testEntrySetEquals() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
map.put(key, properties.getProperty(key)); } return map; } @Nonnull public static Properties toProperties(Map<String, String> properties) { requireNonNull(properties, "properties"); Properties map = new Properties(); for (String key : properties.keySet()) { map.put(key, properties.get(key)); } return map;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 13 18:30:29 UTC 2025 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.get(rowKey, columnKey); } @Override public @Nullable V put(R rowKey, C columnKey, V value) { assertTrue(Thread.holdsLock(mutex)); return delegate.put(rowKey, columnKey, value); } @Override public void putAll(Table<? extends R, ? extends C, ? extends V> table) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
docs/de/docs/index.md
* Swagger UI. * ReDoc. --- Um auf das vorherige Codebeispiel zurückzukommen, **FastAPI** wird: * Validieren, dass es eine `item_id` im Pfad für `GET`- und `PUT`-Requests gibt. * Validieren, ob die `item_id` vom Typ `int` für `GET`- und `PUT`-Requests ist. * Falls nicht, sieht der Client einen hilfreichen, klaren Fehler.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 09:39:53 UTC 2025 - 25.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
metrics.put("totalRotations", totalKeyRotations.get()); metrics.put("lastRotationTime", lastKeyRotationTime.get()); metrics.put("bytesEncryptedSinceLastRotation", bytesEncrypted.get()); metrics.put("timeSinceLastRotation", System.currentTimeMillis() - encryptionStartTime); metrics.put("rotationBytesLimit", keyRotationBytesLimit); metrics.put("rotationTimeLimit", keyRotationTimeLimit);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (!repos.containsKey(repo.getId())) { repos.put(repo.getId(), repo); } } for (ArtifactRepository repo : pomRepositories) { if (!repos.containsKey(repo.getId())) { repos.put(repo.getId(), repo); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 25 12:03:50 UTC 2025 - 30.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
} private void writeLastUpdated(File touchfile, String key, String error) { HashMap<String, String> update = new HashMap<>(); update.put(key, Long.toString(System.currentTimeMillis())); update.put(key + ERROR_KEY_SUFFIX, error); // error==null => remove mapping trackingFileManager.update(touchfile, update); } Date readLastUpdated(File touchfile, String key) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.pollFirstEntry(); } @Override public @Nullable Entry<K, V> pollLastEntry() { return delegate.pollLastEntry(); } @Override public @Nullable V put(K key, V value) { return delegate.put(checkValid(key), value); } @Override public void putAll(Map<? extends K, ? extends V> map) { for (K key : map.keySet()) { checkValid(key); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
internal/handlers/forwarder.go
} return f } type bufPool struct { sz int pool bpool.Pool[*[]byte] } func (b *bufPool) Put(buf []byte) { if cap(buf) < b.sz || cap(buf) > b.sz*2 { // Buffer too small or will likely leak memory after being expanded. // Drop it. return } b.pool.Put(&buf) } func (b *bufPool) Get() []byte { bufp := b.pool.Get() if bufp == nil || cap(*bufp) < b.sz {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.7K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_an_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str | None = None, item: Item | None = None, ): results = {"item_id": item_id}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 579 bytes - Viewed (0)