Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,920 for printsp (0.13 sec)

  1. platforms/documentation/docs/src/snippets/antMigration/fileDeps/groovy/src/main/java/org/example/app/HelloApp.java

    package org.example.app;
    
    /**
     * A simple Java application that prints "Hello, world!" to stdout.
     */
    public class HelloApp {
        /**
         * Application entry point.
         */
        public static void main(String[] args) {
            System.out.println("Hello, world!");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 272 bytes
    - Viewed (0)
  2. src/go/printer/example_test.go

    	// file set fset.
    	funcAST, fset := parseFunc("example_test.go", "printSelf")
    
    	// Print the function body into buffer buf.
    	// The file set is provided to the printer so that it knows
    	// about the original source formatting and can add additional
    	// line breaks where they were present in the source.
    	var buf bytes.Buffer
    	printer.Fprint(&buf, fset, funcAST.Body)
    
    	// Remove braces {} enclosing the function body, unindent,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:55:02 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/rich/RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy

        }
    
        def "configure project group header is printed red if configuration fails with additional failures"() {
            given:
            buildFile << """
                afterEvaluate {
                    println "executing after evaluate..."
                    throw new RuntimeException("After Evaluate Failure...")
                }
                throw new RuntimeException('Config Failure...')
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors.kt

    }
    
    
    internal
    fun printAccessorsFor(schema: TypedProjectSchema) {
        for (sourceFragment in accessorSourceFragmentsFor(schema)) {
            println()
            println(sourceFragment.replaceIndent("    "))
            println()
        }
    }
    
    
    private
    fun accessorSourceFragmentsFor(schema: TypedProjectSchema): Sequence<String> =
        accessorsFor(schema.map(::accessible)).flatMap { accessor ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_cache_output.txt

    # Building a trivial non-main package should run compiler the first time.
    go build -x -gcflags=-m lib.go
    stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # ... but not the second, even though it still prints the compiler output.
    go build -x -gcflags=-m lib.go
    ! stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # Building a trivial main package should run the compiler and linker the first time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. src/os/signal/example_unix_test.go

    	// This example simulates that by sending a SIGINT signal to itself.
    	if err := p.Signal(os.Interrupt); err != nil {
    		log.Fatal(err)
    	}
    
    	select {
    	case <-neverReady:
    		fmt.Println("ready")
    	case <-ctx.Done():
    		fmt.Println(ctx.Err()) // prints "context canceled"
    		stop()                 // stop receiving signal notifications as soon as possible.
    	}
    
    	// Output:
    	// context canceled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testKit/spockQuickstart/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy

            buildFile = new File(testProjectDir, 'build.gradle')
        }
    
        def "hello world task prints hello world"() {
            given:
            settingsFile << "rootProject.name = 'hello-world'"
            buildFile << """
                task helloWorld {
                    doLast {
                        println 'Hello world!'
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir

    // RUN: tf-opt %s -mlir-print-debuginfo -mlir-print-local-scope | tf-opt -mlir-print-debuginfo -mlir-print-op-generic -mlir-print-local-scope | FileCheck %s
    
    // This file should be written in the generic form with debug locations.
    // (that is, as if printed with `-mlir-print-debuginfo -mlir-print-op-generic`).
    // The test parses the file, prints it in the pretty form with debug locations,
    // then parses it back, then prints it in the generic form again.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 05 14:24:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolver/AbstractResolveTest.kt

    import org.jetbrains.kotlin.analysis.test.framework.project.structure.KtTestModule
    import org.jetbrains.kotlin.analysis.utils.printer.PrettyPrinter
    import org.jetbrains.kotlin.analysis.utils.printer.prettyPrint
    import org.jetbrains.kotlin.psi.KtElement
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.test.builders.TestConfigurationBuilder
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 19:03:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/disableTask/kotlin/build.gradle.kts

    val disableMe by tasks.registering {
        doLast {
            println("This should not be printed if the task is disabled.")
        }
    }
    
    disableMe {
        enabled = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 164 bytes
    - Viewed (0)
Back to top