Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for endlines (0.2 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    				h := stdlibPackageHeading(pkg, lastBlock(doc).Pos().EndLine)
    				doc.Blocks = append(doc.Blocks, h)
    			}
    			prevPkg = pkg
    			// Put a blank line between the current and new blocks, so that the end
    			// of a file acts as a blank line.
    			lastLine := lastBlock(doc).Pos().EndLine
    			delta := lastLine + 2 - newdoc.Blocks[0].Pos().StartLine
    			for _, b := range newdoc.Blocks {
    				addLines(b, delta)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            def configDetails = configDetailsFile.text.readLines()
    
            def actualRoot = findLines(configDetails, 'root').first()
            def expectedRoot = "[${root.type}][id:${root.id}][mv:${root.moduleVersionId}][reason:${root.reason}]".toString()
            assert actualRoot.startsWith(expectedRoot)
    
            def actualComponents = findLines(configDetails, 'component')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy

            then:
            outputs.stdOut.readLines() == ['message']
            outputs.stdErr == ''
        }
    
        def rendersErrorLogEventsToStdErr() {
            when:
            renderer.attachSystemOutAndErr()
            renderer.onOutput(event('message', LogLevel.ERROR))
    
            then:
            outputs.stdOut == ''
            outputs.stdErr.readLines() == ['message']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. tests/integration/security/fuzz/fuzz_test.go

    		t.Logf("dotdotpwn fuzz test completed for %s", server)
    
    		var errLines []string
    		for _, line := range strings.Split(stdout, "\n") {
    			if strings.Contains(line, "<- VULNERABLE") {
    				if server == tomcatServer && ignoreTomcat(t, line, dotdotPwnIgnoreTomcat) {
    					continue
    				}
    				errLines = append(errLines, line)
    			}
    		}
    		if len(errLines) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/fmt/scan.go

    // returns the number of items successfully parsed.
    // Newlines in the input must match newlines in the format.
    func Sscanf(str string, format string, a ...any) (n int, err error) {
    	return Fscanf((*stringReader)(&str), format, a...)
    }
    
    // Fscan scans text read from r, storing successive space-separated
    // values into successive arguments. Newlines count as space. It
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  6. src/encoding/csv/reader.go

    			return records, nil
    		}
    		if err != nil {
    			return nil, err
    		}
    		records = append(records, record)
    	}
    }
    
    // readLine reads the next line (with the trailing endline).
    // If EOF is hit without a trailing endline, it will be omitted.
    // If some bytes were read, then the error is never [io.EOF].
    // The result is only valid until the next call to readLine.
    func (r *Reader) readLine() ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. 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)
  8. android/guava/src/com/google/common/io/Files.java

       * @throws IOException if an I/O error occurs
       */
      public static List<String> readLines(File file, Charset charset) throws IOException {
        // don't use asCharSource(file, charset).readLines() because that returns
        // an immutable list, which would change the behavior of this method
        return asCharSource(file, charset)
            .readLines(
                new LineProcessor<List<String>>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

                def fullMessages = collectTestFailFullMessages(name, displayName)
                if (fullMessages.isEmpty()) {
                    return false
                }
                def messages = fullMessages.collect { it.readLines().first() }
                if (messages.size() != messageMatchers.length) {
                    return false
                }
                for (int i = 0; i < messageMatchers.length; i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       * @throws IOException if an I/O error occurs
       */
      public static List<String> readLines(File file, Charset charset) throws IOException {
        // don't use asCharSource(file, charset).readLines() because that returns
        // an immutable list, which would change the behavior of this method
        return asCharSource(file, charset)
            .readLines(
                new LineProcessor<List<String>>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top