Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 840 for endings (0.15 sec)

  1. .gitattributes

    # Treat all files in the Go repo as binary, with no git magic updating
    # line endings. This produces predictable results in different environments.
    #
    # Windows users contributing to Go will need to use a modern version
    # of git and editors capable of LF line endings.
    #
    # Windows .bat files are known to have multiple bugs when run with LF
    # endings, and so they are checked in with CRLF endings, with a test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 08 15:31:43 UTC 2020
    - 639 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/.gitattributes

    # Treat all files in the repo as binary, with no git magic updating
    # line endings. This produces predictable results in different environments.
    #
    # Windows users contributing to Go will need to use a modern version
    # of git and editors capable of LF line endings.
    #
    # Windows .bat files are known to have multiple bugs when run with LF
    # endings. So if they are checked in with CRLF endings, there should
    # be a test like the one in test/winbatch.go in the go repository.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 545 bytes
    - Viewed (0)
  3. src/cmd/gofmt/testdata/crlf.golden

    /*
    Source containing CR/LF line endings.
    The gofmt'ed output must only have LF
    line endings.
    Test case for issue 3961.
    */
    package main
    
    func main() {
    	// line comment
    	println("hello, world!") // another line comment
    	println()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 230 bytes
    - Viewed (0)
  4. src/cmd/gofmt/testdata/crlf.input

    L1:/*
    L2:Source containing CR/LF line endings.
    L3:The gofmt'ed output must only have LF
    L4:line endings.
    L5:Test case for issue 3961.
    L6:*/
    L7:package main
    L8:
    L9:func main() {
    L10:	// line comment
    L11:	println("hello, world!") // another line comment
    L12:	println()
    L13:}
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 243 bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskInputFilePropertyBuilder.java

        /**
         * Normalize line endings in text files during up-to-date checks and build cache key calculations. This setting will have no effect on binary files.
         *
         * <p>
         * Line ending normalization is only supported with ASCII encoding and its supersets (i.e.
         * UTF-8, ISO-8859-1, etc). Other encodings (e.g. UTF-16) will be treated as binary files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 13 17:35:59 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/work/NormalizeLineEndings.java

    /**
     * Attached to an input property to specify that line endings should be normalized
     * when snapshotting inputs. Two files with the same contents but different line endings
     * will be considered equivalent.
     *
     * Line ending normalization is only supported with ASCII encoding and its supersets (i.e.
     * UTF-8, ISO-8859-1, etc).  Other encodings (e.g. UTF-16) will be treated as binary files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 13 17:35:59 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         * @param expectedOutput The expected log message, with line endings normalized to a newline character.
         */
        ExecutionResult assertOutputContains(String expectedOutput);
    
        /**
         * Asserts that the given content includes the given log message.
         *
         * @param content The content to check
         * @param expectedOutput The expected log message, with line endings normalized to a newline character.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

        abstract String getStatusForReusedOutput()
    
        abstract void execute(String... tasks)
    
        abstract void cleanWorkspace()
    
        def "input files properties are sensitive to line endings by default (#api, #pathsensitivity)"() {
            createTaskWithNormalization(InputFiles, LineEndingSensitivity.DEFAULT, pathsensitivity, api)
    
            buildFile << """
                taskWithInputs {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasher.java

    import java.util.Optional;
    
    /**
     * Hashes input streams while normalizing line endings in text files.  Normalization involves treating '\r' and '\r\n' characters
     * as '\n' while calculating the hash.  If a file is detected to be binary (i.e. if the file contains ASCII control characters) then the hashing
     * returns an empty {@link Optional} object.  Non-ASCII encodings (e.g. UTF-16) are treated as binary files.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileLineEndingSensitivityIntegrationTest.groovy

        def setup() {
            buildFile << """
                plugins {
                    id 'java'
                }
            """
        }
    
        def "java compile is not sensitive to line endings during up-to-date checks"() {
            writeJavaSourceWithUnixLineEndings()
    
            when:
            succeeds compileTask
    
            then:
            executedAndNotSkipped compileTask
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top