- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 559 for Cases (0.02 sec)
-
docs/en/docs/advanced/using-request-directly.md
Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc. But there are specific cases where it's useful to get the `Request` object. ## Use the `Request` object directly { #use-the-request-object-directly } Let's imagine you want to get the client's IP address/host inside of your *path operation function*.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java
import com.google.common.base.Supplier; import java.util.LinkedHashMap; import java.util.Map; import java.util.TreeMap; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Test cases for {@link Tables#newCustomTable}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class NewCustomTableTest extends AbstractTableTest<Character> { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.1K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
# JSON Compatible Encoder { #json-compatible-encoder } There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a `dict`, `list`, etc). For example, if you need to store it in a database. For that, **FastAPI** provides a `jsonable_encoder()` function. ## Using the `jsonable_encoder` { #using-the-jsonable-encoder }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
assertFalse( "after removeAll(e), a collection should not contain e even " + "if it initially contained e more than once.", getList().contains(duplicate)); } // All other cases are covered by CollectionRemoveAllTester.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
import org.apache.maven.wagon.events.TransferListener; import org.apache.maven.wagon.providers.file.FileWagon; import org.apache.maven.wagon.resource.Resource; /** * Wagon used for test cases that annotate some methods. Note that this is not a thread-safe implementation. */ public class TestFileWagon extends FileWagon { private TestTransferListener testTransferListener; private boolean insideGet;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
} /** * Formats message out of problems: problems are sorted (in natural order of {@link BuilderProblem.Severity}) * and then a list is built. These exceptions are usually thrown in "fatal" cases (and usually prevent Maven * from starting), and these exceptions may end up very early on output. * * @param message the base message to enhanceRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Internal.java
* {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */ // We use this method only for cases in which we need to decompose to primitives. @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
{* ../../docs_src/query_params_str_validations/tutorial014_an_py310.py hl[10] *} ## Custom Validation { #custom-validation } There could be cases where you need to do some **custom validation** that can't be done with the parameters shown above. In those cases, you can use a **custom validator function** that is applied after the normal validation (e.g. after validating that the value is a `str`).Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 16.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TestUtil.java
assertThat(networkA.nodeOrder()).isEqualTo(networkB.nodeOrder()); assertThat(networkA.edgeOrder()).isEqualTo(networkB.edgeOrder()); assertThat(networkA).isEqualTo(networkB); } /** * In some cases our graph implementations return custom sets that define their own size() and * contains(). Verify that these sets are consistent with the elements of their iterator. */ @CanIgnoreReturnValue
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
package jcifs.smb1.smb1; /** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)