- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,036 for puts (0.04 sec)
-
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
checkRecording(); equivalentExpectationsBuilder.put(a, b, true); } void expectDistinct(Object a, Object b) { checkRecording(); equivalentExpectationsBuilder.put(a, b, false); } void expectHash(Object object, int hash) { checkRecording(); hashExpectationsBuilder.put(object, hash); } void replay() { checkRecording();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
checkRecording(); equivalentExpectationsBuilder.put(a, b, true); } void expectDistinct(Object a, Object b) { checkRecording(); equivalentExpectationsBuilder.put(a, b, false); } void expectHash(Object object, int hash) { checkRecording(); hashExpectationsBuilder.put(object, hash); } void replay() { checkRecording();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8.3K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
} ) def test_put_invalid_header(client: TestClient): response = client.put("/items/foo", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_put(client: TestClient): response = client.put( "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"} )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertFalse(map.containsKey(one)); assertFalse(map.containsValue(one)); assertNull(map.putIfAbsent(two, three)); assertSame(three, map.remove(two)); assertNull(map.put(three, one)); assertNull(map.put(one, two)); assertThat(map).containsEntry(three, one); assertThat(map).containsEntry(one, two); // TODO(cgruber): Confirm with fry@ that this is a reasonable substitute.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertFalse(map.containsKey(one)); assertFalse(map.containsValue(one)); assertNull(map.putIfAbsent(two, three)); assertSame(three, map.remove(two)); assertNull(map.put(three, one)); assertNull(map.put(one, two)); assertThat(map).containsEntry(three, one); assertThat(map).containsEntry(one, two); // TODO(cgruber): Confirm with fry@ that this is a reasonable substitute.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
assertEquals("", j.join(ImmutableMap.of())); assertEquals(":", j.join(ImmutableMap.of("", ""))); Map<@Nullable String, @Nullable String> mapWithNulls = Maps.newLinkedHashMap(); mapWithNulls.put("a", null); mapWithNulls.put(null, "b"); assertThrows(NullPointerException.class, () -> j.join(mapWithNulls)); assertEquals("a:00;00:b", j.useForNull("00").join(mapWithNulls));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/ForwardingCache.java
*/ public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) { return delegate().getAllPresent(keys); } /** @since 11.0 */ @Override public void put(K key, V value) { delegate().put(key, value); } /** @since 12.0 */ @Override public void putAll(Map<? extends K, ? extends V> m) { delegate().putAll(m); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 3.6K bytes - Viewed (0) -
docs_src/body/tutorial004_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, q: str | None = None): result = {"item_id": item_id, **item.dict()} if q: result.update({"q": q})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Jan 09 14:28:58 UTC 2024 - 408 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial005_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: int, item: Annotated[Item, Body(embed=True)]): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 409 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial002.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 413 bytes - Viewed (0)