- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for PrintIt (0.15 sec)
-
test/simassign.go
// Test simultaneous assignment. package main var a, b, c, d, e, f, g, h, i int func printit() { println(a, b, c, d, e, f, g, h, i) } func testit(permuteok bool) bool { if a+b+c+d+e+f+g+h+i != 45 { print("sum does not add to 45\n") printit() return false } return permuteok || a == 1 && b == 2 && c == 3 && d == 4 && e == 5 && f == 6 &&
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:48:19 UTC 2012 - 1.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskServiceInjectionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 7.9K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy
Set<File> classpath = project.configurations["myconf"].files BadTask() { println("creating bad task") } @TaskAction void printIt() { def outputFile = getOutputFile().get().asFile outputFile.text = "bad" } } abstract class GoodTask extends DefaultTask {
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
Set<File> classpath = project.configurations["myconf"].files BadTask() { println("creating bad task") } @TaskAction void printIt() { def outputFile = getOutputFile().get().asFile outputFile.text = "bad" } } abstract class GoodTask extends DefaultTask {
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/DeferredTaskCreationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 13 09:05:07 UTC 2021 - 9.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDeferredTaskDefinitionIntegrationTest.groovy
@Inject CustomTask(String message, int number) { this.message = message this.number = number } @TaskAction void printIt() { println("\$message \$number") } } """ def setup() { buildFile << ''' class SomeTask extends DefaultTask { SomeTask() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 14 01:36:23 UTC 2021 - 3.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy
@Inject CustomTask(String message, int number) { this.message = message this.number = number } @TaskAction void printIt() { println("\$message \$number") } } """ def "can define tasks using task keyword and identifier"() { buildFile << """ task nothing
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
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)