- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 376 for Cases (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/tutorial/path-operation-configuration.md
### Tags with Enums { #tags-with-enums } If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*. In these cases, it could make sense to store the tags in an `Enum`. **FastAPI** supports that the same way as with plain strings: {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
@Test @DisplayName("should compare versions correctly") void shouldCompareVersionsCorrectly() { // Based on the actual implementation, it only handles specific cases assertTrue(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", "4.1.0")); assertFalse(ModelVersionUtils.isVersionGreaterOrEqual("4.0.0", "4.1.0"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
assertEscaping(xmlEscaper, "\uFFFD", ch); } } // Test _all_ allowed characters (including surrogate values). for (char ch = 0x20; ch <= 0xFFFD; ch++) { // There are a small number of cases to consider, so just do it manually. if (ch == '&') { assertEscaping(xmlEscaper, "&", ch); } else if (ch == '<') { assertEscaping(xmlEscaper, "<", ch); } else if (ch == '>') {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 22:03:28 GMT 2025 - 4.8K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s
one: MOVL $0, R15 JMP two // Ensure 3-arg instructions get GOT-rewritten without errors. // See issue 58735. TEXT ·a13(SB), 0, $0-0 MULXQ runtime·writeBarrier(SB), AX, CX RET // Various special cases in the use-R15-after-global-access-when-dynlinking check. // See issue 58632. TEXT ·a14(SB), 0, $0-0 CMPL runtime·writeBarrier(SB), $0
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 20 19:05:03 GMT 2025 - 4.9K bytes - Click Count (0) -
tensorflow/api_template.__init__.py
interfaces into a single place. The interfaces themselves are located in sub-modules, as described below. Note that the file `__init__.py` in the TensorFlow source code tree is actually only a placeholder to enable test cases to run. The TensorFlow build replaces this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py) """
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Oct 02 22:16:02 GMT 2024 - 6.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo"); assertEquals(1, ex.runCount); } // Error cases public void testSameThreadExecutionException() { SettableFuture<String> f = SettableFuture.create(); Exception e = new IllegalArgumentException("foo not found"); MockCallback callback = new MockCallback(e);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.7K bytes - Click Count (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
private static boolean isProxyOfSameInterfaces(Object arg, Class<?> proxyClass) { return proxyClass.isInstance(arg) // Equal proxy instances should mostly be instance of proxyClass // Under some edge cases (such as the proxy of JDK types serialized and then deserialized) // the proxy type may not be the same. // We first check isProxyClass() so that the common case of comparing with non-proxy objects
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.1K bytes - Click Count (0) -
docs/en/docs/advanced/dataclasses.md
## Dataclasses in Nested Data Structures { #dataclasses-in-nested-data-structures } You can also combine `dataclasses` with other type annotations to make nested data structures. In some cases, you might still have to use Pydantic's version of `dataclasses`. For example, if you have errors with the automatically generated API documentation.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.2K bytes - Click Count (0) -
docs/en/docs/advanced/middleware.md
`app.add_middleware()` receives a middleware class as the first argument and any additional arguments to be passed to the middleware. ## Integrated middlewares { #integrated-middlewares } **FastAPI** includes several middlewares for common use cases, we'll see next how to use them. /// note | Technical Details For the next examples, you could also use `from starlette.middleware.something import SomethingMiddleware`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
// may change and break assumptions in this test [*]. This is not a bug in the implementation of // Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as // regards edge cases. // The Unicode point {@code 00df} is the lowercase form of sharp-S (ß), whose uppercase is "SS". assertEquals("PASSWORD", "pa\u00dfword".toUpperCase()); // [*]
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.5K bytes - Click Count (0)