Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for hasTask (0.14 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/execution/TaskExecutionGraph.java

         */
        boolean hasTask(String path);
    
        /**
         * <p>Determines whether the given task is included in the execution plan.</p>
         *
         * @param task the task
         * @return true if the given task is included in the execution plan.
         * @throws IllegalStateException When this graph has not been populated.
         */
        boolean hasTask(Task task);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 20:29:51 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/rich/RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy

        def "tasks with no actions are not displayed"() {
            given:
            buildFile << "task log"
    
            when:
            succeeds('log')
    
            then:
            !result.groupedOutput.hasTask(':log')
        }
    
        def "group header is printed red if task failed"() {
            given:
            buildFile << """
                task failing { doFirst {
                    logger.quiet 'hello'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java

            buildScopeListenerRegistrationListener.onBuildScopeListenerRegistration(
                listener,
                registrationPoint,
                this
            );
        }
    
        @Override
        public boolean hasTask(Task task) {
            return executionPlan.getContents().getTasks().contains(task);
        }
    
        @Nullable
        @Override
        public Task findTask(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

                """
            }
    
            when:
            executer.withConsole(consoleType)
            succeeds(TEST_TASK_NAME)
    
            then:
            if (result.groupedOutput.hasTask(TEST_TASK_PATH)) {
                def taskOutput = getTaskOutput(result).readLines().findAll { !it.isBlank() }.join('\n')
                assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

                withArguments('-x', excludedTask)
            }
    
            tasksNotInGraph.each { task ->
                buildFile << """
                    gradle.taskGraph.whenReady { graph ->
                        assert !graph.hasTask('$task')
                    }
                """
            }
    
            expect:
            2.times {
                succeeds 'a'
                result.assertTasksExecutedInOrder(expectedExecutedTasks as Object[])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/plugins/MavenPublishPlugin.java

                    project.getGradle().getTaskGraph().whenReady(graph -> {
                        if (graph.hasTask(publishTask)) {
                            validateCredentialsSetup(project, publishTask);
                        }
                    });
                });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. platforms/software/signing/src/main/java/org/gradle/plugins/signing/SigningExtension.java

         * Truth. For example:
         *
         * <pre>
         * signing {
         *   required = { gradle.taskGraph.hasTask("publish") }
         * }
         * </pre>
         *
         * Because the task graph is not known until Gradle starts executing, we must use defer the decision. We can do this via using a {@link Closure} (which is a {@link Callable}).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

      (CreateXlaDotV2OpFromTfMatMulOp
        $input, $weight, $input_zp, $weight_zp, $matmul, $transpose_a, $transpose_b),
      [(IsInt8ElementType $input),
       (IsInt8ElementType $weight),
       (HasRank $input),
       (HasRank $weight),
       (HasRankOf<0> $input_zp),
       (HasRankOf<0> $weight_zp),
       (IsInt32ElementType $matmul)],
      [], (addBenefit 10)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testshared/testdata/depBase/dep.go

    	}
    	if os.Stdout == nil {
    		panic("os.Stdout is nil")
    	}
    
    	Initialized = true
    }
    
    var Initialized bool
    
    var SlicePtr interface{} = &[]int{}
    
    var V int = 1
    
    var HasMask []string = []string{"hi"}
    
    type HasProg struct {
    	array [1024]*byte
    }
    
    type Dep struct {
    	X int
    }
    
    func (d *Dep) Method() int {
    	// This code below causes various go.itab.* symbols to be generated in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

        size *= std::max(kDefaultCheapCost, dim);
      }
    
      return size;
    }
    
    int64_t InferTensorSize(const CostContext& context, mlir::TensorType type) {
      if (type.hasRank()) return GetRankedTensorSize(type);
      return context.default_unranked_tensor_size;
    }
    
    // The cost function for tf.LookupTableFindV2.
    int64_t InferLookupTableFindV2Cost(const CostContext& context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top