- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 830 for Layout (0.04 sec)
-
fastapi/datastructures.py
If you are using a regular `def` function, you can use the `upload_file.file` attribute to access the raw standard Python file (blocking, not async), useful and needed for non-async code. Read more about it in the [FastAPI docs for Request Files](https://fastapi.tiangolo.com/tutorial/request-files/). ## Example ```python from typing import Annotated
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
} @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testCompute_presentNullToNull() { // The spec is somewhat ambiguous about this case, but the actual default implementation // in Map will remove a present null. initMapWithNullValue(); assertNull( "Map.compute(presentMappedToNull, functionReturningNull) should return null",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
@GwtCompatible @ElementTypesAreNonnullByDefault final class RelationshipTester<T> { static class ItemReporter { String reportItem(Item<?> item) { return item.toString(); } } /** * A word about using {@link Equivalence}, which automatically checks for {@code null} and * identical inputs: This sounds like it ought to be a problem here, since the goals of this class
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
} @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testCompute_presentNullToNull() { // The spec is somewhat ambiguous about this case, but the actual default implementation // in Map will remove a present null. initMapWithNullValue(); assertNull( "Map.compute(presentMappedToNull, functionReturningNull) should return null",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
* the more direct await* methods, but should be reliable enough in practice to avoid flakiness of * this test. (And if it isn't, we'd like to know about it first!) */ public void testAwaitFullGc() { final CountDownLatch finalizerRan = new CountDownLatch(1); final WeakReference<Object> ref = new WeakReference<Object>( new Object() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
return newBuilder().weak().build(); } @VisibleForTesting static final class InternerImpl<E> implements Interner<E> { // MapMaker is our friend, we know about this type @VisibleForTesting final MapMakerInternalMap<E, Dummy, ?, ?> map; private InternerImpl(MapMaker mapMaker) { this.map =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
*/ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. (We previously discussed this in the review of * ObjectArrays, which is the main caller of this method.) */ static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
*/ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. (We previously discussed this in the review of * ObjectArrays, which is the main caller of this method.) */ static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
try { Thread.sleep(10); } catch (InterruptedException e) { // ignore } metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need // to delete on exit } } else if (metadataFile.exists()) { try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
* under the License. */ package org.apache.maven.repository; import java.io.File; import java.util.EventObject; /** * TransferEvent is used to notify TransferListeners about progress * in transfer of resources form/to the repository * */ @Deprecated public class ArtifactTransferEvent extends EventObject { /** * A transfer was attempted, but has not yet commenced. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0)