Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,583 for constructors (0.25 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java

        }
    
        public static class CachedConstructor {
            private final ClassGenerator.GeneratedConstructor<?> constructor;
            private final RuntimeException error;
    
            private CachedConstructor(ClassGenerator.GeneratedConstructor<?> constructor, RuntimeException error) {
                this.constructor = constructor;
                this.error = error;
            }
    
            public ClassGenerator.GeneratedConstructor<?> getConstructor() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:52:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * It may however contain more than one entry if module hierarchy was detected,
         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
         * parameter set to false. This is more efficient when only the module existence needs to
         * be tested, and module descriptors are not needed.</p>
         *
         * @see #getModuleNames()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MethodDescription.java

                    .takes(method.getGenericParameterTypes());
        }
    
        public static MethodDescription of(Constructor<?> constructor) {
            return name("<init>")
                    .owner(constructor.getDeclaringClass())
                    .takes(constructor.getGenericParameterTypes());
        }
    
        private String typeName(Type type) {
            if (type == null) {
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultRuleSourceValidationProblemCollector.java

        }
    
        @Override
        public void add(Method method, String role, String problem) {
            collector.add(method, role, problem);
        }
    
        @Override
        public void add(Constructor<?> constructor, String problem) {
            collector.add(constructor, problem);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tasks/taskConstructorArgs-onTaskContainer/groovy/build.gradle

    // tag::inject-task-constructor[]
    abstract class CustomTask extends DefaultTask {
        private final String message
        private final int number
    
        @Inject
        CustomTask(String message, int number) {
            this.message = message
            this.number = number
        }
    // end::inject-task-constructor[]
    
        @TaskAction
        void printIt() {
            println("$message $number")
        }
    // tag::inject-task-constructor[]
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 559 bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheException.kt

    
    /**
     * State might be corrupted and should be discarded.
     */
    @Contextual
    class ConfigurationCacheError internal constructor(
        error: String,
        cause: Throwable? = null
    ) : ConfigurationCacheThrowable, Exception(error, cause)
    
    
    @Contextual
    sealed class ConfigurationCacheException protected constructor(
        message: () -> String,
        causes: Iterable<Throwable>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tasks/taskConstructorArgs-onTaskContainer/kotlin/build.gradle.kts

    // tag::inject-task-constructor[]
    abstract class CustomTask @Inject constructor(
        private val message: String,
        private val number: Int
    ) : DefaultTask()
    // end::inject-task-constructor[]
    
    {
        @TaskAction
        fun run() =
            println("$message $number")
    }
    
    // tag::on-task-container[]
    tasks.register<CustomTask>("myTask", "hello", 42)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 374 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

      let summary = "Optimize tf_saved_model.global_tensor's.";
    
      let constructor = "mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass()";
    }
    
    def RemoveVariablesInSessionInitializerPass : Pass<"tf-saved-model-remove-vars-in-session-initializer", "ModuleOp"> {
      let summary = "Remove variables in tf saved model's session initializer.";
    
      let constructor = "mlir::tf_saved_model::CreateRemoveVariablesInSessionInitializerPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskServiceInjectionIntegrationTest.groovy

        def "can construct a task in Kotlin with @Inject services constructor arg"() {
            given:
            settingsFile << "rootProject.buildFileName = 'build.gradle.kts'"
            file("build.gradle.kts") << """
                import org.gradle.api.*
                import org.gradle.api.tasks.*
                import org.gradle.workers.WorkerExecutor
    
                open class CustomTask @Inject constructor(private val executor: WorkerExecutor) : DefaultTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 7.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ConstructorSelector.java

        /**
         * Allows this selector to veto the parameters to use with the given constructor.
         */
        void vetoParameters(ClassGenerator.GeneratedConstructor<?> constructor, Object[] parameters);
    
        /**
         * Locates the constructor that should be used to create instances of the given type with the given params.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top