- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 463 for declares (0.75 seconds)
-
docs/en/docs/tutorial/dependencies/sub-dependencies.md
{* ../../docs_src/dependencies/tutorial005_an_py310.py hl[13] *} Let's focus on the parameters declared: * Even though this function is a dependency ("dependable") itself, it also declares another dependency (it "depends" on something else). * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`. * It also declares an optional `last_query` cookie, as a `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 3.7K bytes - Click Count (0) -
android/guava/src/com/google/common/net/MediaType.java
* font/woff} to be the correct media type for WOFF, but this may be necessary in certain * situations for compatibility. * * @since 17.0 */ public static final MediaType WOFF = createConstant(APPLICATION_TYPE, "font-woff"); /** * <a href="https://tools.ietf.org/html/rfc8081">RFC 8081</a> declares {@link #FONT_WOFF2
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
assertViolations(result31, 0, 0, 3); assertContains( result31.getWarnings().get(0), "'dependencies.dependency.scope' for test:a:jar declares usage of deprecated 'system' scope"); assertContains( result31.getWarnings().get(1),Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
Each "scope" is just a string (without spaces). They are normally used to declare specific security permissions, for example: * `users:read` or `users:write` are common examples. * `instagram_basic` is used by Facebook / Instagram. * `https://www.googleapis.com/auth/drive` is used by Google. /// info In OAuth2 a "scope" is just a string that declares a specific permission required.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for the {@link AllocInfo} interface. * Since {@code AllocInfo} only declares getters, the tests focus on * verifying that implementations honour the contract. */ @ExtendWith(MockitoExtension.class) public class AllocInfoTest { @Mock AllocInfo mockAllocInfo; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
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());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
assertEquals("SessionSetupHandler", clazz.getSimpleName(), "Simple name must match source"); } @Test @DisplayName("Interface declares no methods or fields") void testNoMembers() { // Assert assertEquals(0, SessionSetupHandler.class.getDeclaredMethods().length, "No methods expected");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt
} interface ModuleTargetRuntimes { /** * Declare that this Gradle module runs as part of the wrapper or as part of a client process. * Client processes include the Tooling API client or the CLI client. */ val client: Property<Boolean> /** * Declare that this Gradle module runs as part of the Gradle daemon. */ val daemon: Property<Boolean>Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
* <p>The declaration methods must be public. */ @AndroidIncompatible // only used by android incompatible tests. @NullUnmarked abstract class SubtypeTester implements Cloneable { /** Annotates a public method that declares subtype assertion. */ @RequiredModifiers(modifier = Modifier.PUBLIC) @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Keep @interface TestSubtype {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
/// {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *} ## Declare scopes in *path operations* and dependencies { #declare-scopes-in-path-operations-and-dependencies } Now we declare that the *path operation* for `/users/me/items/` requires the scope `items`. For this, we import and use `Security` from `fastapi`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 13.4K bytes - Click Count (0)