- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,369 for Put (0.02 sec)
-
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) -
internal/jwt/parser.go
return jwtgo.NewValidationError("no key was provided.", jwtgo.ValidationErrorUnverifiable) } bufp := base64BufPool.Get().(*[]byte) defer base64BufPool.Put(bufp) tokenBuf := base64BufPool.Get().(*[]byte) defer base64BufPool.Put(tokenBuf) token := *tokenBuf // Copy token to buffer, truncate to length. token = token[:copy(token[:base64BufferSize], tokenStr)]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalCause.java
return false; } }, /** * The entry itself was not actually removed, but its value was replaced by the user. This can * result from the user invoking {@link Cache#put}, {@link LoadingCache#refresh}, {@link Map#put}, * {@link Map#putAll}, {@link ConcurrentMap#replace(Object, Object)}, or {@link * ConcurrentMap#replace(Object, Object, Object)}. */ REPLACED { @Override boolean wasEvicted() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 2.7K bytes - Viewed (0)