Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,471 for scope_ (0.14 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/ServiceScope.java

     * Services are visible to other services in the same scope and descendent scopes.
     * Services are not visible to services in ancestor scopes.
     * <p>
     * When a service is defined in multiple scopes, the highest scope determines the visibility.
     * The additional instances of the service in lower scopes "override" the instance from the parent
     * for their scope and its children.
     *
     * @see Scope
     */
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeSubstitution.kt

    import org.jetbrains.kotlin.analysis.api.fir.scopes.KaFirDelegatingNamesAwareScope
    import org.jetbrains.kotlin.analysis.api.fir.scopes.KaFirDelegatingTypeScope
    import org.jetbrains.kotlin.analysis.api.impl.base.scopes.KaCompositeScope
    import org.jetbrains.kotlin.analysis.api.impl.base.scopes.KaCompositeTypeScope
    import org.jetbrains.kotlin.analysis.api.scopes.KaScope
    import org.jetbrains.kotlin.analysis.api.scopes.KaTypeScope
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java

        private final Class<? extends Scope> scope;
        private final boolean strict;
    
        public ServiceScopeValidator(Class<? extends Scope> scope, boolean strict) {
            this.scope = scope;
            this.strict = strict;
        }
    
        @Override
        public List<Class<? extends Annotation>> getAnnotations() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceRegistryBuilderTest.groovy

    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import spock.lang.Specification
    
    class ServiceRegistryBuilderTest extends Specification {
    
        def "creates a scope-validating service registry when setting a scope"() {
            def scopedBuilder = ServiceRegistryBuilder.builder()
                .scope(Scope.Build)
    
            when:
            scopedBuilder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

         */
        public fun KaScopeContext.getCompositeScope(filter: (KaScopeKind) -> Boolean = { true }): KaScope = withValidityAssertion {
            val subScopes = scopes.filter { filter(it.kind) }.map { it.scope }
            subScopes.asCompositeScope()
        }
    }
    
    public typealias KtScopeProviderMixIn = KaScopeProviderMixIn
    
    public class KaScopeContext(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. fastapi/security/oauth2.py

            data = {}
            data["scopes"] = []
            for scope in form_data.scopes:
                data["scopes"].append(scope)
            if form_data.client_id:
                data["client_id"] = form_data.client_id
            if form_data.client_secret:
                data["client_secret"] = form_data.client_secret
            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

        public Injector bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) {
            return bindScope(scopeAnnotation, () -> scope);
        }
    
        public Injector bindScope(Class<? extends Annotation> scopeAnnotation, Supplier<Scope> scope) {
            if (scopes.put(scopeAnnotation, scope) != null) {
                throw new DIException(
                        "Cannot rebind scope annotation class to a different implementation: " + scopeAnnotation);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/EventScope.java

     * Events are not visible to listeners in descendent scopes.
     *
     * <p>This annotation is used primarily to indicate to developers the scopes where this listener are available. There is also
     * some validation when a broadcaster or listener of this type is used in an incorrect scope.
     *
     * @see Scope
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface EventScope {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassEncoder.kt

            } else {
                val newId = scopes.putInstance(scope)
                writeSmallInt(newId)
                if (scope.parent == null) {
                    writeBoolean(false)
                } else {
                    writeBoolean(true)
                    writeScope(scope.parent)
                }
                writeString(scope.name)
                if (scope.origin is ClassLoaderScopeOrigin.Script) {
                    writeBoolean(true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistry.java

                            servicesForHomeDir.clear();
                        }
                    }
                    ServiceRegistry userHomeServices = ServiceRegistryBuilder.builder()
                        .scope(Scope.UserHome.class)
                        .displayName("services for Gradle user home dir " + gradleUserHomeDir)
                        .parent(sharedServices)
                        .provider(new ServiceRegistrationProvider() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top