Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getExecuter (0.4 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationTest.java

        protected GradleExecuter inDirectory(File directory) {
            return getExecuter().inDirectory(directory);
        }
    
        @Deprecated
        protected GradleExecuter usingBuildFile(File file) {
            return getExecuter().usingBuildScript(file);
        }
    
        protected GradleExecuter usingProjectDir(File projectDir) {
            return getExecuter().usingProjectDirectory(projectDir);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:04:13 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/internal/AfterEvaluateHelper.java

         *
         * @param project The target project.
         * @param action The target action.
         */
        public static void afterEvaluateOrExecute(Project project, Action<Project> action) {
            if (project.getState().getExecuted()) {
                action.execute(project);
            } else {
                project.afterEvaluate(action);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/PluginServiceInjectionIntegrationTest.groovy

        }
    
        def "can inject service using getter method"() {
            buildFile """
                class CustomPlugin implements Plugin<Project> {
                    @Inject
                    WorkerExecutor getExecutor() { }
    
                    void apply(Project p) {
                        println(executor != null ? "got it" : "NOT IT")
    
                        // is generated but not extensible
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultUserClassFilePermissions.java

        }
    
        @Override
        public boolean getRead() {
            return read;
        }
    
        @Override
        public boolean getWrite() {
            return write;
        }
    
        @Override
        public boolean getExecute() {
            return execute;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheWorkerApiIntegrationTest.groovy

                abstract class UsesWorker extends DefaultTask {
                    @Input
                    abstract ${type} getValue()
    
                    @Inject
                    abstract WorkerExecutor getExecutor()
    
                    @TaskAction
                    def go() {
                        def flag = value
                        executor.noIsolation().submit(SomeWorkAction) {
                            value = flag
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java

         * returned value is equivalent to one of the three octal digits.
         */
        protected int toUnixNumeric() {
            return (getRead() ? 4 : 0) + (getWrite() ? 2 : 0) + (getExecute() ? 1 : 0);
        }
    
        protected static boolean isRead(int unixNumeric) {
            return (unixNumeric & 4) >> 2 == 1;
        }
    
        protected static boolean isRead(String unixSymbolic) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/file/UserClassFilePermissions.java

         * doesn't really make sense, it's more like a traverse permission; for example, a user
         * must have 'execute' access to the 'bin' directory in order to execute the 'ls' or 'cd' commands.
         */
        boolean getExecute();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FilteringProvider.java

        }
    
        protected void beforeRead(@SuppressWarnings("unused") EvaluationContext.ScopeContext context) {
            provider.getProducer().visitContentProducerTasks(producer -> {
                if (!producer.getState().getExecuted()) {
                    throw new InvalidUserCodeException(
                        String.format("Querying the filtered value of %s before %s has completed is not supported", provider, producer)
                    );
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TransformBackedProvider.java

        }
    
        protected void beforeRead(EvaluationContext.ScopeContext context) {
            provider.getProducer().visitContentProducerTasks(producer -> {
                if (!producer.getState().getExecuted()) {
                    throw new InvalidUserCodeException(
                        String.format("Querying the mapped value of %s before %s has completed is not supported", provider, producer)
                    );
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

      absl::StatusOr<std::unique_ptr<DeviceDescription>> DescriptionForDevice(
          int ordinal) const override;
      absl::StatusOr<StreamExecutor*> ExecutorForDevice(int ordinal) override;
      absl::StatusOr<StreamExecutor*> GetExecutor(
          const StreamExecutorConfig& config) override;
      absl::StatusOr<std::unique_ptr<StreamExecutor>> GetUncachedExecutor(
          const StreamExecutorConfig& config) override;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top