Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for printTask (0.13 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/FunctionalSourceSetIntegrationTest.groovy

            class Rules extends RuleSource {
                @Model
                void fss(FunctionalSourceSet sources) {
                }
    
                @Mutate void printTask(ModelMap<Task> tasks, FunctionalSourceSet sources) {
                    tasks.create("printTask") {
                        doLast {
                            println "name: " + sources.name
                            println "display-name: " + sources.displayName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

            buildFile '''
                abstract class PrintTask extends DefaultTask {
                    @OutputFile
                    abstract RegularFileProperty getOutput()
    
                    @TaskAction
                    def action() {
                        output.get().asFile.text = "Hello"
                    }
                }
    
                def printTask = tasks.register('print', PrintTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/LanguageSourceSetIntegrationTest.groovy

            """.stripIndent()
        }
    
        private String addPrintSourceDirTask() {
            """
                class PrintSourceDirectoryRules extends RuleSource {
                    @Mutate void printTask(ModelMap<Task> tasks, LanguageSourceSet lss) {
                        tasks.create("printSourceDirs") {
                          doLast {
                            println ("source dirs: \${lss.source.getSrcDirs()}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy

                class MyPlugin {
                    static class Rules extends RuleSource {
                        @Mutate void addPrintTask(ModelMap<Task> tasks, List<String> strings) {
                            tasks.create("printMessage", PrintTask) {
                                it.message = strings
                            }
                        }
    
                        @Model String foo() {
                            "foo"
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/print.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    class PrintPass : public impl::PrintPassBase<PrintPass> {
     public:
      explicit PrintPass(raw_ostream* os = nullptr);
      PrintPass(const PrintPass& other);
      void runOnOperation() override;
    
     private:
      llvm::sys::SmartMutex<true> mutex_;
      raw_ostream* os_;
    };
    
    PrintPass::PrintPass(raw_ostream* os) {
      if (os) {
        os_ = os;
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 23:15:17 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/go/types/gotype.go

    	parserMode parser.Mode
    )
    
    func initParserMode() {
    	if *allErrors {
    		parserMode |= parser.AllErrors
    	}
    	if *printAST {
    		sequential = true
    	}
    	if *printTrace {
    		parserMode |= parser.Trace
    		sequential = true
    	}
    	if *parseComments && (*printAST || *printTrace) {
    		parserMode |= parser.ParseComments
    	}
    }
    
    const usageString = `usage: gotype [flags] [path ...]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	return fmt.Sprintf("%*s%sBuiltinType: %s", indent, "", field, bt.Name)
    }
    
    func (bt *BuiltinType) prec() precedence {
    	return precPrimary
    }
    
    // printBase is common print code for types that are printed with a
    // simple suffix.
    func printBase(ps *printState, qual, base AST) {
    	ps.inner = append(ps.inner, qual)
    	ps.print(base)
    	if len(ps.inner) > 0 {
    		qual.(innerPrinter).printInner(ps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        that it matches that of the subsequent TPUExecute{,AndUpdateVariables}
        op.
      }];
      let constructor = "TFTPU::CreateColocateTPUCopyWithDynamicShapePass()";
    }
    
    def PrintPass : Pass<"tf-print", "ModuleOp"> {
      let summary = "Prints the current module.";
      let description = [{
        This prints the current module (by default, to stderr). The module is
        otherwise piped through without changes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top