Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for _Decorated (0.3 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

        }
    
        /**
         * Gradle decoration does not generate correct Kotlin metadata for decorated Kotlin types.
         * Because of that, decorated types do not appear as subtypes of the original types when inspected with Kotlin reflection.
         * Workaround: use Java reflection to determine the supertypes.
         * TODO: Either fix Kotlin metadata in decorated classes or introduce generic utilities
         */
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/plugins/PluginInstantiator.java

    import org.gradle.internal.reflect.Instantiator;
    
    import java.lang.reflect.Modifier;
    
    /**
     * An instantiator that uses the correct instantiation scheme depending on the plugin type.  This allows
     * us to use a decorated instantiator for types that need it (such as software type plugins) and continue
     * using the injected instantiator for types that do not need it (such as plugin types marked as final).
     */
    @NonNullApi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/configuration/BuildOperationScriptPluginTest.groovy

        def buildOperationScriptPlugin = new BuildOperationScriptPlugin(decoratedScriptPlugin, buildOperationRunner, userCodeApplicationContext)
        def target = "Test Target"
    
        def "delegates to decorated script plugin via build operation"() {
            when:
            buildOperationScriptPlugin.apply(target)
    
            then:
            2 * scriptSource.getResource() >> scriptSourceResource
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/test/groovy/org/gradle/internal/code/DefaultUserCodeApplicationContextTest.groovy

            def action = Mock(Action)
            def deferred = Mock(Action)
            def id1
            def decorated
    
            when:
            context.apply(source, action)
    
            then:
            1 * action.execute(_) >> { UserCodeApplicationId id ->
                id1 = id
                decorated = context.current().reapplyLater(deferred)
            }
            0 * deferred._
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 27 13:19:04 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/AbstractCallInterceptor.java

            MethodHandle spreader = original.asSpreader(Object[].class, original.type().parameterCount());
            MethodHandle decorated = MethodHandles.insertArguments(INTERCEPTOR, 0, this, spreader, flags, caller.lookupClass().getName());
            return decorated.asCollector(Object[].class, original.type().parameterCount()).asType(original.type());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                session = verbose;
            }
    
            for (RepositorySessionDecorator decorator : decorators) {
                RepositorySystemSession decorated = decorator.decorate(project, session);
                if (decorated != null) {
                    session = decorated;
                }
            }
    
            CollectRequest collect = new CollectRequest();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/DefaultCallSiteDecorator.java

             * </ul>
             *
             * Because of it doing so, our decorated call site is removed from the dynamic invocation code path, and we lose the ability to track dynamic call entry points. <p>
             *
             * To fix that, we store the optimized call site that the Groovy runtime created (and we delegate to it in subsequent calls), and we put a reference to our
             * decorated call site back into the call site array.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/MutableActionSet.java

     *
     * This type is not thread-safe.
     *
     * Consider using {@link org.gradle.internal.ImmutableActionSet} instead of this.
     *
     * Implements {@link InternalListener} as components themselves should be decorated if appropriate.
     */
    public class MutableActionSet<T> implements Action<T>, InternalListener {
        private ImmutableActionSet<T> actions = ImmutableActionSet.empty();
    
        public void add(Action<? super T> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourceParallelIntegrationTest.groovy

            buildFile << """
                // prevent windows resource and cpp compile tasks from running in parallel
                // this is because we don't want the cpp compile tasks to accidentally use 
                // the decorated tool provider we set up for testing the parallelism
                tasks.withType(CppCompile) { mustRunAfter tasks.withType(WindowsResourceCompile) }
            """
    
            when:
            succeeds("assemble", "parallelTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/python/composite.py

    class Composite(object):
      """A decorator to register a function as a composition for an TF operator.
    
      The argument to the decorator must be the name of a TF raw operator the
      function composites for. Decorated function must take positional arguments
      which corresponds to the input and attributes in OpDef of the TF operation.
      # TODO(fengliuai): more documents here.
    
      Example:
        @composite.Composite('AddN')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top