- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 477 for declares (0.13 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
assertEquals(boolean.class, m1.getReturnType()); assertEquals(0, m1.getParameterCount()); assertEquals(0, m1.getExceptionTypes().length); // overlaps(SmbResourceLocator): boolean, declares CIFSException Method m2 = clazz.getMethod("overlaps", SmbResourceLocator.class); assertEquals(boolean.class, m2.getReturnType()); assertEquals(1, m2.getParameterCount());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/fr/docs/python-types.md
{*../../docs_src/python_types/tutorial004.py hl[2] *} ## Déclarer des types Vous venez de voir là où les types sont généralement déclarés : dans les paramètres de fonctions. C'est aussi ici que vous les utiliseriez avec **FastAPI**. ### Types simples Vous pouvez déclarer tous les types de Python, pas seulement `str`. Comme par exemple : * `int` * `float`Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 10K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
&& method.getName().startsWith("test") /* * When we block access to AtomicReferenceFieldUpdater, we can't even reflect on * AbstractFuture, since it declares methods that use that type in their signatures. */ && !method.getName().equals("testFutures_nullChecks")) { suite.addTest( TestSuite.createTest(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
/// This parameter doesn't create that endpoint / *path operation*, but declares that the URL `/token` will be the one that the client should use to get the token. That information is used in OpenAPI, and then in the interactive API documentation systems. We will soon also create the actual path operation.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
## `response_model` Parameter { #response-model-parameter } There are some cases where you need or want to return some data that is not exactly what the type declares. For example, you could want to **return a dictionary** or a database object, but **declare it as a Pydantic model**. This way the Pydantic model would do all the data documentation, validation, etc. for the object that you returned (e.g. a dictionary or database object).Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
```Python q: Annotated[str | None, Query(min_length=3)] = None ``` So, when you need to declare a value as required while using `Query`, you can simply not declare a default value: {* ../../docs_src/query_params_str_validations/tutorial006_an_py39.py hl[9] *} ### Required, can be `None` { #required-can-be-none }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 16.7K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
Because each SQLModel model is also a Pydantic model, you can use it in the same **type annotations** that you could use Pydantic models. For example, if you declare a parameter of type `Hero`, it will be read from the **JSON body**. The same way, you can declare it as the function's **return type**, and then the shape of the data will show up in the automatic API docs UI.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 05:06:56 UTC 2025 - 15.8K bytes - Viewed (0) -
doc/asm.html
... DATA divtab<>+0x3c(SB)/4, $0x81828384 GLOBL divtab<>(SB), RODATA, $64 GLOBL runtime·tlsoffset(SB), NOPTR, $4 </pre> <p> declares and initializes <code>divtab<></code>, a read-only 64-byte table of 4-byte integer values, and declares <code>runtime·tlsoffset</code>, a 4-byte, implicitly zeroed variable that contains no pointers. </p> <p> There may be one or two arguments to the directives.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:09:46 UTC 2025 - 36.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
assertNotNull(e.getCause()); assertTrue(e.getCause() instanceof IllegalArgumentException); } } /** * Test exception in method that declares throws */ public void test_exceptionInMethod() { try { methodThatThrowsException(); fail("Should have thrown CrawlerSystemException");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* declaration of a method with the same name and formal parameters as {@link Object#equals} that * is not public and boolean-returning, or that declares any type parameters, would be rejected at * compile-time. */ private static boolean isEquals(Member member) { if (!(member instanceof Method)) { return false; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0)