Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 196 for scope_ (0.12 sec)

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

     * limitations under the License.
     */
    
    package org.gradle.internal.service.scopes;
    
    /**
     * @see ServiceScope
     */
    public interface Scope {
    
        /**
         * These services are reused across builds in the same process.
         *
         * <p>Global services are visible to all other services.</p>
         */
        interface Global extends Scope {}
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         *       fun foo() { // scope5  FirLocalScope - enum entry: Local
         *
         *         // Distance to scopes from <element> in the order from the closest:
         *         //   scope5 -> scope4 -> scope6 -> scope3 -> scope1 -> scope2
         *         <element>
         *
         *       }
         *       companion object {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/TestScopeRenderer.kt

            fullyPrintScope: (KaScopeKind) -> Boolean,
        ) {
            for (scopeWithKind in scopeContext.scopes) {
                renderForTests(scopeWithKind.scope, scopeWithKind.kind, printer, printPretty, fullyPrintScope)
                printer.appendLine()
            }
        }
    
        private fun KaSession.renderForTests(
            scope: KaScope,
            scopeKind: KaScopeKind,
            printer: PrettyPrinter,
            printPretty: Boolean,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt

                } else {
                    scope.exportClassLoader
                }
            } else {
                this.classLoader
            }
            val newType = Class.forName(name, false, classLoader)
            classes.putInstance(id, newType)
            return newType
        }
    
        private
        fun ReadContext.readScope(): ClassLoaderScope {
            val id = readSmallInt()
            val scope = scopes.getInstance(id)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/initialization/BuildEventConsumer.java

    package org.gradle.initialization;
    
    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A consumer for build events provided by the build requester. This can be used to forward events to the build requester.
     */
    @ServiceScope(Scope.BuildSession.class)
    public interface BuildEventConsumer extends Dispatch<Object> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:55:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/DefaultBeanStateWriterLookup.kt

    import org.gradle.internal.serialize.graph.BeanStateWriter
    import org.gradle.internal.serialize.graph.BeanStateWriterLookup
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import java.util.concurrent.ConcurrentHashMap
    
    
    @ServiceScope(Scope.BuildTree::class)
    class DefaultBeanStateWriterLookup : BeanStateWriterLookup {
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top