- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,369 for printIt (0.21 sec)
-
testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy
@Internal Set<File> classpath = project.configurations["myconf"].files BadTask() { println("creating bad task") } @TaskAction void printIt() { def outputFile = getOutputFile().get().asFile outputFile.text = "bad" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/ParallelStaleOutputIntegrationTest.groovy
@Internal Set<File> classpath = project.configurations["myconf"].files BadTask() { println("creating bad task") } @TaskAction void printIt() { def outputFile = getOutputFile().get().asFile outputFile.text = "bad" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/taskConstructorArgs-onTaskContainer/groovy/build.gradle
@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[] } // end::inject-task-constructor[] // tag::on-task-container[] tasks.register('myTask', CustomTask, 'hello', 42)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 559 bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 14:43:53 UTC 2024 - 21.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt
package main /* int meaningOfLife() { return 42; } */ import "C" func main() { println(C.meaningOfLife()) } -- nonMainPackageUsesExplicitCgo/main.go -- package p /* int meaningOfLife() { return 42; } */ import "C" func PrintIt() { println(C.meaningOfLife())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 18:16:01 UTC 2023 - 6.3K bytes - Viewed (0) -
src/go/printer/printer.go
commentNewline bool // true if the comment group contains newlines } type printer struct { // Configuration (does not change after initialization) Config fset *token.FileSet // Current state output []byte // raw printer result indent int // current indentation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
p.print(newline) for i, c := range list { p.printCommClause(c, i+1 == len(list)) p.print(newline) } } p.print(_Rbrace) } func (p *printer) printCaseClause(c *CaseClause, braces bool) { if c.Cases != nil { p.print(_Case, blank, c.Cases) } else { p.print(_Default) } p.print(_Colon) if len(c.Body) > 0 { p.print(newline, indent) p.printStmtList(c.Body, braces)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/go/ast/print.go
p.print(x.MapIndex(key)) p.printf("\n") } p.indent-- } p.printf("}") case reflect.Pointer: p.printf("*") // type-checked ASTs may contain cycles - use ptrmap // to keep track of objects that have been printed // already and print the respective line number instead ptr := x.Interface() if line, exists := p.ptrmap[ptr]; exists { p.printf("(obj @ %d)", line) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 5.9K bytes - Viewed (0) -
test/live.go
printnl() } printnl() } printnl() } // issue 8097: mishandling of x = x during return. func f39() (x []int) { x = []int{1} printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+$" return x } func f39a() (x []int) { x = []int{1} printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+$" return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18K bytes - Viewed (0) -
src/go/doc/comment/print.go
package comment import ( "bytes" "fmt" "strings" ) // A Printer is a doc comment printer. // The fields in the struct can be filled in before calling // any of the printing methods // in order to customize the details of the printing process. type Printer struct { // HeadingLevel is the nesting level used for // HTML and Markdown headings.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.6K bytes - Viewed (0)